iodepth
Iodepth is a parameter used in storage I/O benchmarking and tuning that specifies the maximum number of outstanding I/O operations that can be in flight for a given thread, queue, or I/O context. It is commonly exposed by benchmarking tools such as fio and by storage controllers that expose queue depth settings. The value determines how aggressively the system issues I/O requests ahead of completion.
Iodepth works with the device’s own queue and the system’s I/O scheduler. A higher iodepth can improve
Guidelines for choosing iodepth depend on workload and hardware. For hard disk drives, values in the low
In fio, iodepth is the number of outstanding I/O requests per thread (or per job, depending on
Example: fio --name=benchmark --ioengine=libaio --iodepth=64 --rw=randread --bs=4k --size=1G --numjobs=4 --direct=1.