busybox top and multiple cpu cores
Yan Seiner
yan at seiner.com
Thu Oct 6 10:46:39 UTC 2016
How does busybox handle multiple cpu cores?
The 'standard' top will show multiples of 100%, so a 4 core
hyperthreaded cpu can go to 800% utilization.
Busybox seems to cap at 100%. I have a dual core cpu, and I'm not
seeing utilization above 100%. As the one process I have is
single-threaded, I'm confused as to what's happening. A single process
on a dual core machine should take 100% in which case other processes
could use the "other" 100%, or if it is normalized to 100% for all
cores, it should not take more than 50%.
It is always possible that the build is broken, but /proc/cpuinfo shows
two cpus so I'm assuming the system is properly built for smp.
More information about the busybox
mailing list