All of lore.kernel.org
 help / color / mirror / Atom feed
From: Norbert van Nobelen <norbert-kernel@edusupport.nl>
To: jerome lacoste <jerome.lacoste@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 50% CPU user usage but top doesn't list any CPU unfriendly task
Date: Tue, 4 Jan 2005 08:51:23 +0100	[thread overview]
Message-ID: <200501040851.23287.norbert-kernel@edusupport.nl> (raw)
In-Reply-To: <5a2cf1f6050103134611114dbd@mail.gmail.com>

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%. The load is than also easily reached.


On Monday 03 January 2005 22:46, jerome lacoste wrote:
> Hi,
>
> on a fairly old box used as a desktop (PII 300 Mhz with 196M RAM), I
> observe the following strange behavior which I believe comes from the
> kernel.
>
> There's a VoIP known 'P2P' closed source application running, an IP
> tables based firewall and a remote ssh session initiated. When using
> top, sorting by CPU usage, no program is using more than a couple of
> percent of CPU. On the other side, the total CPU user time is at
> around 40%, with a 1.5 load average. Memory looks OK. The machine is
> responsive as usual.
>
> So I wonder why the cpu user time is at 40% without any particular
> program showing as using CPU in the top listing. 'Problem' was
> reproducible with 2.4.x and now with 2.6.8.1.
>
> So it this a real problem or is there something that I don't
> understand in particular? Thanks for the insight.
>
> Jerome
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

  reply	other threads:[~2005-01-04  7:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-03 21:46 50% CPU user usage but top doesn't list any CPU unfriendly task jerome lacoste
2005-01-04  7:51 ` Norbert van Nobelen [this message]
2005-01-04 10:43   ` jerome lacoste
2005-01-05 11:16     ` Toon van der Pas

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=200501040851.23287.norbert-kernel@edusupport.nl \
    --to=norbert-kernel@edusupport.nl \
    --cc=jerome.lacoste@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.