On Thu, 2016-07-21 at 20:24 -0700, Gaurav Poothia wrote:
(top posting.. naught naughty;)
> 1.What is the function that translates from various nice levels to
> weight i.e. nice(0) == 1024 how to translate for other levels
If you rummage around in kernel/sched, you'll find this table:
const int
On Thu, 2016-07-21 at 20:24 -0700, Gaurav Poothia wrote:
(top posting.. naught naughty;)
> 1.What is the function that translates from various nice levels to
> weight i.e. nice(0) == 1024 how to translate for other levels
If you rummage around in kernel/sched, you'll find this table:
const int
Thanks Mike.
So if I understand you right - tasks on interior nodes get their
weight from task's nice level and not from some cpu.share setting.
Two followups:
1.What is the function that translates from various nice levels to
weight i.e. nice(0) == 1024 how to translate for other levels
2.How
Thanks Mike.
So if I understand you right - tasks on interior nodes get their
weight from task's nice level and not from some cpu.share setting.
Two followups:
1.What is the function that translates from various nice levels to
weight i.e. nice(0) == 1024 how to translate for other levels
2.How
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
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
+Ingo, Peter
On Thu, Jul 21, 2016 at 12:03 PM, Gaurav Poothia
wrote:
> Hi,
> The cgroup "cpu" subsystem's weight calculation using "cpu shares" is
> fairly clear when all tasks are attached to the leaf cgroups in "cpu"
> subsystem.
> For example in this cgroup
+Ingo, Peter
On Thu, Jul 21, 2016 at 12:03 PM, Gaurav Poothia
wrote:
> Hi,
> The cgroup "cpu" subsystem's weight calculation using "cpu shares" is
> fairly clear when all tasks are attached to the leaf cgroups in "cpu"
> subsystem.
> For example in this cgroup hierarchy with tasks A.B,C and D
Hi,
The cgroup "cpu" subsystem's weight calculation using "cpu shares" is
fairly clear when all tasks are attached to the leaf cgroups in "cpu"
subsystem.
For example in this cgroup hierarchy with tasks A.B,C and D and
associated cpu shares:
ROOT
|
+ -Group1(3072)
||
| +- A(2048)
||
|
Hi,
The cgroup "cpu" subsystem's weight calculation using "cpu shares" is
fairly clear when all tasks are attached to the leaf cgroups in "cpu"
subsystem.
For example in this cgroup hierarchy with tasks A.B,C and D and
associated cpu shares:
ROOT
|
+ -Group1(3072)
||
| +- A(2048)
||
|
10 matches
Mail list logo