Re: 50% CPU user usage but top doesn't list any CPU unfriendly task

Toon van der Pas
2005-01-05T11:16:37Z

On Tue, Jan 04, 2005 at 11:43:39AM +0100, jerome lacoste wrote:
> On Tue, 4 Jan 2005 08:51:23 +0100, Norbert van Nobelen
> <norbert-kernel@edusupport.nl> wrote:
> > The load and the CPU useage are two separate things:
> > Load: Defined by a programmer on an estimate on which his program is running
> > 100% fulltime, thus consuming little or more CPU/IO.
> > The interesting program you mention is the VoIP application. Is this program
> > multithreaded and is every thread using a little bit of CPU? Than it quickly
> > adds up to the mentioned 40%.
>
> There are some threads in that app, not that many, and none show in
> the top listing (which displays at least 30 entries). So I don't think
> this sum scenario is valid.

The correct display of threaded processes in top should be fixed by
the combination of procps-3.2.4 and the linux-2.6.10 kernel.
This according to the text in the announcement of procps-3.2.4.
I didn't test it yet, though.

Regards,
Toon.
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan