Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S968188Ab0B0Mdk (ORCPT ); Sat, 27 Feb 2010 07:33:40 -0500 Received: from bombadil.infradead.org ([18.85.46.34]:44368 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968159Ab0B0Mdj (ORCPT ); Sat, 27 Feb 2010 07:33:39 -0500 Subject: Re: [PATCH 0/3] sched: use EDF to throttle RT task groups v2 From: Peter Zijlstra To: Fabio Checconi Cc: Ingo Molnar , Thomas Gleixner , Paul Turner , Dario Faggioli , Michael Trimarchi , Dhaval Giani , Tommaso Cucinotta , linux-kernel@vger.kernel.org In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Sat, 27 Feb 2010 13:33:11 +0100 Message-ID: <1267273991.22519.744.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1135 Lines: 23 On Tue, 2010-02-23 at 19:56 +0100, Fabio Checconi wrote: > - Since it is not easy to mix tasks and groups on the same scheduler > queue (tasks have no deadlines), the bandwidth reserved to the tasks > in a group is controlled with two additional cgroup attributes: > rt_task_runtime_us and rt_task_period_us. These attributes control, > within a cgroup, how much bandwidth is reserved to the tasks it > contains. The old attributes, rt_runtime_us and rt_period_us, are > still there, and control the bandwidth assigned to the cgroup. They > are used only for admission control. We could do this implicitly by simply setting the task_bandwidth to the cgroup bandwidth - \Sum_children bandwidth. Having it explicit gives the administrator slightly more control at the cost of a more complex interface. Just wondering if you thought about this trade-off? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/