Re: About group scheduling for SCHED_DEADLINE

From: Peter Zijlstra
Date: Mon Oct 17 2016 - 04:28:06 EST


On Mon, Oct 17, 2016 at 08:38:57AM +0200, luca abeni wrote:

> > Yes, there currently is no existing schedulability analysis for
> > multi-processor EDF with random affinities (as far as I know)
> Correction: it looks like I was wrong, and the schedulability of
> multi-processor EDF with arbitrary affinities has already been analysed
> in
> A. Gujarati, F. Cerqueira, and B. Brandenburg, âMultiprocessor
> Real-Time Scheduling with Arbitrary Processor Affinities: From Practice
> to Theoryâ, Real- Time Systems, Volume 51, Issue 4, pp. 440â483.
> Springer Verlag, 2015
> (see https://www.mpi-sws.org/~bbb/papers/).
>
> Thanks to Giuseppe Lipari for pointing me to this paper.

Ooh, shiny. Let me go read that.

> So, having DL tasks with arbitrary affinities is not a big problem from
> the theoretical point of view... The only issue is that the
> utilisation-based admission test that is currently implemented in the
> kernel does not work (and given the complexity of the analysis I think
> it is better not to perform it in the kernel :)

So the problem with doing admission control out of the kernel is that
then all the guarantees and resource control the kernel should provide
are out the window, and we're back to all the reasons why SCHED_FIFO is
a horrible horrible scheduling policy.