Interview Prep/Linux/Load, CPU and I/O performance

Load average is 35 on an 8-core server, but `top` shows CPU 85% idle.

IntermediateTroubleshootingLoad, CPU and I/O performance
Answer

Likely causes → Linux load counts tasks in uninterruptible sleep (state D) as well as runnable ones. Many processes blocked on slow disk or NFS raise load without using CPU.

Diagnose →

vmstat 1 5                         # high "b" column and "wa"
ps -eo pid,stat,wchan:30,cmd | awk '$2 ~ /^D/'
iostat -xz 1 3                     # %util, r_await/w_await
cat /proc/pressure/io

Fix → Find the blocked resource: a saturated disk (reduce I/O, move workload, faster volume), or a hung NFS mount (restore server, unmount). Load drops as soon as the blocked tasks complete.

Prevent → Alert on I/O PSI and disk latency, not just load average.

All Linux questions Roadmap: Linux

More on Load, CPU and I/O performance