From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755583AbZBKLkg (ORCPT ); Wed, 11 Feb 2009 06:40:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752831AbZBKLk2 (ORCPT ); Wed, 11 Feb 2009 06:40:28 -0500 Received: from casper.infradead.org ([85.118.1.10]:34356 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752624AbZBKLk1 (ORCPT ); Wed, 11 Feb 2009 06:40:27 -0500 Subject: Re: cgroup, RT reservation per core(s)? From: Peter Zijlstra To: Rolando Martins Cc: linux-kernel@vger.kernel.org, Paul Menage , Balbir Singh , Srivatsa Vaddagiri In-Reply-To: References: <1234209174.5951.165.camel@laptop> <1234271177.23438.24.camel@twins> <1234281602.23438.96.camel@twins> <1234295613.4699.1.camel@laptop> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 11 Feb 2009 12:42:14 +0100 Message-Id: <1234352534.23438.130.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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'.