Pcornel
Storage · Storage Performance

IOPS

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

Back to the Topic

Answer

IOPS counts operations per second, not bytes or responsiveness. The same IOPS can represent radically different throughput depending on block size, and a high IOPS number achieved with deep queues can coexist with unacceptable latency. IOPS capacity is workload- and path-dependent.

Remember

  • IOPS ≠ throughput.
  • IOPS ≠ latency.
  • Advertised maximum IOPS is not the same as sustainable application IOPS.
  • Read IOPS and write IOPS can have different backend cost because caching, parity, replication and media behavior differ.

First checks

  • iostat -x 1 | awk '{print $1,$2,$8}' — r/s and w/s
  • fio --rw=randread --bs=4k --iodepth=32 --direct=1 ... — max random IOPS
  • Get-Counter '\PhysicalDisk(*)\Disk Transfers/sec' — Windows IOPS

Verify in this order

I/O ops → device → IOPS

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 → IOPS 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=3855

Confirmation

Confirm action

Continue?