Remove All Ads from XDA
Honor View 10

Help: Busybox's top shows high load avg, /proc/loadavg agrees. No apparent reason.

27 posts
Thanks Meter: 8
By thesh0ck, Junior Member on 30th July 2012, 02:10 PM
Post Reply Email Thread

I noticed on my other phones (Samsung Vibrant[original galaxy s], and Motorola Atrix 4g) that when I use bysybox's top, it shows my load avg (with screen off in adb shell over usb) at around 0.1-1.5 depending what might be runningin the background. It shows these same values if I run busybox uptime.

However on this phone busybox's top/uptime shows it consistently between 8-10 (yes 8 and 10, not 0.8 and 0.10) for 1min/5/15min times...

Anyone have any idea why it shows it so high? It supports smp and I'm using what I suppose is the newest or close enough to the newest version:

BusyBox v1.20.2-Stericson (2012-07-04 21:33:31 CDT) multi-call binary.

iostat shows 0.51tps and about 50blk reads a sec for the /sdcard partition, but nothing else really going on.... total for all partitions is:

Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
mmcblk0 1.24 89.85 9.84 2263044 247828

So not really crazy io that would cause a load over 1, its currently only using 1 cpu and load is at:

CPU0: 1.7% usr 1.3% sys 0.0% nic 96.8% idle 0.0% io 0.0% irq 0.0% sirq
Load average: 8.02 8.25 8.68 1/920 15024

Old phones(one for example as i'm late for work):
CPU: 2.1% usr 3.3% sys 0.0% nic 94.3% idle 0.0% io 0.1% irq 0.0% sirq
Load average: 0.10 1.52 1.65 1/411 4925

Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
mmcblk0 0.85 69.64 3.24 1348666 62695
stl9 0.38 30.53 0.05 591168 992

So because this old phone has two different types of block devices you can see that added up they are very close, as is cpu usage. Yet load on old phone is maxing out at 2 under heavy load, but blaze is never less than 8, sometimes 9 or 10 even when screen is off and it doesnt appear to be doing anything (90%+ cpu idle and low io usage).

Actually now that I look..... /proc/loadavg says its that high too (just rebooted phone hence lower 5/15min avgs):

# cat /proc/loadavg
8.15 7.09 3.88 1/893 2550

So busybox is reporting what is see's there so its not busybox itself, but perhaps the kernel? I'm using the stock rooted kernel. Doesn anyone have a diff or changelog of the stock kernel so I can see what was changed to enable root?

I'd like to see if we can figure this out as the load is clearly not that high due to cpu or i/o load 24/7 but the numbers always are on this phone, even if you close everything.

Thanks for anyone who might have some information on why the load value would be so off (it is off in /proc/loadavg as well)

Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes