lkml.org 
[lkml]   [2010]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH 02/22] sched: add extended scheduling interface
From
Date
On Fri, 2010-11-12 at 18:42 +0100, Tommaso Cucinotta wrote:
> Il 12/11/2010 17:38, Steven Rostedt ha scritto:
> > A while ago I implemented an EDF scheduler for a client (before working
> > with Red Hat), and one thing they asked about was having a "soft group",
> > which was basically: This group is guaranteed X runtime in Y period, but
> > if the system is idle, let the group run, even if it has exhausted its X
> > runtime.
> >
> > Is this supported?
> Actually, I know that Dario has an implementation of exactly this
> feature (and it used to be implemented in our previous scheduler as
> well, i.e., the old AQuoSA stuff):
> a per-task flag, when enabled, allows to put temporarily the task into
> SCHED_OTHER when its budget is exhausted. Therefore, it will be allowed
> to run for more than its budget but without breaking the temporal
> isolation with the other SCHED_DEADLINE tasks. Furthermore, it won't
> starve other SCHED_OTHER tasks, as it will compete with them for the CPU
> during the budget-exhausted time windows.

Good to know, thanks!

-- Steve




\
 
 \ /
  Last update: 2010-11-12 20:25    [W:0.122 / U:1.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site