Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Queue Depth · Storage Performance

Direct answer

Queue depth is the number of I/O requests waiting or in progress at once. Some queueing lets fast storage work in parallel; once latency keeps rising while completed I/O no longer increases, the device or path is saturated.

When to use this

Use it when configuring, checking or troubleshooting Queue Depth in Storage Performance.

First 30 seconds

1. Queue depth = outstanding I/Os.

2. Needed to reach SSD/array performance.

3. Too high increases latency.

4. Check limits at each layer (app, OS, HBA, array).

5. Little's law: IOPS = QD / latency.

Operational verification

outstanding I/O → device parallelism → IOPS/latency

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

Queue occupancy shows outstanding work at that boundary, but it does not show why requests are waiting or whether additional queue depth will improve service rate.

Suspicious evidence: queues grow continuously while completions plateau, upper-layer queues are full while backend is idle, or queue tuning is attempted before the actual limiting boundary is known.

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 it when configuring, checking or troubleshooting Queue Depth in Storage Performance.
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.

3 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 Measurement path Verify boundary

workload concurrency → host queue → adapter/path queue → controller/pool queue → media service → completion/backpressure

Healthy evidence: queue depth is stable for the workload, extra concurrency yields predictable throughput, and latency remains inside target.

Step 2 Validate queue tuning against latency and fairness Verify boundary

After changing queue, scheduler or workload-concurrency settings, repeat the same I/O profile and compare throughput plus median and tail latency. Confirm no path, controller or backend queue remains saturated and that neighboring workloads have not suffered unacceptable latency. If the goal was to remove a throughput ceiling, verify throughput rises without runaway queue growth; if the goal was latency, verify outstanding I/O falls while required throughput remains. Finally repeat the real application transaction. A lower queue depth can simply mean work is blocked earlier, and a higher throughput benchmark can still violate application latency objectives, so closure requires both layer metrics and workload outcome.

Step 3 Locate where the queue accumulates Narrow the fault

When latency rises with queue depth, determine where outstanding requests stop making progress. If the application issues little concurrency but the backend queue is high, aggregation from other hosts or workloads may be responsible. If the OS queue grows while device utilization remains low, pathing, throttling or driver limits may be constraining dispatch. In multipath environments, compare per-path queues because one degraded path can distort aggregate behavior. Do not increase queue limits until the downstream device and latency profile show spare capacity; deeper queues can hide overload and worsen tail latency. Correlate the queue spike with IOPS, throughput, service time and the original application transaction.

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
  • Queue depth ≠ performance by itself.
  • A deep queue can increase throughput and simultaneously worsen latency.
  • Host queue depth is not the same as controller, array or media queue depth.
  • An empty queue does not prove healthy storage if the workload is blocked before submission.
Key checks
  • iostat -x 1 — aqu-sz (average queue)
  • cat /sys/block/<dev>/device/queue_depth — device limit
  • cat /sys/block/<dev>/queue/nr_requests — block layer limit
ReferenceWhat it is1 section · depth on demand

Outstanding I/O and Little’s Law intuition

Queue depth is the number of I/O operations outstanding at a particular layer, but different tools measure different queues. A workload can have requests waiting in the application, operating-system block layer, HBA, multipath path, array controller or device. Throughput, latency and concurrency are related: at a stable rate, more in-flight work can increase throughput until a bottleneck saturates, after which additional queueing mainly increases latency. Therefore “queue depth 32” has no universal healthy meaning without knowing the device, workload size, read/write mix and measured layer. Compare queue depth with service time and completion latency, not as a standalone utilization percentage.

ReferenceImportant terms & boundaries2 sections · depth on demand

Measurement

Queue occupancy shows outstanding work at that boundary, but it does not show why requests are waiting or whether additional queue depth will improve service rate.

Operational checks for Queue Depth — Measurement and ownership boundary: Anchor stable filesystem/volume/LUN/share/device identities across host, path/fabric, controller/pool and media so retries or multipath do not hide the failed leg.

In depth

Queue depth is the number of I/O requests that can be outstanding at once at a layer — application, OS block device, HBA, array port or SSD. Enough queued I/O keeps fast storage busy; too much just adds waiting time. Little's Law ties these together: outstanding I/Os = IOPS × latency.

LayerExample setting
ApplicationDatabase I/O threads, iodepth in fio
Linux block device/sys/block/sdX/device/queue_depth, nr_requests
HBADriver parameter (e.g. lpfc_lun_queue_depth)
VMwareDevice queue depth, Disk.SchedNumReqOutstanding
NVMeMany deep hardware queues
cat /sys/block/sdb/device/queue_depth
iostat -x 5 | awk 'NR<4 || /sdb/'      # aqu-sz = average queue
fio --name=t --filename=/dev/sdb --rw=randread --bs=4k --iodepth=32 --runtime=30 --direct=1 --readonly

If latency rises sharply while IOPS stays flat as queue depth increases, the device is saturated; follow vendor guidance before changing queue depths.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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 Performance → Queue Depth. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.kernel.org/admin-guide/iostats.html · confidence 94%
Terminology layer

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.

Aliases that resolve here
queue depthstorage queuedisk queue
Embedded reference data

Quick lookup tables

Storage Performance → Queue Depth performance map

Fast measurement, correlation and proof boundaries for Storage Performance → Queue Depth.

Measure/boundaryWhat to readProof limit
Workload shapeBlock size, random/sequential pattern, read/write mix, concurrency and working setWithout workload shape, performance metrics are not comparable
Service rateIOPS and throughput at the same time windowHigh service rate does not prove low latency or efficiency
Delay/queueingAverage plus tail latency and outstanding queue depthA spike identifies pressure, not automatically root cause
AcceptanceRepresentative workload meets its latency/throughput objective in steady stateRequired to close the performance investigation
Confirmation

Confirm action

Continue?