Pcornel
Storage · Storage Performance

Benchmarking

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

Back to the Topic

Answer

A valid benchmark defines data set, cache state, duration, warm-up, block size, randomness, read/write mix, concurrency, queue depth, durability semantics and measurement point. Results must distinguish burst from steady state and synthetic capability from application relevance.

Remember

  • Benchmark score ≠ production performance.
  • Peak result ≠ sustained result.
  • Cache-hot result ≠ backing-storage result.
  • Different block size, mix, queue depth or durability settings make headline comparisons invalid.

First checks

  • fio --name=bench --filename=<dev or file> --rw=randrw --rwmixread=70 --bs=4k --iodepth=32 --numjobs=4 --direct=1 --runtime=120 --time_based --group_reporting — fio benchmark
  • diskspd -b8K -d60 -o32 -t4 -r -w30 -Sh D:\test.dat — Windows DiskSpd
  • ioping -c 20 <dir> — latency

Verify in this order

test pattern → device → IOPS/MB/s/latency

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 → Benchmarking 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=3868

Confirmation

Confirm action

Continue?