httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Bloom <>
Subject Re: worker mpm: can we optimize away the listener thread?
Date Thu, 29 Nov 2001 17:31:01 GMT
On Thursday 29 November 2001 09:20 am, Brian Pane wrote:
>  From a performance perspective, the two limitations that I see in
> the current worker implementation are:
>   * We're basically guaranteed to have to do an extra context switch on
>     each connection, in order to pass the connection from the listener
>     thread to a worker thread.
>   * The passing of a pool from listener to worker makes it very tricky
>     to optimize away all the mutexes within the pools.
> So...please forgive me if this has already been considered and dismissed
> a long time ago, but...why can't the listener and worker be the same
> thread?

That's where we were before worker, with the threaded MPM.  There are
thread management issues with that model, and it doesn't scale as well.


Ryan Bloom
Covalent Technologies

View raw message