Pcornel
Storage · Storage Troubleshooting

Performance Troubleshooting

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

Back to the Topic

Answer

Storage performance troubleshooting first describes the workload (block size, read/write mix, random or sequential) and the baseline, then compares latency and queueing at host, path, controller and disks to find where service starts to slow down.

Remember

  • Slow application ≠ storage bottleneck automatically.
  • High utilization ≠ bottleneck without demand/queue/latency evidence.
  • IOPS ≠ throughput ≠ latency; optimize the metric that matches the workload requirement.
  • Benchmark peak ≠ sustained production performance.

First checks

  • iostat -x 1; vmstat 1 — host view
  • pidstat -d 1 — processes
  • fio baseline — expected capability

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 → measure → bottleneck → change → verify

Where it usually breaks

First mismatch in media/provider → controller/pool → logical object → path/protocol → filesystem/share/object namespace → consumer workload; preserve identity/pre-state before mutation.

Storage Troubleshooting → Performance Troubleshooting proof map

Troubleshooting boundaryWhat to verifyProof limit
Scope / identityExact workload, object/device identity, affected hosts and incident windowSymptom naming alone is not root-cause proof
Dependency pathApplication workload shape → filesystem/block submission → host queue → multipath/protocol → controller/cache → pool/backend → media → completion → application responseHealthy adjacent layers do not prove end-to-end health
Failure boundaryA performance metric proves observed behavior at its measurement point; it is root-cause evidence only when workload demand and adjacent queue/service metrics locate the constrained boundary.Correlate evidence for the same operation and timestamps
AcceptanceHealthy evidence shows the original production workload meeting its agreed latency/IOPS/throughput objective with stable tail behavior and no regression elsewhere.Close only after the original workload/recovery test and regression check

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

Confirmation

Confirm action

Continue?