Pcornel
Storage · Storage Performance

Performance Troubleshooting

Cheat sheet · https://pcornel.dk/topic.php?topic=3869

Back to the Topic

Answer

Storage performance troubleshooting compares the slow period with a known-good baseline and measures latency, IOPS and queueing at each layer — host, network, controller, pool and disks — to find the first layer that behaves differently.

Remember

  • Slow application ≠ storage root cause.
  • High disk utilization ≠ proven storage bottleneck.
  • Low IOPS does not prove idle storage if requests are blocked upstream.
  • A temporary improvement after cache flush, restart or queue change is not a durable fix until the original workload is verified.

First checks

  • iostat -x 1 — device metrics
  • pidstat -d 1 — I/O per process
  • biolatency / biotop (bcc) — latency distribution

Commands

iostat -xz 1 5
Sample storage latency and queue depth. Focus fields: device utilization, await, read/write latency, queue depth, IOPS …

Verify in this order

symptom → process → device → layer → fix

Where it usually breaks

First mismatch in workload → filesystem/volume → queue/cache → path/protocol → controller/pool → media/backend → observed completion; preserve identity/pre-state before mutation.

Storage Performance → Performance Troubleshooting performance map

Measure/boundaryWhat to readProof limit
Workload shapeBlock size, random/sequential pattern, read/write mix, concurrency and working setWithout workload shape, performance metrics are not comparable
Service rateIOPS and throughput at the same time windowHigh service rate does not prove low latency or efficiency
Delay/queueingAverage plus tail latency and outstanding queue depthA spike identifies pressure, not automatically root cause
AcceptanceRepresentative workload meets its latency/throughput objective in steady stateRequired to close the performance investigation

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3869

Confirmation

Confirm action

Continue?