| Subject | Re: [RFC][PATCH 02/22] sched: add extended scheduling interface | From | Raistlin <> | Date | Fri, 12 Nov 2010 20:24:21 +0100 |
| |
On Fri, 2010-11-12 at 11:38 -0500, Steven Rostedt wrote: > 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. > Sounds reasonable...
> Is this supported? > Yep, as both Tommaso and Peter were saying, patch 18 gives you exactly that. In some more details, after X is over, you can chose (just by setting a flag in sched_param2 and calling setscheduler2()) if you want to keep running as a -deadline task (but without hurting other -deadline tasks), or if you want to still be able to compete for CPU, but as a -rt or -fair task.
However, we're delaying this for now. It won't be hard to add it back if we change our mind. :-)
Thanks, Dario
-- <<This happens because I choose it to happen!>> (Raistlin Majere) ---------------------------------------------------------------------- Dario Faggioli, ReTiS Lab, Scuola Superiore Sant'Anna, Pisa (Italy)
http://blog.linux.it/raistlin / raistlin@ekiga.net / dario.faggioli@jabber.org [unhandled content-type:application/pgp-signature] |