Studio render of an SSD in front of three rows of machined tokens of different lengths, short, medium and long, in tidy lines

Reference · 2 min read

Storage queue depth and workloads

Queue depth describes how many storage operations can be outstanding within a particular part of a path. It is a workload and scheduling concept, not a single number that determines how responsive every application will feel.

How the pieces connect

Applications generate requests with different sizes, dependencies, and access patterns. The operating system and controller organize those requests into queues. Parallel work can improve utilization when the device can service it effectively, but additional queued work can also increase the waiting time for an individual operation. Throughput and latency describe different outcomes.

An everyday example

Copying one large file and opening many small application resources create different patterns. A benchmark that maintains many concurrent operations may report results unlike a lightly loaded desktop session. Both measurements can be valid for their respective conditions without either becoming a universal description of the product.

Reading the information in context

Queue limits are not instructions to select the largest available tuning value. Hardware design, the medium, caching, and application dependencies influence the useful operating point. Compare performance reports only when their workloads and units are clear. This conceptual page contains no benchmark executable and does not recommend changes to controller policies on a system holding important data.

Reading map: Storage queue depth and workloadsFirst 3 topics in reading order: How the pieces connect; An everyday example; Reading the information in context. Each topic links to its section or page.INSIDE THIS PAGEStorage queue depth and workloads1How the pieces connect1 paragraph2An everyday example1 paragraph3Reading the informationin context1 paragraph

Storage

Note these before you change anything

Useful facts to have to hand while reading about storage queue depth and workloads.

  • A current backup before any change
  • Controller mode in firmware: AHCI, RAID or NVMe
  • Storage controller driver name and version
  • Drive health shown by the maker's own diagnostics

Storage: Reading and writing data

  1. File systemfiles and folders
  2. Storage stackvolumes and partitions
  3. Controller driverNVMe, AHCI or RAID
  4. Controlleron the board or a card
  5. DriveSSD or HDD
Conceptual schematic of a selected path, not every request. Shown in one direction; the reverse direction uses related layers. Real systems add services, filter drivers and firmware not shown. Highlighted: the layer a driver change affects.