Re: TCP Zero Copy for mmapped files

J.A. Magallon (jamagallon@able.es)
Sat, 4 Jan 2003 01:41:53 +0100


On 2003.01.04 A.D.F. wrote:
> 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.
>

Apache2 uses mmap() to open files ??
So then there is a reason to include it in my patchset...

-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.1 (Cooker) for i586
Linux 2.4.21-pre2-jam2 (gcc 3.2.1 (Mandrake Linux 9.1 3.2.1-2mdk))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/