From: Brad Boyer <flar@allandria•com>
To: "dibacco@libero•it" <dibacco@libero•it>
Cc: linuxppc-dev@lists•ozlabs.org
Subject: Re: High load average but low cpu (xenomai can be the explanation?)
Date: Mon, 21 Sep 2009 21:10:17 -0700 [thread overview]
Message-ID: <20090922041017.GA30525@cynthia.pants.nu> (raw)
In-Reply-To: <17851044.2911671253545985517.JavaMail.root@wmail27>
On Mon, Sep 21, 2009 at 05:13:05PM +0200, dibacco@libero•it wrote:
> I have an MPC880 @133MHz. If I look into the load (with uptime) I get
> values around 3.0 but my CPU is always under 5 percent (top). How could I
> explain this? I'm using linux 2.6.19 with xenomai but no xenomai application is
> running at all. I have a cramfs on a nor flash. What could be the problem? If I
> kill the process I developed the average load goes down.
Does your system have any kernel modules that are used as part of the
application you are creating? I've seen this happen with custom written
kernel modules that sleep in an uninterruptible wait during a call
from a program or inside a kernel thread. This shows up as 'D' state
in your ps output. Any thread in state 'D' counts against the load
average but doesn't show in CPU usage if it is actually sleeping.
I don't think this is the most likely explanation since you said you
can kill your process, but I thought I should mention it.
Brad Boyer
flar@allandria•com
prev parent reply other threads:[~2009-09-22 4:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-21 15:13 High load average but low cpu (xenomai can be the explanation?) dibacco
2009-09-21 15:35 ` R: " Bosi Daniele
2009-09-21 16:42 ` Gabriel Paubert
2009-09-22 4:10 ` Brad Boyer [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=20090922041017.GA30525@cynthia.pants.nu \
--to=flar@allandria$(echo .)com \
--cc=dibacco@libero$(echo .)it \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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