Optimal I/O size
Optimal I/O size is a Linux block-layer hint for the preferred request unit for sustained I/O, expressed in bytes.
Zero means no optimum was reported, not that zero-length requests are useful. Treat the value as a workload starting point, not a measured best size for every application. [1]
Relations
Advantages
- The blockdev --getioopt query can record the hint without issuing a data write. [2]
Limitations
- For partitions, lsblk can inherit queue attributes from the parent, so matching rows are not independent device measurements. [3]
Citations
- Linux 6.12: stable sysfs block ABI, sector sizes and I/O topology
- util-linux 2.40.2: blockdev query options and byte units
- util-linux 2.40.2: lsblk explicit columns and inherited queue attributes
Further reading
Sources & caveats
- Linux v6.12 ABI and util-linux v2.40.2 manuals define the scope; no universal throughput gain is claimed.