Re: sched_yield() version 2.4.24

From: Chris Friesen
Date: Tue Mar 30 2004 - 12:32:49 EST


Richard B. Johnson wrote:

Well in excess of 100% on a single-CPU system.

Very odd.

12:02pm up 1 day, 53 min, 4 users, load average: 2.54, 1.25, 0.90
34 processes: 31 sleeping, 3 running, 0 zombie, 0 stopped
CPU states: 65.8% user, 134.6% system, 0.0% nice, 0.0% idle
Mem: 322352K av, 101772K used, 220580K free, 0K shrd, 9836K buff
Swap: 1044208K av, 1044208K used, 0K free 20240K cached

PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
7144 root 19 0 5564 5564 1444 R 0 82.5 1.7 2:27 client
7143 root 15 0 980 976 428 S 0 59.9 0.3 1:57 server
7142 root 18 0 1464 1464 1444 R 0 56.0 0.4 1:39 client
7163 root 11 0 568 564 432 R 0 1.9 0.1 0:00 top
[SNIPPED...sleeping tasks]


The cpu util accounting code in kernel/timer.c hasn't changed in 2.4 since 2002. Must be somewhere else.

Anyone else have any ideas?


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