Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1448323
| From | Mike Galbraith <umgwanakikbuti@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: Question about group scheduler cpu shares |
| Date | 2016-07-22 05:00 +0200 |
| Message-ID | <rXyQW-88M-29@gated-at.bofh.it> (permalink) |
| References | <rXrw5-3fM-21@gated-at.bofh.it> <rXxi9-78Y-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 2016-07-21 at 18:18 -0700, Gaurav Poothia wrote: > > ROOT > > > > > + -Group1(3072) > > > | > > > +- A(2048) > > > | > > > +- B(1024) > > > > > +- Group2(2048) > > | > > +-C(1024) > > | > > +-D(1024) > > > > Say I add a task E to Group1's task list (note that is an interior aka > > non-leaf node) > > How does the CPU split change between A, B and E. > > AFAICT there is no cgroup cpu subsystem knob to weight tasks on an > > interior node against the tasks in that node's children A, B and E are all entities with a weight, so just plug E into your graph. Its weight is determined by nice level, which is what cgroups should have done instead of inventing shares IMHO. 1024 == nice(0). -Mike
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Question about group scheduler cpu shares Gaurav Poothia <gaurav.poothia@gmail.com> - 2016-07-21 21:10 +0200
Re: Question about group scheduler cpu shares Gaurav Poothia <gaurav.poothia@gmail.com> - 2016-07-22 03:20 +0200
Re: Question about group scheduler cpu shares Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-07-22 05:00 +0200
Re: Question about group scheduler cpu shares Gaurav Poothia <gaurav.poothia@gmail.com> - 2016-07-22 05:30 +0200
Re: Question about group scheduler cpu shares Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-07-22 06:20 +0200
csiph-web