httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Date Thu, 01 Feb 2001 15:01:33 GMT

> I suspect the answer is 'it depends on the OS'.  Apache 1.3 does not mmap files under
a certain
> threshold size (a few thousand bytes if I recall).  Sendfile on Windows is very efficient
> Windows standards :-) even for very small files, especially when you can do the 'reuse
the accept
> socket' trick. Worth investigating on Unix for sure.

Again, it isn't the sendfile call that will hurt us.  If that is all you
measure, you will miss the problem.  The problem is the small packet that
is going to be sent.  That is not a fast operation on any platform.


Ryan Bloom               
406 29th St.
San Francisco, CA 94131

View raw message