mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Toon van der Pas <toon@hout.vanvergehaald.nl>
To: linux-kernel@vger.kernel.org
Subject: Re: 50% CPU user usage but top doesn't list any CPU unfriendly task
Date: Wed, 5 Jan 2005 12:16:32 +0100	[thread overview]
Message-ID: <20050105111632.GA7664@hout.vanvergehaald.nl> (raw)
In-Reply-To: <5a2cf1f6050104024368eb1424@mail.gmail.com>

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

      reply	other threads:[~2005-01-05 11:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-03 21:46 jerome lacoste
2005-01-04  7:51 ` Norbert van Nobelen
2005-01-04 10:43   ` jerome lacoste
2005-01-05 11:16     ` Toon van der Pas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050105111632.GA7664@hout.vanvergehaald.nl \
    --to=toon@hout.vanvergehaald.nl \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®