Re: [PATCH] 2.5.72-mm3 O(1) interactivity enhancements

Con Kolivas (kernel@kolivas.org)
Tue, 24 Jun 2003 00:15:23 +1000


On Mon, 23 Jun 2003 21:41, Felipe Alfaro Solana wrote:
> Hi!
>
> I have just cooked up a patch which mixes Mike Galbraith's excellent
> monotonic clock O(1) scheduler changes with another patch I think that
> came from Ingo Molnar and some scheduler parameter tweaks. This patch is
> against 2.5.72-mm3, but applies cleanly on top of 2.5.73.
>
> For me, it gives impressive interactive behavior. With it applied, I can
> no longer make XMMS skips sound, moving windows on an X session is
> perfectly smooth, even when moving them fastly enough for a very long
> time.

Hi Felipe.

For those who aren't familiar, you've utilised the secret desktop weapon:

+ if (!(p->time_slice % MIN_TIMESLICE) &&

This is not how Ingo intended it. This is my desktop bastardising of the
patch. It was originally about 50ms (timeslice granularity). This changes it
to 10ms which means all running tasks round robin every 10ms - this is what I
use in -ck and is great for a desktop but most probably of detriment
elsewhere. Having said that, it does nice things to desktops :-)

Con

-
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/