Pcornel
Storage · Storage Monitoring

Queue Depth

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

Back to the Topic

Answer

Queue depth is the number of outstanding I/O requests waiting at a device, HBA or LUN. Some queuing is needed for throughput, but a persistently full queue with rising latency means the storage is saturated.

Remember

  • Some queuing is needed for throughput.
  • Full queues with rising latency mean saturation.
  • Queue limits exist per device, HBA and LUN.

First checks

  • iostat -x 1 (aqu-sz) — queue size
  • rate(node_disk_io_time_weighted_seconds_total[5m]) — Prometheus queue
  • Get-Counter '\PhysicalDisk(*)\Avg. Disk Queue Length' — Windows

Commands

esxcli storage core device set -d naa.xxx -O <outstanding>
esxcli storage core device list

Verify in this order

outstanding I/O → queue metrics

Where it usually breaks

First mismatch in workload → filesystem/volume → queue/cache → path/protocol → controller/pool → media/backend → observed completion; preserve identity/pre-state before mutation.

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

Confirmation

Confirm action

Continue?