Re: [RFC v2 0/5] cgroup-aware unbound workqueues

2019-06-13 Thread Daniel Jordan
On Tue, Jun 11, 2019 at 12:55:49PM -0700, Tejun Heo wrote: > > > CPU doesn't have a backcharging mechanism yet and depending on the use > > > case, we *might* need to put kthreads in different cgroups. However, > > > such use cases might not be that abundant and there may be gotaches > > > which

Re: [RFC v2 0/5] cgroup-aware unbound workqueues

2019-06-11 Thread Tejun Heo
Hello, Daniel. On Wed, Jun 05, 2019 at 11:32:29AM -0400, Daniel Jordan wrote: > Sure, quoting from the last ktask post: > > A single CPU can spend an excessive amount of time in the kernel operating > on large amounts of data. Often these situations arise during > initialization- > and

Re: [RFC v2 0/5] cgroup-aware unbound workqueues

2019-06-11 Thread Tejun Heo
Hello, On Thu, Jun 06, 2019 at 09:15:26AM +0300, Mike Rapoport wrote: > > Can you please go into more details on the use cases? > > If I remember correctly, the original Bandan's work was about using > workqueues instead of kthreads in vhost. For vhosts, I think it might be better to stick

Re: [RFC v2 0/5] cgroup-aware unbound workqueues

2019-06-06 Thread Mike Rapoport
Hi Tejun, On Wed, Jun 05, 2019 at 06:53:19AM -0700, Tejun Heo wrote: > Hello, Daniel. > > On Wed, Jun 05, 2019 at 09:36:45AM -0400, Daniel Jordan wrote: > > My use case for this work is kernel multithreading, the series formerly > > known > > as ktask[2] that I'm now trying to combine with

Re: [RFC v2 0/5] cgroup-aware unbound workqueues

2019-06-05 Thread Daniel Jordan
Hi Tejun, On Wed, Jun 05, 2019 at 06:53:19AM -0700, Tejun Heo wrote: > On Wed, Jun 05, 2019 at 09:36:45AM -0400, Daniel Jordan wrote: > > My use case for this work is kernel multithreading, the series formerly > > known > > as ktask[2] that I'm now trying to combine with padata according to

Re: [RFC v2 0/5] cgroup-aware unbound workqueues

2019-06-05 Thread Tejun Heo
Hello, Daniel. On Wed, Jun 05, 2019 at 09:36:45AM -0400, Daniel Jordan wrote: > My use case for this work is kernel multithreading, the series formerly known > as ktask[2] that I'm now trying to combine with padata according to feedback > from the last post. Helper threads in a multithreaded job

[RFC v2 0/5] cgroup-aware unbound workqueues

2019-06-05 Thread Daniel Jordan
Hi, This series adds cgroup awareness to unbound workqueues. This is the second version since Bandan Das's post from a few years ago[1]. The design is completely new, but the code is still in development and I'm posting early to get feedback on the design. Is this a good direction? Thanks,