Pcornel
Storage · Storage Performance

Sequential I/O

Cheat sheet · https://pcornel.dk/topic.php?topic=3859

Back to the Topic

Answer

Sequential access usually reduces seek/mapping overhead and can combine operations into larger transfers, but performance still depends on block size, queueing, cache, controller, RAID layout and backend. Sequential benchmarks are not representative of random transactional workloads.

Remember

  • Sequential ≠ automatically fast.
  • Logical sequential access does not guarantee physically contiguous media placement.
  • Sequential throughput does not predict random IOPS.
  • Large streaming I/O can saturate bandwidth while keeping operation count modest.

First checks

  • fio --rw=read --bs=1M --direct=1 ... — sequential test
  • iostat -x 1 (rareq-sz) — request size
  • blktrace / btt — I/O pattern

Verify in this order

contiguous requests → high throughput

Where it usually breaks

First mismatch in workload → filesystem/volume → queue/cache → path/protocol → controller/pool → media/backend → observed completion; preserve identity/pre-state before mutation.

Storage Performance → Sequential I/O performance map

Measure/boundaryWhat to readProof limit
Workload shapeBlock size, random/sequential pattern, read/write mix, concurrency and working setWithout workload shape, performance metrics are not comparable
Service rateIOPS and throughput at the same time windowHigh service rate does not prove low latency or efficiency
Delay/queueingAverage plus tail latency and outstanding queue depthA spike identifies pressure, not automatically root cause
AcceptanceRepresentative workload meets its latency/throughput objective in steady stateRequired to close the performance investigation

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3859

Confirmation

Confirm action

Continue?