httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
Subject Re: Apache 2.0 ideas
Date Tue, 03 Nov 1998 18:32:11 GMT
On Tue, 3 Nov 1998, Dean Gaudet wrote:

> 
> 
> On Tue, 3 Nov 1998, Jim Gettys wrote:
> 
> > No, from userland, the fastest server will be one which caches (small)
> > objects in memory, and then does a single send() of the cached memory.
> > 
> > File opens are expensive.  Save sendfile() for big objects, where the
> > open overhead isn't significant.
> 
> We can argue about it, but the best thing would be to measure ;) 
> 
> open()s aren't as expensive under linux as they are elsewhere... and
> sendfile() isn't "thread safe" in the sense that you can use a single fd
> with multiple threads (so caching open fds isn't worth it).  Linus keeps

Why not?

If the Linux one isn't, then it is broken and should be fixed AFAIK.


Mime
View raw message