Storage · Storage Troubleshooting
High Queue Depth
Cheat sheet · https://pcornel.dk/topic.php?topic=4392
Answer
Queues can exist at applications, block schedulers, HBAs/NICs, targets, controllers and media. Queue depth must be interpreted with latency, service rate and workload demand.
Remember
- High queue depth ≠ root cause by itself.
- A queue at one layer ≠ the same requests are queued at every layer.
- More queue depth can increase throughput until a service boundary saturates, then mostly increases latency.
- Low queue depth ≠ healthy storage when demand is stalled upstream.
First checks
iostat -x 1 (aqu-sz)— queuecat /sys/block/<dev>/device/queue_depth— limitesxtop (QUED)— ESXi queued
Verify in this order
demand > service rate → queue grows
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 Queue Depth 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 | Workload concurrency → host submission queue → path/target queue → controller/pool queue → media service → completion → queue drain | Healthy adjacent layers do not prove end-to-end health |
| Failure boundary | High queue depth proves outstanding work accumulated at the measured layer; it does not prove why service is slow or that increasing queue limits will help. | Correlate evidence for the same operation and timestamps |
| Acceptance | Healthy evidence shows queue depth and latency appropriate for the workload with stable completion rate and no unexplained accumulation. | 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=4392