Re: [CFT][PATCH] new scheduler policy

Pavel Machek
2003-09-08T13:24:00Z

Hi!

> >about X doesn't sit well with me. I think the best you could hope
> >for there
> >_might_ be a config option _if_ you could show some significant
> >improvements not attainable by modifying either X or the kernel in a
> >more
> >generic manner.
> >
> Yes, this is exactly what Keith Packard did in this paper:
> http://keithp.com/~keithp/talks/usenix2000/smart.html . The X
> scheduler is certainly "smarter" by giving a higher priority to more
> interactive X clients. But I think guessing the importance of a
> client by the X server itself is flawed because the X server doesn't
> have a whole picture of the system. For example, it doesn't know
> anything about the "nice" value of a process. I think the kernel is
> in the best position to decide which process is more important.
> That's why I proposed kernel based approach.

Tasks can easily report their interactivity needs/nice value.
X are already depend on clients not trying to screw each other,
so thats okay.
--
Pavel
Written on sharp zaurus, because my Velo1 broke. If you have Velo you don't need...