cvs commit: src/sys/kern kern_subr.c uipc_mbuf.c uipc_syscalls.c src/sys/sys uio.h

Alexey Dokuchaev danfe at nsu.ru
Sun Feb 1 00:50:30 PST 2004


On Sat, Jan 31, 2004 at 11:56:44PM -0800, Mike Silbersack wrote:
> silby       2004/01/31 23:56:44 PST
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/kern             kern_subr.c uipc_mbuf.c uipc_syscalls.c 
>     sys/sys              uio.h 
>   Log:
>   Rewrite sendfile's header support so that headers are now sent in the first
>   packet along with data, instead of in their own packet.  When serving files
>   of size (packetsize - headersize) or smaller, this will result in one less
>   packet crossing the network.  Quick testing with thttpd and http_load has
>   shown a noticeable performance improvement in this case (350 vs 330 fetches
>   per second.)

Good news to us thttpd users out there. :-)
Thanks!

./danfe



More information about the cvs-all mailing list