public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* TCP Zero Copy for mmapped files
@ 2003-01-03 23:34 A.D.F.
  2003-01-04  0:41 ` J.A. Magallon
  0 siblings, 1 reply; 4+ messages in thread
From: A.D.F. @ 2003-01-03 23:34 UTC (permalink / raw)
  To: linux-kernel

FreeBSD 5.0 should already have a zero copy for mmapped files and
IMHO it would be worth to have it in Linux 2.6 too.

It would also be very nice to be able to enable zero copy for mmapped files
by a config option.

Many applications use mapped memory to serve lots of small and
medium sized files (4 - 1024 KB) or even a few big files
(think at web servers, i.e. Apache 2, etc.);  this is done to better
serve multiple / parallel downloads being done on the same files.

Using or not using mmap() is a userland / application choice that depends
on lots of factors / strategies that are outside kernel scope.

Besides this there seems to be some work in progress to speed up
mmap() calls, thus why not doing all the work right ?

-- 
Nick Name:      A.D.F.
E-Mail:         adefacc@tin.it
E-Mail-Font:    Courier New (plain text, no html)
--

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-01-04 12:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-03 23:34 TCP Zero Copy for mmapped files A.D.F.
2003-01-04  0:41 ` J.A. Magallon
2003-01-04  1:53   ` dean gaudet
2003-01-04 13:10   ` A.D.F.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox