io-request-size · shipping · also Benchmark block size

I/O request size

I/O request size is the number of bytes requested by one input/output operation at a specified system boundary.

A load generator's block size sets bytes per I/O, with a default of 4096 bytes, and separate sizes can apply to reads, writes and trims. A size split sets an operation mix: 10% at 4 KiB, 50% at 64 KiB and 40% at 32 KiB gives a mean of 45.2 KiB per operation, so throughput equals IOPS times 45.2 KiB. [1] This size is distinct from a device's logical sector or a filesystem allocation unit.

Kernel request merging can change counts and sizes below the application boundary: two adjacent 4K reads may become one 8K read, counted and queued as one I/O. [2] A writable per-queue limit caps the kilobytes allowed in one filesystem request, at or below the hardware maximum, and merge attempts can be partly or fully disabled. [4]

When relating successful data-transfer IOPS to bytes/s, use the actual completed bytes and the matching operation population, especially if sizes vary or transfers are short. A device may also report a minimum I/O size, often the physical block size for disks or the chunk size for RAID arrays, below which requests incur a performance penalty. [4]

Relations

related
IOPS, Storage throughput, Queue depth, Logical sector, Physical sector, Partition alignment, Linux blk-mq, Sequential I/O, Random I/O, Direct-I/O alignment, FlashGraph

Advantages

  • Stating the size per operation type lets read, write and trim results be compared without a blended average hiding the mix. [1]

Limitations

  • Counts taken above the merge layer and below it describe different operation populations, so their mean sizes cannot be mixed in one ratio. [2]

Citations

  1. fio documentation: blocksize, bsrange and bssplit; online manual reviewed 23 October 2026. (accessed 2026-10-23)
  2. Linux kernel documentation: I/O statistics fields; completed requests, merged requests and sectors. (accessed 2026-10-23)
  3. Linux kernel documentation: stable ABI, sysfs-block queue attributes max_sectors_kb, minimum_io_size and nomerges. (accessed 2026-10-23)

Further reading

  1. Hesela: IOPS, bytes and average occupancy; synthetic accounting examples. (accessed 2026-10-13)
Sources & caveats
  • fio re-read 2026-10-23 for the 4096-byte default, per-direction sizes and the bssplit example mix.
  • linux-iostats re-read 2026-10-23 for merged-request fields and the two 4K reads merged into one 8K read.
  • linux-sysfs-block read 2026-10-23 for max_sectors_kb, max_hw_sectors_kb, minimum_io_size and nomerges.
  • The 45.2 KiB mean is arithmetic from the documented example mix, not a measured result.
  • The direct-io-alignment entry links here because aligned direct I/O constrains request sizes to multiples of the device block size, which is the boundary this entry defines.
  • A companion analysis on I/O accounting is listed but not used in prose.

JSON: /data/terms/io-request-size.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. I/O request size. Hesela. 2026-11-14. https://hesela.dev/terms/io-request-size/