httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: Proposal: Get rid of most accept mutex calls on hybrid server.
Date Mon, 10 May 1999 17:20:43 GMT


On Mon, 10 May 1999, Tony Finch wrote:

> Dean Gaudet <dgaudet@arctic.org> wrote:
> >
> >Actually, I suspect that we don't really want to interprocess lock at all
> >in the multithreaded server.  We use non-blocking listening sockets, and
> >pay the wake-all cost for the small number of processes (we're talking
> >like 8 processes, right?) 
> 
> If there's a select collision isn't *every* process woken up (not
> just the httpds)?

I'm not sure what you mean...  if a kernel had only one global sleeping
queue, yeah... but then there'd be no way for us to avoid thundering herd,
since everything would be awakened at all times.  But kernels typically
have a lot of sleeping queues... including one on every socket.

Dean


Mime
View raw message