Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1370192

Re: [RFC PATCH 0/4] cgroup aware workqueues

From "Michael Rapoport" <RAPOPORT@il.ibm.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 0/4] cgroup aware workqueues
Date 2016-04-03 12:50 +0200
Message-ID <rjNLr-23C-13@gated-at.bofh.it> (permalink)
References <rjNLr-23C-15@gated-at.bofh.it> <riPPj-IR-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Bandan,

>  Bandan Das <bsd@redhat.com> wrote on 03/31/2016 09:45:43 PM:
> >
> >> > > opportunity for optimization, at least for some workloads...
> >> > 
> >> > What sort of optimizations are we talking about?
> >> 
> >> Well, if we take Evlis (1) as for the theoretical base, there could 
be 
> >> benefit of doing I/O scheduling inside the vhost.
> >
> > Yeah, if that actually is beneficial, take full control of the
> > kworker thread.
> 
> Well, even if it actually is beneficial (which I am sure it is), it 
seems a
> little impractical to block current improvements based on a future 
prospect
> that (as far as I know), no one is working on ?

I'm not suggesting to block current improvements based on a future 
prospect. But, unfortunately, there's regression rather than improvement 
with the results you've posted.

And, I thought you are working on comparing different approaches to vhost 
threading, like workqueues and shared vhost thread (1) ;-)
Anyway, I'm working on this in a background, and, frankly, I cannot say I 
have a clear vision of the best route.
 
> There have been discussions about this in the past and iirc, most people 
agree
> about not going the byos* route. But I am still all for such a proposal 
and if
> it's good/clean enough, I think we can definitely tear down what we have 
and
> throw it away! The I/O scheduling part is intrusive enough that even the 
current
> code base has to be changed quite a bit.

The "byos" route seems more promising with respect to possible performance 
gains, but it will definitely add complexity, and I cannot say if the 
added complexity will be worth performance improvements.

Meanwhile, I'd suggest we better understand what causes regression with 
your current patches and maybe then we'll be smarter to get to the right 
direction. :)
 
> *byos = bring your own scheduling ;)
> 
> > Thanks.

--
Sincerely yours,
Mike.

[1] https://lwn.net/Articles/650857/ 

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH 0/4] cgroup aware workqueues Bandan Das <bsd@redhat.com> - 2016-03-18 23:20 +0100
  Re: [RFC PATCH 0/4] cgroup aware workqueues Tejun Heo <tj@kernel.org> - 2016-03-20 19:20 +0100
    Re: [RFC PATCH 0/4] cgroup aware workqueues Bandan Das <bsd@redhat.com> - 2016-03-21 18:40 +0100
  Re: [RFC PATCH 0/4] cgroup aware workqueues "Michael Rapoport" <RAPOPORT@il.ibm.com> - 2016-03-21 09:00 +0100
  Re: [RFC PATCH 0/4] cgroup aware workqueues Christian Borntraeger <borntraeger@de.ibm.com> - 2016-03-21 09:30 +0100
    Re: [RFC PATCH 0/4] cgroup aware workqueues Bandan Das <bsd@redhat.com> - 2016-03-21 19:00 +0100
  Re: [RFC PATCH 0/4] cgroup aware workqueues Bandan Das <bsd@redhat.com> - 2016-03-21 18:50 +0100
    vhost threading model (was: Re: [RFC PATCH 0/4] cgroup aware workqueues) "Michael Rapoport" <RAPOPORT@il.ibm.com> - 2016-03-22 08:20 +0100
    Re: vhost threading model Bandan Das <bsd@redhat.com> - 2016-03-22 20:10 +0100
      Re: vhost threading model "Michael Rapoport" <RAPOPORT@il.ibm.com> - 2016-03-23 12:20 +0100
  Re: [RFC PATCH 0/4] cgroup aware workqueues Tejun Heo <tj@kernel.org> - 2016-03-30 19:10 +0200
    Re: [RFC PATCH 0/4] cgroup aware workqueues "Michael Rapoport" <RAPOPORT@il.ibm.com> - 2016-03-31 08:20 +0200
      Re: [RFC PATCH 0/4] cgroup aware workqueues Tejun Heo <tj@kernel.org> - 2016-03-31 19:20 +0200
        Re: [RFC PATCH 0/4] cgroup aware workqueues Bandan Das <bsd@redhat.com> - 2016-03-31 20:50 +0200
          Re: [RFC PATCH 0/4] cgroup aware workqueues "Michael Rapoport" <RAPOPORT@il.ibm.com> - 2016-04-03 12:50 +0200
          Re: [RFC PATCH 0/4] cgroup aware workqueues Bandan Das <bsd@redhat.com> - 2016-04-04 19:10 +0200
        Re: [RFC PATCH 0/4] cgroup aware workqueues "Michael Rapoport" <RAPOPORT@il.ibm.com> - 2016-04-03 12:50 +0200

csiph-web