httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: [PATCH] worker MPM: reuse transaction pools
Date Tue, 28 Aug 2001 22:45:20 GMT
On Tue, Aug 28, 2001 at 01:01:11PM -0700, Ryan Bloom wrote:
> On Tuesday 28 August 2001 12:17, Greg Stein wrote:
> > On Mon, Aug 27, 2001 at 05:09:01PM -0700, Aaron Bannert wrote:
> > > This patch implements a resource pool of context pools -- a queue of
>...
> > IOW, why should this complexity be added? Just how much does it improve
> > things, and are you testing on a single or multi processor machine?
> 
> Creating a pool requires locking a mutex.  The more we scale, the worse we
> perform.

And manipulating the pool queue also requires a mutex, right? You can't just
let people arbitrarily hit that queue. Locking is needed.

Thus... why have the complexity of a queue? I don't see where the saving
happens. We still have locks, we still have pool clearing, etc.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message