httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <>
Subject Re: worker mpm: can we optimize away the listener thread?
Date Thu, 29 Nov 2001 17:41:45 GMT
Ryan Bloom wrote:

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

Weren't the thread management problems with the threaded MPM
related specifically to shutdown?  If it's just shutdown that's
a problem, it may be possible to solve it.


View raw message