Jump to content

[Odroid C2] Big load average


zoic21

Recommended Posts

Hi,

 

I just switch from hummingboard i4 to odroid c2 (same os, armbian, same app on it), all it's ok but I got an issue with load average, on i4 I have about 0.4 but on C2 I have 3 and I don't understand why. Here a vmstat from C2 : 

 
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 0  0      0 891036  74724 277404    0    0     0     0  310  493  3  2 95  0  0
 1  0      0 891004  74724 277404    0    0     0     0 18272 1863  0  2 98  0  0
 0  0      0 891036  74724 277404    0    0     0     0 18205 1950  4  0 96  0  0
 1  0      0 891036  74724 277404    0    0     0     0 18412 1728  0  2 98  0  0
 0  0      0 891036  74732 277404    0    0     0     0 18090 1851  0  0 100  0  0
 1  0      0 891160  74732 277404    0    0     0     0 19303 2400  7  1 92  0  0
 0  0      0 891160  74732 277404    0    0     0     0 17993 1654  0  0 100  0  0
 2  0      0 891144  74732 277404    0    0     0     0 18178 1733  0  3 97  0  0
 1  0      0 891160  74732 277404    0    0     0     0 18027 1765  0  0 100  0  0
 2  0      0 891144  74732 277404    0    0     0     0 18147 1681  0  0 100  0  0

I find interrupt is very very high, did anyone also notice that ?

 

Thank in advance.

 
 
 
Link to comment
Share on other sites

It's with this patch : 

 

vmstat 1 10

procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 0  0      0 248012 135536 767836    0    0     0     0  156  124  2  2 96  0  0
 2  0      0 247996 135536 767836    0    0     0     0 17899 1680  0  0 100  0  0
 1  0      0 247996 135536 767836    0    0     0     0 19032 2256  4  3 93  0  0
 2  0      0 247872 135536 767836    0    0     0     0 18447 1802  1  1 98  0  0
 0  0      0 247872 135536 767836    0    0     0     0 18285 1682  0  2 98  0  0
 2  0      0 247872 135536 767836    0    0     0     0 18222 1787  0  0 100  0  0
 1  0      0 247888 135536 767836    0    0     0     0 18424 1727  0  2 98  0  0
 0  0      0 247856 135536 767836    0    0     0     0 18214 1765  0  0 100  0  0
 1  0      0 247872 135536 767836    0    0     0     0 19268 2347  7  2 92  0  0
 4  0      0 247904 135536 767836    0    0     0     0 18458 2092  5  1 94  0  0

w :

08:43:18 up 16:58,  1 user,  load average: 2.57, 2.90, 2.88
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
root     pts/0    192.168.0.90     08:38    0.00s  0.88s  0.03s w

cat /proc/interrupts

 

           CPU0       CPU1       CPU2       CPU3
 25:          0          0          0          0       GIC  25  vgic
 27:          0          0          0          0       GIC  27  kvm guest timer
 29:          0          0          0          0       GIC  29  arch_timer
 30:    6112600    6112592    6112590    6112588       GIC  30  arch_timer
 35:    3667454          0          0          0       GIC  35  osd_vsync, vsync
 38:    6110623          0          0          0       GIC  38  timerC
 40:          0    2886805          0          0       GIC  40  eth0
 58:          0          0          0          0       GIC  58  meson_uart
 62:          0          0          0          0       GIC  62  dwc_otg, dwc_otg_hcd:usb2, dwc_otg_pcd
 63:      51309          0          0 1052167849       GIC  63  dwc_otg, dwc_otg_hcd:usb1
 78:          0          0          0          0       GIC  78  deinterlace
 89:          0          0          0          0       GIC  89  hdmitx
 99:          1          0          0          0       GIC  99  sd_emmc_mmc_in
101:          0          0          0          0       GIC 101  sd_emmc_mmc_out
121:    3667453          0          0          0       GIC 121  rdma, osd_rdma
182:          0          0          0          0       GIC 182  ge2d
225:          0          0          0          0       GIC 225  meson_uart
228:        711          0          0          0       GIC 228  ir-meson
231:          0          0          0          0       GIC 231  hdmi_aocec
241:      61204          0          0          0       GIC 241
242:     303053          0          0          0       GIC 242
249:          0          0          0          0       GIC 249  sd_emmc
250:       2084          0     386891          0       GIC 250  sd_emmc
IPI0:   4529837    4308917    5296590    3292367       Rescheduling interrupts
IPI1:         7         12         13         15       Function call interrupts
IPI2:         0          4          4          4       Single function call interrupts
IPI3:         0          0          0          0       CPU stop interrupts
IPI4:         0          0          0          0       Timer broadcast interrupts
IPI5:    204820     314482     235567     202304       IRQ work interrupts
Err:          0
 
 
 
