Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Queue Depth · Storage Monitoring

Direct 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.

When to use this

Use this when interpreting I/O queue depth.

First 30 seconds

1. Queue depth monitoring shows saturation.

2. Growing queues with latency = bottleneck.

3. Compare to device capability.

4. Per path/device.

5. Alert on sustained growth.

Operational verification

outstanding I/O → queue metrics

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Storage performance and observability
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformStorage performance and observability
Scope / prerequisiteUse this when interpreting I/O queue depth.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Raising queue depth to hide a slow device.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Some queuing is needed for throughput.
  • Full queues with rising latency mean saturation.
  • Queue limits exist per device, HBA and LUN.
Key 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
ReferenceHow it works1 section · depth on demand

Tuning

Raise queue depth only when the backend has headroom (array vendor guidance). On ESXi: esxcli storage core device set -d naa.xxx -O <outstanding>; on Linux NVMe the defaults are usually fine.

ReferenceImportant terms & boundaries3 sections · depth on demand

In depth

Queue depth: how many I/Os are waiting or in flight

sar(1) reports aqu-sz as the average queue length of requests issued to the device. By Little's law, queue length ≈ IOPS × latency:

aqu-sz ≈ tps × await / 1000
Example: 4000 IOPS × 2 ms = 8 outstanding I/Os
$ sar -d -p 1 5 | grep -E 'DEV|sdb'
DEV   tps     await  aqu-sz  %util
sdb   4012.0   2.10    8.43  99.10
$ cat /sys/block/sdb/device/queue_depth      # SCSI device queue depth
64
$ cat /sys/block/sdb/queue/nr_requests
256

Reading it

Device typeInterpretation
Single HDDQueue above 2–4 adds latency with little gain
SSD / NVMeNeeds a queue (often 16–64+) to reach rated IOPS
SAN LUNLimited by host HBA queue, LUN queue and array port queues
VM virtual diskVirtual controller queue may be the limit

Where queues are limited

LayerSetting
ApplicationThreads or async I/O depth
Block layernr_requests
SCSI device/sys/block/<dev>/device/queue_depth
HBADriver module parameters (vendor-specific)
HypervisorPer-VM or per-datastore limits
ArrayFront-end port queue

Symptoms

  • Low IOPS with low aqu-sz and low latency: the workload does not issue enough parallel I/O. The storage is waiting for work.
  • High aqu-sz with high latency: demand exceeds what the device serves.
  • Raising host queue depth on shared SAN storage can push the problem onto the array port. Coordinate with the array's documented limits.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

Queue depth is the number of outstanding I/Os. Little's law ties them together: IOPS = queue depth ÷ latency. A device with 0.1 ms latency at QD 1 delivers about 10 000 IOPS; to reach 200 000 IOPS it needs a queue depth around 20.

Too low a queue depth wastes fast devices; too high just adds latency. Queue depth limits exist per LUN in the HBA driver and per device in the hypervisor (esxcli storage core device list shows Device Max Queue Depth).

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docStorage performance and observability current

Authoritative/upstream documentation reviewed for bounded claims in Storage Monitoring → Queue Depth. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://sysstat.github.io/ · confidence 94%
Confirmation

Confirm action

Continue?