* Cgroups RT scheduling
@ 2009-09-09 15:49 Rolando Martins
[not found] ` <b6a2d2e20909090849m16a9f452h353d5a75ee61c625-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Rolando Martins @ 2009-09-09 15:49 UTC (permalink / raw)
To: containers-qjLDD68F18O7TbgM5vRIOg
Hi,
I would like to confirm the following:
cpuset.sched_load_balance doesn't work with RT, right?
You cannot have tasks for sub-domain 2 to utilize bandwidth of
sub-domain 3, right?
__1__
/ \
2 3
(50% rt) (50% rt )
For my application domain;) it would be interesting to have
rt_runtime_ns as a min. of allocated rt and not a max.
Ex. If an application of domain 2 needs to go up to 100% and domain 3
is idle, then it would be cool to let it utilize the full bandwidth.
(we also could have a hard upper limit in each sub-domain, like
hard_up=0.8, i.e. even if we could get 100%, we will only utilize
80%).
Thanks,
Rolando Martins
^ permalink raw reply [flat|nested] 3+ messages in thread[parent not found: <b6a2d2e20909090849m16a9f452h353d5a75ee61c625-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Cgroups RT scheduling [not found] ` <b6a2d2e20909090849m16a9f452h353d5a75ee61c625-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2009-09-11 11:23 ` Dhaval Giani [not found] ` <20090911112352.GH4474-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Dhaval Giani @ 2009-09-11 11:23 UTC (permalink / raw) To: Rolando Martins; +Cc: containers-qjLDD68F18O7TbgM5vRIOg, Peter Zijlstra [Adding peterz to the cc] On Wed, Sep 09, 2009 at 04:49:52PM +0100, Rolando Martins wrote: > Hi, > > I would like to confirm the following: > cpuset.sched_load_balance doesn't work with RT, right? > You cannot have tasks for sub-domain 2 to utilize bandwidth of > sub-domain 3, right? > > __1__ > / \ > 2 3 > (50% rt) (50% rt ) > > For my application domain;) it would be interesting to have > rt_runtime_ns as a min. of allocated rt and not a max. > Ex. If an application of domain 2 needs to go up to 100% and domain 3 > is idle, then it would be cool to let it utilize the full bandwidth. > (we also could have a hard upper limit in each sub-domain, like > hard_up=0.8, i.e. even if we could get 100%, we will only utilize > 80%). > As far as I understand, all RT group scheduling assures is a certain bandwidth which you cannot exceed in a given time period. It doesn't provide the guarantee (that I think you are looking for) that you want. Peter should be able to tell more about future plans. Thanks, -- regards, Dhaval ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <20090911112352.GH4474-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>]
* Re: Cgroups RT scheduling [not found] ` <20090911112352.GH4474-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> @ 2009-09-11 11:47 ` Peter Zijlstra 0 siblings, 0 replies; 3+ messages in thread From: Peter Zijlstra @ 2009-09-11 11:47 UTC (permalink / raw) To: Dhaval Giani; +Cc: containers-qjLDD68F18O7TbgM5vRIOg On Fri, 2009-09-11 at 16:53 +0530, Dhaval Giani wrote: > [Adding peterz to the cc] > > On Wed, Sep 09, 2009 at 04:49:52PM +0100, Rolando Martins wrote: > > Hi, > > > > I would like to confirm the following: > > cpuset.sched_load_balance doesn't work with RT, right? It does. > > You cannot have tasks for sub-domain 2 to utilize bandwidth of > > sub-domain 3, right? Depends on what you do, for some contorted reason we have 2 cpu control groups, cpusets and this other thing. I'm still wanting to fold them into one, this confusion is in part because of that train-wreck. You can place a task in one cpuset cgroup and in another scheduler cgroup - but yeah, that does interact funny with the load-balancer. > > > > __1__ > > / \ > > 2 3 > > (50% rt) (50% rt ) > > > > For my application domain;) it would be interesting to have > > rt_runtime_ns as a min. of allocated rt and not a max. > > Ex. If an application of domain 2 needs to go up to 100% and domain 3 > > is idle, then it would be cool to let it utilize the full bandwidth. > > (we also could have a hard upper limit in each sub-domain, like > > hard_up=0.8, i.e. even if we could get 100%, we will only utilize > > 80%). This doesn't sound a like a real-time application. Variable bandwidth is useless for determinism. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-09-11 11:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-09 15:49 Cgroups RT scheduling Rolando Martins
[not found] ` <b6a2d2e20909090849m16a9f452h353d5a75ee61c625-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-09-11 11:23 ` Dhaval Giani
[not found] ` <20090911112352.GH4474-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2009-09-11 11:47 ` Peter Zijlstra
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.