httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <>
Subject Re: [PATCH] remove some mutex locks in the worker MPM
Date Wed, 01 Jan 2003 22:13:50 GMT
The patch looks good at first glance. Have you done any testing
to see how much it improves performance (on UP and MP machines)
and if it has any effect when APR is build with generic atomics?


On Tuesday, December 31, 2002, at 05:30  PM, Brian Pane wrote:

> I'm working on replacing some mutex locks with atomic-compare-and-swap
> based algorithms in the worker MPM, in order to get better concurrency
> and lower overhead.
> Here's the first change: take the pool recycling code out of the
> mutex-protected critical region in the "queue_info" code.  Comments
> welcome...
> Next on my list is the code that synchronizes the idle worker count.
> I think I can eliminate the need to lock a mutex except in the
> special case where all the workers are busy.

View raw message