Scheduler-thoughts for v2.5.x

Borislav Deianov borislav en lix.polytechnique.fr
Lun Ene 24 15:26:53 CST 2000


In article <Pine.A41.4.21.0001221342300.20830-100000 en yen.acc.umu.se> you wrote:
> Would it be viable to introduce several different schedulers to chose from
> in the v2.5 development-tree, as a compile-time option. This way we would
> solve most of the considerations of workstation vs webserver vs
> database-server vs ftpserver etc.
>
> I haven't got a clue if this is technically possible (well, it IS
> possible, but the question is whether it's reasonable, or if it would
> involve rewriting half the kernel to introduce such a change...), and if
> it is anything that would be interesting.

My fair scheduler (http://people.cornell.edu/pages/bdd2/fairsched) is
a compile-time option and is fairly non-intrusive (a bunch of
one-liners in kernel/sched.c). So I think this is feasable, if you can
convince people that different schedulers are actually needed.

> Of course, a modular, hot-swappable scheduler would be best, but I figure
> that'd be pretty awkward to program. Or?

I know of an alternative scheduler that works as a module for current
2.2 (no patches needed). It's binary only but my guess is you don't
want to look at that code anyway ;)

Regards,
Borislav

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



Más información sobre la lista de distribución Ayuda