Messages in this thread | | | Date | Mon, 21 Dec 2009 12:33:01 +0100 | From | Andi Kleen <> | Subject | Re: workqueue thing |
| |
>> Also the nice thing about dynamically sizing the thread pool >> is that if something bad (error condition that takes long) happens >> in one work queue for a specific subsystem there's still a chance >> to make process with other operations in the same subsystem. > > yup > same is true for hitting some form of contention; just make an extra thread > so that the rest can continue.
If you dynamically increase you can/should as well dynamically shrink too. And with some more gimmicks you're nearly at what Tejun is proposing
Not sure what you're arguing against?
-Andi >
-- ak@linux.intel.com -- Speaking for myself only.
| |