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

Mike Silbersack silby at silby.com
Sun Feb 1 12:02:17 PST 2004


On Sun, 1 Feb 2004, Alexey Dokuchaev wrote:

> >   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

Heh, that reminds me...  With the same test parameters, Apache2 gets a
whopping 220 fetches per second.  Go thttpd! :)

(Hopefully once we enable threading support in apache2 it will go
faster... hopefully.)

Mike "Silby" Silbersack


More information about the cvs-src mailing list