Re: [PATCH] small scheduling optimization

Rik van Riel (riel@humbolt.nl.linux.org)
Tue, 13 Apr 1999 15:27:26 +0200 (CEST)


On Tue, 13 Apr 1999, Ingo Molnar wrote:
> On Sun, 11 Apr 1999, Rik van Riel wrote:
>
> > This second patch is just a small optimization to the code calling
> > the scheduling code. With a program like rc5des running (nice +19)
> > in the background and NOTHING in the foreground Linux still goes
> > through the scheduler 50 times a second!
>
> hm, it should only go 5 times a second into the scheduler if this is
> the only process running. Are you sure that it's 50 times a second?

A nice +19 process only has a timeslice of 10 (20 if it's
alone) milliseconds. That will give 50 reschedules and a
lot of cache corruption per second...

Rik -- Open Source: you deserve to be in control of your data.
+-------------------------------------------------------------------+
| Le Reseau netwerksystemen BV: http://www.reseau.nl/ |
| Linux Memory Management site: http://humbolt.geo.uu.nl/Linux-MM/ |
| Nederlandse Linux documentatie: http://www.nl.linux.org/ |
+-------------------------------------------------------------------+

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