Link to comment
Share on other sites

Thx for the answer. Well with an uptime of 17 minutes that's over one million USB IRQs per second? You might check the output of 'sudo armbianmonitor -u' for possible reasons (can't say that much whether that's normal or not since I don't have a C2)

Link to comment
Share on other sites

Hi,

 

I just make some more test, I install dietpi distribution with same software on it (but without data), load average : 

- 0 at 0.01 on dietpi

- 0.24 on armbian

 

Here vmstat on dietpi : 

 

procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 0  0      0 1496312  10760  90428    0    0    14     8 2151  169  1  1 98  0  0
 0  0      0 1496188  10760  90428    0    0     0     0 8513  491  0  0 100  0  0
 0  0      0 1496188  10760  90428    0    0     0     0 8487  473  0  0 100  0  0
 0  0      0 1496188  10760  90428    0    0     0     0 8489  475  0  0 100  0  0
 0  0      0 1496188  10760  90428    0    0     0     0 8488  473  0  0 100  0  0
 0  0      0 1496188  10760  90428    0    0     0     0 8491  479  0  0 100  0  0
 0  0      0 1496188  10760  90428    0    0     0     0 8515  479  0  0 100  0  0
 0  0      0 1496188  10760  90428    0    0     0     0 8491  475  0  0 100  0  0
 0  0      0 1496188  10760  90428    0    0     0     0 8503  474  0  0 100  0  0
 0  0      0 1496188  10760  90428    0    0     0     0 8493  480  0  0 100  0  0

And /proc/interrupts :

           CPU0       CPU1       CPU2       CPU3
 25:          0          0          0          0       GIC  25  vgic
 35:      20098          0          0          0       GIC  35  osd_vsync, vsync
 38:      40174          0          0          0       GIC  38  timerC
 40:        155        371          0          0       GIC  40  eth0
 58:          0          0          0          0       GIC  58  meson_uart
 62:          0          0          0          0       GIC  62  dwc_otg, dwc_otg_hcd:usb2, dwc_otg_pcd
 63:     748497          0          0    2460326       GIC  63  dwc_otg, dwc_otg_hcd:usb1
 78:          0          0          0          0       GIC  78  deinterlace
 89:          0          0          0          0       GIC  89  hdmitx
 92:      79391          0          0          0       GIC  92  MESON TIMER-F
 93:          0      13733          0          0       GIC  93  MESON TIMER-G
 94:          0          0      14402          0       GIC  94  MESON TIMER-H
 95:          0          0          0       7794       GIC  95  MESON TIMER-I
 99:          1          0          0          0       GIC  99  sd_emmc_mmc_in
101:          0          0          0          0       GIC 101  sd_emmc_mmc_out
121:      20097          0          0          0       GIC 121  rdma, osd_rdma
182:          0          0          0          0       GIC 182  ge2d
192:          0          0          0          0       GIC 192  Mali_GP
193:          0          0          0          0       GIC 193  Mali_GP_MMU
194:          0          0          0          0       GIC 194  Mali_PP_Broadcast
196:          0          0          0          0       GIC 196  Mali_PP0
197:          0          0          0          0       GIC 197  Mali_PP0_MMU
198:          0          0          0          0       GIC 198  Mali_PP1
199:          0          0          0          0       GIC 199  Mali_PP1_MMU
200:          0          0          0          0       GIC 200  Mali_PP2
201:          0          0          0          0       GIC 201  Mali_PP2_MMU
225:          0          0          0          0       GIC 225  meson_uart
231:          3          0          0          0       GIC 231  hdmi_aocec
241:        407          0          0          0       GIC 241
242:          3          0          0          0       GIC 242
249:          0          0          0          0       GIC 249  sd_emmc
250:       3544          0        478          0       GIC 250  sd_emmc
IPI0:      2613       3400       8795       3609       Rescheduling interrupts
IPI1:         8          7         10         10       Function call interrupts
IPI2:         1          2          5          1       Single function call interrupts
IPI3:         0          0          0          0       CPU stop interrupts
IPI4:         0          0          0          0       Timer broadcast interrupts
IPI5:       180        102        253        175       IRQ work interrupts

I force on dietpi the same interrupt affinity like armbian (after boot).

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines