Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757886Ab0GIQfV (ORCPT ); Fri, 9 Jul 2010 12:35:21 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:52954 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757452Ab0GIQfT convert rfc822-to-8bit (ORCPT ); Fri, 9 Jul 2010 12:35:19 -0400 Subject: Re: periods and deadlines in SCHED_DEADLINE From: Peter Zijlstra To: Bjoern Brandenburg Cc: Raistlin , linux-kernel , Song Yuan , Dmitry Adamushko , Thomas Gleixner , Nicola Manica , Luca Abeni , Claudio Scordino , Harald Gustafsson , bastoni@cs.unc.edu, Giuseppe Lipari In-Reply-To: <51F8E441-58D7-45E1-B7A0-7A717EDF08B5@email.unc.edu> References: <1278682707.6083.227.camel@Palantir> <1278685133.1900.201.camel@laptop> <51F8E441-58D7-45E1-B7A0-7A717EDF08B5@email.unc.edu> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Fri, 09 Jul 2010 18:35:04 +0200 Message-ID: <1278693304.1900.266.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2228 Lines: 54 On Fri, 2010-07-09 at 16:51 +0200, Bjoern Brandenburg wrote: > On Jul 9, 2010, at 4:18 PM, Peter Zijlstra wrote: > > > On Fri, 2010-07-09 at 15:38 +0200, Raistlin wrote: > > > >> - using periods for calculating the tasks' bandwidth and then using > >> deadlines for scheduling the tasks is going to work, but the > >> admission control test that you would need for ensuring anybody > >> will make its deadline is waaay more complex than Sum_i(BW_i)<1, even > >> for uniprocessors/partitionig. That one instead would gives you just > >> a very basic guarantee that the design in not completely broken > >> (formally, I think I should say it is only a necessary > >> condition :-)). > > > > Happen to have a paper handy that explains all this in a concise way? > > > > Sounds confusing, but this is actually not that complicated. Indeed, reading the referenced paper did clear things up, thanks! I think the easiest path for now would indeed be to split between hard and soft rt tasks, and limit hard to d==p, and later worry about supporting d