-
high load avg
when i use 3 threads to write disk, the load avg can reach 10,
iowait is 80%. the cpu load avg is meaning the queu length of running and waiting running threads, but when writing disk, most threads is iowaiting which is not running, why is load high. thanks
-
Loadavg is all about processes waiting for CPU time, not how busy the CPU is as a representation of processing power/time.
So if your applications are waiting on the disk and holding the CPU captive doing nothing while it waits for the disk, the load will rise.
Here is a very good description of how linux loadavg works:
Understanding Linux CPU Load - when should you be worried?