From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756118AbZBKLyR (ORCPT ); Wed, 11 Feb 2009 06:54:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754661AbZBKLyE (ORCPT ); Wed, 11 Feb 2009 06:54:04 -0500 Received: from e28smtp01.in.ibm.com ([59.145.155.1]:48254 "EHLO e28smtp01.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753661AbZBKLyD (ORCPT ); Wed, 11 Feb 2009 06:54:03 -0500 Date: Wed, 11 Feb 2009 17:23:57 +0530 From: Balbir Singh To: Peter Zijlstra Cc: Rolando Martins , linux-kernel@vger.kernel.org, Paul Menage , Srivatsa Vaddagiri Subject: Re: cgroup, RT reservation per core(s)? Message-ID: <20090211115357.GG16317@balbir.in.ibm.com> Reply-To: balbir@linux.vnet.ibm.com References: <1234209174.5951.165.camel@laptop> <1234271177.23438.24.camel@twins> <1234281602.23438.96.camel@twins> <1234295613.4699.1.camel@laptop> <1234352534.23438.130.camel@twins> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1234352534.23438.130.camel@twins> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Peter Zijlstra [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. -- Balbir