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

From: Rik van Riel (riel@conectiva.com.br)
Date: Wed Apr 11 2001 - 10:53:16 EST


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/

- 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 : Sun Apr 15 2001 - 21:00:16 EST