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

`top` shows `wa` at 60% and the application is crawling.

BeginnerTroubleshootingLoad, CPU and I/O performance
Answer

Likely causes → CPUs are idle waiting for disk I/O to complete; the disk is the bottleneck.

Diagnose →

iostat -xz 1 5            # which device, %util, await
sudo iotop -oPa           # which process
pidstat -d 1 5

Fix → Stop or throttle the heavy I/O process (ionice -c3 -p <PID>), move it off-peak, or upgrade storage (more IOPS/throughput).

Prevent → Separate volumes for logs, data and backups; monitor disk await.

All Linux questions Roadmap: Linux

More on Load, CPU and I/O performance