All of lore.kernel.org
 help / color / mirror / Atom feed
* High load average  but low cpu (xenomai can be the explanation?)
@ 2009-09-21 15:13 dibacco
  2009-09-21 15:35 ` R: " Bosi Daniele
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dibacco @ 2009-09-21 15:13 UTC (permalink / raw)
  To: linuxppc-dev

Hi,

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.

Thank you,
Adi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* R: High load average  but low cpu (xenomai can be the explanation?)
  2009-09-21 15:13 High load average but low cpu (xenomai can be the explanation?) dibacco
@ 2009-09-21 15:35 ` Bosi Daniele
  2009-09-21 16:42 ` Gabriel Paubert
  2009-09-22  4:10 ` Brad Boyer
  2 siblings, 0 replies; 4+ messages in thread
From: Bosi Daniele @ 2009-09-21 15:35 UTC (permalink / raw)
  To: 'dibacco@libero.it', linuxppc-dev

Can you give us some more details about your app?
Is it multithread or single process?
What do the process do?

Bye Daniele



-----Messaggio originale-----
Da: linuxppc-dev-bounces+daniele.bosi=3Dmta.it@lists.ozlabs.org [mailto:lin=
uxppc-dev-bounces+daniele.bosi=3Dmta.it@lists.ozlabs.org] Per conto di diba=
cco@libero.it
Inviato: luned=EC 21 settembre 2009 17.13
A: linuxppc-dev@lists.ozlabs.org
Oggetto: High load average but low cpu (xenomai can be the explanation?)

Hi,

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 applicatio=
n 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.

Thank you,
Adi
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: High load average  but low cpu (xenomai can be the explanation?)
  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
  2 siblings, 0 replies; 4+ messages in thread
From: Gabriel Paubert @ 2009-09-21 16:42 UTC (permalink / raw)
  To: dibacco; +Cc: linuxppc-dev

On Mon, Sep 21, 2009 at 05:13:05PM +0200, dibacco@libero.it wrote:
> Hi,
> 
> 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.

What's the process doing when it's not running?

Under top, what is the percentage of wait (x.x%wa)?

	Gabriel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: High load average  but low cpu (xenomai can be the explanation?)
  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
  2 siblings, 0 replies; 4+ messages in thread
From: Brad Boyer @ 2009-09-22  4:10 UTC (permalink / raw)
  To: dibacco; +Cc: linuxppc-dev

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-22  4:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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.