Re: [RFC PATCH 0/4] cgroup aware workqueues
From: Tejun Heo
Date: Wed Mar 30 2016 - 13:04:26 EST
Hello,
On Mon, Mar 21, 2016 at 09:58:39AM +0200, Michael Rapoport wrote:
> I did some performance evaluation of different threading models in vhost,
> and in most tests replacing vhost kthread's with workqueues degrades the
> performance. Moreover, having thread management inside the vhost provides
There really shouldn't be any difference when using unbound
workqueues. workqueue becomes a convenience thing which manages
worker pools and there shouldn't be any difference between workqueue
workers and kthreads in terms of behavior.
> opportunity for optimization, at least for some workloads...
What sort of optimizations are we talking about?
Thanks.
--
tejun