Interview Prep/Linux/Performance & the USE Method

How do you read `iostat -xz 1`?

IntermediateProductionPerformance & the USE Method
Answer

Key columns per device:

  • r/s, w/s, rkB/s, wkB/s: IOPS and throughput.
  • r_await, w_await: average ms per I/O including queue time; the latency the app feels.
  • aqu-sz: average queue length; saturation signal.
  • %util: time the device was busy. Near 100% matters on a single spinning disk, but NVMe and cloud volumes process many I/Os in parallel, so they can show 100% and still have headroom; trust await and the volume's IOPS limits instead.

-z hides idle devices.

All Linux questions Roadmap: Linux

More on Performance & the USE Method