Re: [RFC PATCHSET] workqueue: implement concurrency managedworkqueue
From: Jens Axboe
Date: Thu Oct 01 2009 - 05:05:39 EST
On Thu, Oct 01 2009, Ingo Molnar wrote:
>
> * Jens Axboe <jens.axboe@xxxxxxxxxx> wrote:
>
> > On Thu, Oct 01 2009, Ingo Molnar wrote:
> > > My main worry is that in practice workqueues arent all that performance
> > > critical - so we are shooting to optimize something that doesnt
> > > necessarily use all the potential goodness inherent in this approach.
> >
> > Well, the main problem with the current code is that per-cpu
> > workqueues are way abused. I don't look at this patchset from a
> > performance point of view, but rather a way to limit this huge number
> > of idle and pointless threads. [...]
>
> I do look at it as a potentially (and primarily) big performance feature
> - if only it was utilized in a place where the performance aspect
> mattered.
That just makes it win-win-win :-)
> Sure, the memory savings are nice too.
As is the unified approach to async work handling, compared with what we
have now (which is several flavors of workqueues, async work, slow work,
etc).
--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/