Use it to understand storage concurrency, saturation and the trade-off between keeping a device busy and increasing wait time.
Queue Depth
Queue depth is how many I/O requests can be outstanding at once. In virtualization several queues stack up — in the guest, the virtual disk controller, the host and the storage array — and the smallest or busiest one limits performance.
1. Queue depth = outstanding I/Os allowed.
2. Too low limits throughput; too high increases latency.
3. Check HBA, LUN and controller limits.
4. Many VMs share a LUN queue.
5. PV controllers support deeper queues.
guest queue → controller → HBA/LUN queue → array
Compare adjacent queue/service-time metrics and verify whether the queue is cause, effect or expected concurrency.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show which upstream or downstream component created the bottleneck without adjacent measurements.
Next check: Compare adjacent queue/service-time metrics and verify whether the queue is cause, effect or expected concurrency.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
guest submission → virtual queue → host/path queue → backend queue → completion → queue drain
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.
- Queue depth is not one universal counter; each layer may expose a different queue.
- A higher queue can improve throughput on some backends while increasing latency.
- A low queue does not prove performance is healthy if service time is already high.
- Guest queue limits and backend queue capabilities may not match.
cat /sys/block/sda/device/queue_depth— device queue depthiostat -x 1 (aqu-sz)— average queue sizeesxtop (DQLEN, ACTV, QUED)— ESXi queues
ReferenceHow it works1 section · depth on demand
Guest-to-physical journey
Queue Depth should be traced end to end as: guest outstanding I/O → virtual controller queue → hypervisor/backend queue → host HBA/NIC/path → array/device queue → completion latency.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
High queue ≠ root cause by itself; low queue ≠ healthy service time.
In depth
Queue depth decides how many I/Os can be outstanding at each layer: guest controller (PVSCSI default 64 per device, configurable to 254), host per-LUN queue (DQLEN), HBA queue and array port queue. The smallest queue in the path limits throughput.
esxcli storage core device list -d naa.xxx | grep -i 'queue depth'
esxcli system module parameters list -m nfnic | grep -i queue # HBA driver example
cat /sys/block/sda/device/queue_depth # Linux guest
Increasing queues only helps if the backing storage has spare capacity; otherwise it just moves the wait elsewhere.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Virtual Storage → Queue Depth. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/storage.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Virtual Storage → Queue Depth reference map
Fast virtual-storage boundaries for Virtual Storage → Queue Depth.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Guest queue | OS/device outstanding I/O | Front-end |
| Virtual queue | controller/virtio | Hypervisor |
| Host/path queue | block/HBA/network | Transport |
| Backend queue | array/device/service | Service |