﻿# fio iodepth is a request, not an achieved concurrency result

A synchronous engine, buffered async path or completion batching can prevent fio from reaching its requested depth. Inspect the achieved distribution before interpreting scaling.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/fio-requested-achieved-io-depth/
Language: en

## A depth sweep without deeper queues

A storage comparison increases fio iodepth and sees little change. The conclusion that the device has reached its concurrency limit is premature if the selected engine never submits the intended number of simultaneous operations. The configuration is an offered workload, not evidence of what reached the storage path.

The [fio HOWTO](https://raw.githubusercontent.com/axboe/fio/master/HOWTO.rst) explicitly warns that increasing depth does not generally affect synchronous engines. It recommends examining the achieved I/O-depth distribution rather than accepting the requested value as a measured result.

## Identify the engine's completion model

Record the exact engine, version, buffering mode and job count. The inspected [synchronous engine source](https://raw.githubusercontent.com/axboe/fio/master/engines/sync.c) performs blocking read/write operations and reports their completion through the synchronous path. An asynchronous-looking job parameter does not change that engine contract.

Even asynchronous engines can be limited by operating-system behavior. The HOWTO specifically notes buffered libaio restrictions on Linux. Establish the actual I/O path rather than inferring it from the engine name alone, and keep unsupported or ignored options visible in the retained output.

## Distinguish per-job and aggregate pressure

Requested depth applies within a job's execution context. Several jobs can create aggregate concurrency even when each synchronous job has only a narrow in-flight window. Record both dimensions and avoid comparing configurations that change job count and depth without explanation.

Also record file selection and overlap. Multiple workers targeting one file can introduce contention or verification races that differ from independent files. A higher total request population does not necessarily mean the same per-device queue shape or application access pattern.

## Inspect batching and queue refill

Submission batching, completion collection and the low-water mark influence when fio refills its queue. A test can intentionally drain outstanding work before refilling. Its time-varying depth is then different from a continuously full queue, even if the maximum setting is identical.

Retain the achieved distribution and batching settings with latency results. Completion collection can also affect how observations are grouped. Change one control at a time in a bounded disposable test so the effect is attributable to the intended mechanism.

## Acceptance for a concurrency comparison

Accept the comparison when each candidate demonstrates the intended achieved depth, the same request shape and an explicit job population. Preserve errors, short transfers and workload termination conditions. Do not discard a run whose achieved distribution contradicts its configuration; that contradiction is the diagnostic result.

[Direct-I/O alignment](/journal/guide-storage-direct-io-alignment/) explains another prerequisite when selecting an unbuffered path. [Storage placement](/journal/storage-optimized-hosting/) explains why a synthetic queue experiment must still be related to the model-loading workload.

## Limits of fio evidence

An achieved-depth distribution does not equal a physical device's internal command queue, and throughput does not establish checkpoint durability. No benchmark is executed or fabricated here. The accepted claim is that the intended concurrency was actually offered through the documented engine, making a later scaling result interpretable instead of attributing an unachieved workload to a storage hardware limit.
