Messages in this thread | | | Date | Wed, 30 Mar 2016 13:04:19 -0400 | From | Tejun Heo <> | Subject | Re: [RFC PATCH 0/4] cgroup aware workqueues |
| |
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
| |