Storage · Storage Troubleshooting
High Latency
Cheat sheet · https://pcornel.dk/topic.php?topic=4389
Answer
Latency is end-to-end completion time. Break it across host queue/service, protocol/path, controller/cache, pool and media instead of treating one average metric as the cause.
Remember
- High latency ≠ high IOPS automatically.
- Average latency ≠ tail latency; spikes can dominate user experience.
- Busy utilization ≠ constrained boundary without queue/service-time evidence.
- Low network RTT ≠ low storage I/O latency.
First checks
iostat -x 1— await per devicepidstat -d 1— process doing I/Oesxtop / array latency— backend
Commands
multipath -ll
Verify in this order
I/O → queue → device/backend latency
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 → High Latency 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 I/O → filesystem/block submission → host queue → multipath/protocol → controller/cache → pool/backend → media → completion latency | Healthy adjacent layers do not prove end-to-end health |
| Failure boundary | A latency spike proves requests took longer to complete at the measured boundary; it does not identify the constrained component unless adjacent timing and queue evidence agree. | Correlate evidence for the same operation and timestamps |
| Acceptance | Healthy evidence shows latency percentiles returning to baseline for the same workload shape with stable queues and no correlated backend faults. | 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=4389