please choosego to mobile | Continue to access the PC version
View: 5938|Reply: 3

Load average display is possibly wrong.

[Copy link]

1

threads

8

posts

34

credits

Novice

Rank: 1

credits
34
Published in 2016-3-28 17:24:19 | Show all floors |Read mode
Edited by KeremER at 2016-3-28 17:31

Hi,

I am using  Orange Pi One. but when I display the load using the "w" command the output always 2,xx. When I use the "top" command I don't see much load. I have a raspberry pi 2 running the same programs. The load on Raspberry Pi 2 is 0.2x something when I use "top" I see that the CPU load is comparable only with higher cpu usage. But this is normal giwen Raspberry has a a slower processor. Can it be some kind of divisor problem or something. I believe the load must be ten times less soch as 0.2x as the Raspberry displays. I believe the Raspbian implementation in Orange Pi is very buggy being adapted from BananaPi. This must be one of such problems.

Here are excertps from the "top" command with load by CPU diplay on from both systems:

Orange Pi One:
                                                                           v------------------------- Load is constantly over 2 although CPU's are almost idle.
top - 12:18:51 up  5:13,  1 user,  load average: 2.40, 2.25, 2.22
Tasks:  86 total,   2 running,  84 sleeping,   0 stopped,   0 zombie
%Cpu0  :  0.3 us,  1.7 sy,  0.0 ni, 97.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu1  :  0.0 us,  0.3 sy,  0.0 ni, 99.7 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu2  :  0.0 us,  0.7 sy,  0.0 ni, 99.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu3  : 15.0 us,  0.0 sy,  0.0 ni, 85.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:    507272 total,   106104 used,   401168 free,    12916 buffers
KiB Swap:   102396 total,        0 used,   102396 free,    36116 cached   



Raspberry Pi 2
top - 12:21:02 up 12:28,  1 user,  load average: 0.26, 0.21, 0.23
Tasks:  86 total,   1 running,  85 sleeping,   0 stopped,   0 zombie
%Cpu0  :  0.3 us,  2.4 sy,  0.0 ni, 97.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu1  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu2  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu3  : 17.1 us,  1.3 sy,  0.0 ni, 81.5 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:    948012 total,   363880 used,   584132 free,   152964 buffers
KiB Swap:   102396 total,        0 used,   102396 free.   152340 cached Mem

Cheers,
K.




1

threads

8

posts

34

credits

Novice

Rank: 1

credits
34
 Author| Published in 2016-3-28 23:41:31 | Show all floors
Edited by KeremER at 2016-3-28 23:56

I did compile my own FEX so I don't have this ARISC problem anymore. Anyway my dmesg output is:
root@opi01:~# dmesg |grep ARISC
[    0.080365] [ARISC] :sunxi-arisc driver v1.04
[    0.091851] [ARISC] :arisc version: [v0.1.34]
[    0.172701] [ARISC] :sunxi-arisc driver v1.04 startup succeeded



May be you're right about stuck processes. This is when there's nothing runs. just the shell.
top - 18:36:35 up  4:07,  1 user,  load average: 2.03, 2.13, 2.18
Tasks:  78 total,   1 running,  77 sleeping,   0 stopped,   0 zombie
%Cpu0  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu1  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu2  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu3  :  0.7 us,  0.0 sy,  0.0 ni, 99.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:    507272 total,    96452 used,   410820 free,    10536 buffers
KiB Swap:   102396 total,        0 used,   102396 free,    51348 cached

I have my reasons to use Raspbian. I am trying to migrate some software form raspberry to Orange Pi One. It must be debian based.

1

threads

8

posts

34

credits

Novice

Rank: 1

credits
34
 Author| Published in 2016-3-29 01:13:15 | Show all floors
I do understand but you should try to loose that "teaching guy" attitude. Very unpleasant indeed. What I say is although I was not running any process and there was only kernel processes. I saw two processes stucked in D state. This was it. This is why I've posted the output with a line reading "May be you're right about stuck processes. This is when there's nothing runs. just the shell.". I hope you've got that I've got it now ?

1

threads

8

posts

34

credits

Novice

Rank: 1

credits
34
 Author| Published in 2016-3-29 05:58:59 | Show all floors
Edited by KeremER at 2016-3-29 06:07

Oh thanks for the help so far. I turely  do appreciate this part. However it seems to me that you can't keep yourself from repeating "you don't understand" ten times in a row when helping us clueless "morons". Good Luck with that too.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list