Re: Poor CPU utilization in 2.3?

From: Riley Williams (rhw@MemAlpha.cx)
Date: Tue Apr 25 2000 - 03:41:22 EST


Hi Rik.

>> 8:35pm up 3 min, 4 users, load average: 4.02, 1.58, 0.59
>> 74 processes: 68 sleeping, 6 running, 0 zombie, 0 stopped
>> CPU states: 39.4% user, 4.5% system, 4.6% nice, 57.6% idle

> What you want is a non-broken top...

> The version of top you have simply adds the time of all the
> running processes and uses it to calculate the CPU state
> ... which won't work if you only see 10% of the GCCs.

> What top _should_ do is get the CPU info from /proc/stat,
> like vmstat does. You'll see your CPUs are getting used
> like they should as soon as you switch to a non-buggy top.

Is there any way of identifying a "non-buggy top" simply from its
version number?

Best wishes from Riley.

 * Copyright (C) 2000, Memory Alpha Systems.
 * All rights and wrongs reserved.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
 * http://www.memalpha.cx/Linux/Kernel/

-
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 : Sun Apr 30 2000 - 21:00:09 EST