Pcornel
Storage · Storage Troubleshooting

High Queue Depth

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

Back to the Topic

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) — queue
  • cat /sys/block/<dev>/device/queue_depth — limit
  • esxtop (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 boundaryWhat to verifyProof limit
Scope / identityExact workload, object/device identity, affected hosts and incident windowSymptom naming alone is not root-cause proof
Dependency pathWorkload concurrency → host submission queue → path/target queue → controller/pool queue → media service → completion → queue drainHealthy adjacent layers do not prove end-to-end health
Failure boundaryHigh 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
AcceptanceHealthy 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

Confirmation

Confirm action

Continue?