Messages in this thread | | | Subject | Re: cgroup, RT reservation per core(s)? | From | Peter Zijlstra <> | Date | Wed, 11 Feb 2009 13:00:13 +0100 |
| |
On Wed, 2009-02-11 at 17:23 +0530, Balbir Singh wrote: > * Peter Zijlstra <peterz@infradead.org> [2009-02-11 12:42:14]: > > > On Wed, 2009-02-11 at 11:33 +0000, Rolando Martins wrote: > > > > > Hi again, > > > > > > is there any way to have multiple "distinct" sched domains, i.e.: > > > mount -t cgroup -o cpu none /dev/sched_domain_0 > > > .... setup sched_domain_0 (ex: 90% RT, 10% Others) > > > mount -t cgroup -o cpu none /dev/sched_domain_1 > > > .... setup sched_domain_1 (ex: 20% RT, 80% Others) > > > Then give sched_domain_0 to cpuset A and sched_domain_1 to B? > > > > Nope. > > > > We currently only support a single instance of a cgroup controller. > > > > I see the use for what you propose, however implementing that will be > > 'interesting'. > > I am confused, if you cpusets, you get your own sched_domain. If you > mount cpusets and cpu controller together, you'll get what you want. > Is this a figment of my imagination. You might need to use exclusive > CPUsets though.
afaiui he wants a cgroup hierarchy per exclusive sched domain.
| |