Re: [patch] "HT scheduler", sched-2.5.63-B3

jlnance@unity.ncsu.edu
Fri, 7 Mar 2003 09:28:46 -0500


On Fri, Mar 07, 2003 at 06:57:58AM +0100, Ingo Molnar wrote:

> so the correct approach is both to make X more interactive (your patch),
> _and_ to make the compilation jobs less interactive (my patch). This is
> that explains why Andrew saw roughly similar interactivity with you and my
> patch applied separately, but the best result was when the combo patch was
> applied. Agreed?

Ingo,
Forgive me if this is what your patch does, I have only looked at
Linus'es. But I dont think this is what you are doing.
Linus'es patch gives a boost to non-interactive proceses that wake
up interactive ones. It seems that we could solve the make problem by
applying the same idea in the reverse direction. Lets unboost interactive
processes that are woken up by non-interactive ones. So if make gets
woken up by gcc (which is hopefully non-interactive), make does not
get "credit" for having been asleep.
I am trying to think if this would break anything. The only thing
I can think of is that if the X server gets marked as non-interactive,
then it is going to cause its clients to get marked as non-interactive
as well when it sends them data. But this may be a good thing. If
X is marked as non-interactive it means that it is busy, so this may
have the effect of preventing the X clients from sending it a lot of
extra work while its already busy.

Thanks,

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