Performance Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=4409
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 viewpidstat -d 1— processesfio 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 boundary | What to verify | Proof limit |
|---|---|---|
| Scope / identity | Exact workload, object/device identity, affected hosts and incident window | Symptom naming alone is not root-cause proof |
| Dependency path | Application workload shape → filesystem/block submission → host queue → multipath/protocol → controller/cache → pool/backend → media → completion → application response | Healthy adjacent layers do not prove end-to-end health |
| Failure boundary | A 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 |
| Acceptance | Healthy 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