Re: [test-PATCH] Re: [QUESTION] 2.4.x nice level

Rik van Riel
2001-04-11T15:54:59Z

On Wed, 11 Apr 2001, Rik van Riel wrote:

> OK, here it is. It's nothing like montavista's singing-dancing
> scheduler patch that does all, just a really minimal change that
> should stretch the nice levels to yield the following CPU usage:
>
> Nice 0 5 10 15 19
> %CPU 100 56 25 6 1

PID USER PRI NI SIZE SWAP RSS SHARE STAT %CPU %MEM TIME COMMAND
980 riel 17 0 296 0 296 240 R 54.1 0.5 54:19 loop
1005 riel 16 5 296 0 296 240 R N 27.0 0.5 0:34 loop
1006 riel 17 10 296 0 296 240 R N 13.5 0.5 0:16 loop
1007 riel 18 15 296 0 296 240 R N 4.5 0.5 0:05 loop
987 riel 20 19 296 0 296 240 R N 0.4 0.5 0:25 loop

... is what I got when testing it here. It seems that nice levels
REALLY mean something with the patch applied ;)

You can get it at http://www.surriel.com/patches/2.4/2.4.3ac4-largenice

Since there seems to be quite a bit of demand for this feature,
please test it and try to make it break. If it doesn't break we
can try to put it in the kernel...

regards,

Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/
http://www.conectiva.com/ http://distro.conectiva.com.br/