Skip to contentSkip to conversation

R: High load average but low cpu (xenomai can be the explanation?)

DISCUSSION [email protected] 2 participants 2 messages Sep 22, 2009

lore
Share & tools
lore
#0 lore raw

It is an AgentX subagent, it does a lot of things like accessing the hardware, handling messages from the main snmp agent received from an unix socket, writing files on jffs2 partition, polling hardware for alarms.
If I kill it,
the load goes down. Anyway the subagent only takes 2-3% of the CPU..

Thank
you,
Antonio.

Quoted 3 lines

Da: [email protected]

Can you give us some more details

about your app?

Quoted 10 lines

Is it multithread or single process?
What do the process do?

Bye Daniele

-----Messaggio originale-----
Da: linuxppc-dev-

[email protected] [mailto:linuxppc-dev- [email protected]] Per conto di [email protected]

Quoted 10 lines

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 application

is

Quoted 1 line

running at all. I have a cramfs on a nor flash. What could be the problem?

If I

Quoted 7 lines

kill the process I developed the average load goes down.

Thank you,

Adi
_______________________________________________
Linuxppc-dev mailing

list

Quoted 2 lines

[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-

dev

Quoted 7 lines

_______________________________________________
Linuxppc-dev mailing list

[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev

#1 lore raw

I suggest you to take a look at the meaning of the data showed by "/proc/lo= adavg".

See:
http://www.luci.org/luci-discuss/200210/msg00055.html

for more details.

In my opinion your loadavg of 3.0 means only that in your application there=
is an average of 3 task waiting for running on the CPU. This in general do=
esn't mean that the CPU load must be 100 %.

Maybe there should be some scheduler issues.

If you take a look into your app sources maybe you can know more about what=
happens.

-----Messaggio originale-----
Da: [email protected] [mailto:[email protected]]
Inviato: marted=EC 22 settembre 2009 10.15
A: Bosi Daniele; [email protected]
Oggetto: R: High load average but low cpu (xenomai can be the explanation?)

It is an AgentX subagent, it does a lot of things like accessing the hardwa= re,
handling messages from the main snmp agent received from an unix socket, writing files on jffs2 partition, polling hardware for alarms. If I kill it,
the load goes down. Anyway the subagent only takes 2-3% of the CPU..

Thank
you,
Antonio.

Quoted 3 lines

Da: [email protected]

Can you give us some more details

about your app?

Quoted 10 lines

Is it multithread or single process?
What do the process do?

Bye Daniele

-----Messaggio originale-----
Da: linuxppc-dev-

[email protected] [mailto:linuxppc-dev- [email protected]] Per conto di dibacco@libero= .it

Quoted 10 lines

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 applicati=

on
is

Quoted 1 line

running at all. I have a cramfs on a nor flash. What could be the problem?

If I

Quoted 7 lines

kill the process I developed the average load goes down.

Thank you,

Adi
_______________________________________________
Linuxppc-dev mailing

list

Quoted 2 lines

[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-

dev

Quoted 7 lines

_______________________________________________
Linuxppc-dev mailing list

[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev