Re: O(1) scheduler observations

From: Ingo Molnar (mingo@elte.hu)
Date: Sun Feb 03 2002 - 08:56:13 EST


On Fri, 1 Feb 2002, Alastair Stevens wrote:

> Just a brief observation on the O(1) scheduler. I'm using 2.4.18-pre7
> + J7 scheduler patch (haven't had a chance to try J9 yet), on a
> bog-standard Celeron 500MHz / 384Mb / IDE desktop machine under Red
> Hat 7.2.
>
> I'm blasting along in Tuxracer (discovery of the week!) and then
> "updatedb" kicks in. Tuxracer crawls and jerks for about 15 seconds,
> and then turns wonderfully smooth again, whilst the drive continues to
> thrash a while longer.

well, CPU hogs such as Tuxracer are not as highprio as they used to be.
updatedb has a mixed CPU-intensive and IO-intensive scheduling pattern,
which gives it priority over that of Tuxracer.

One solution would be to start Tuxracer at nice -10, or to renice updatedb
to nice +19.

        Ingo

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



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:27 EST