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

A server's disk I/O is high, yet `iotop` shows no process doing I/O.

AdvancedTroubleshootingLoad, CPU and I/O performance
Answer

Likely causes → Kernel threads doing writeback (kworker/flush), journal commits (jbd2), swap, RAID resync, or I/O from another VM on shared storage.

Diagnose →

sudo iotop -oPa -k          # include kernel threads
cat /proc/mdstat
vmstat 1 5                  # si/so for swap
sudo biosnoop-bpfcc 2>/dev/null | head    # per-I/O process attribution (bcc tools)

Fix → Depends on source: limit RAID resync speed, address swapping, tune dirty page writeback.

Prevent → Have eBPF tools (bcc/bpftrace) installed for attribution.

All Linux questions Roadmap: Linux

More on Load, CPU and I/O performance