Re: [PATCH][plugsched 0/28] Pluggable cpu scheduler framework

From: Kasper Sandberg
Date: Mon Nov 01 2004 - 08:09:35 EST


On Mon, 2004-11-01 at 12:41 +0100, Ingo Molnar wrote:
<snip>
> I believe that by compartmenting in the wrong way [*] we kill the
> natural integration effects. We'd end up with 5 (or 20) bad generic
> schedulers that happen to work in one precise workload only, but there
> would not be enough push to build one good generic scheduler, because
> the people who are now forced to care about the Linux scheduler would be
> content about their specialized schedulers. Yes, it would be easier to
> make a specialized scheduler work well in that precise workload (because
> the developer can make the 'this is only for this parcticular workload'
> excuse), and this approach may satisfy the embedded and high-end needs
> in a quicker way. So i consider scheduler plugins as the STREAMS
> equivalent of scheduling and i am not very positive about it. Just like
> STREAMS, i consider 'scheduler plugins' as the easy but deceptive and
> wrong way out of current problems, which will create much worse problems
> than the ones it tries to solve.

i see your point, and i agree its not very nice to have specialized
schedulers for particular workloads only. however, as i see it,
plugsched doesent have any direct overhead, and plugsched doesent remove
the ability to develop on one allround scheduler, which tries to handle
all workloads good. however plugsched does give the opportunity to
create specialized schedulers, and as i see it not, staircase does a
better job in handling allround workloads(atleast for me). and it
certainly do make stuff easier.

>
> Ingo
>
> ( [*] how is this different from say the IO scheduler plugin
> architecture? Just compare the two, it's two very different things.
> Firstly, the timescale is very different - the process scheduler cares
> about microseconds, the IO scheduler's domain is milliseconds. Also, IO
> scheduling is fundamentally per-device and often there is good
> per-device workload isolation so picking an IO scheduler per queue makes
> much more sense than say picking a scheduler per CPU ... There are other
> differences too, such as complexity and isolation from the rest of the
> system. )
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/