Poor CPU utilization in 2.3?

From: Kjetil Torgrim Homme (kjetilho@ifi.uio.no)
Date: Sun Apr 02 2000 - 18:32:26 EST


While running make -j 2 on some large source tree, top reports:

CPU states: 23.2% user, 7.3% system, 16.8% nice, 70.6% idle
[...]
CPU states: 15.5% user, 4.1% system, 6.8% nice, 81.2% idle
[...]
CPU states: 9.9% user, 2.5% system, 7.4% nice, 88.6% idle
Mem: 254892K av, 247972K used, 6920K free, 0K shrd, 63992K buff
Swap: 104416K av, 848K used, 103568K free 130348K cached

  PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
  208 kjetilho 19 19 736 736 584 R N 0 4.1 0.2 29:20 rc5des
  207 kjetilho 19 19 736 736 584 R N 0 3.3 0.2 29:16 rc5des
  211 root 1 0 41736 40M 1808 S 0 1.5 16.3 0:27 X
 3642 kjetilho 2 0 832 832 612 R 0 0.7 0.3 0:00 top
 8124 kjetilho 18 0 1340 1340 888 R 0 0.5 0.5 0:00 cc1
    2 root 0 0 0 0 0 SW 0 0.3 0.0 0:51 kswapd
  263 kjetilho 0 0 2560 2560 1448 S 0 0.3 1.0 0:00 xterm
  555 kjetilho 0 0 5236 5236 3092 S 0 0.3 2.0 0:00 xmms

(It fluctuates wildly, so there isn't a trend, these are some of the
worst numbers.)

The rc5des should soak up all available idle time, but it isn't.

System details:
    Abit BP6 with 2 Celeron 366, latest BIOS update (NJ).
    Kernel 2.3.99pre3 (I first noticed it in 2.3.46)
    Top from ps-99.4.14-17 (SuSE 6.1)
    Latest ALSA is providing the music

Kjetil T.

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



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:09 EST