The simple version
Timing a runner downhill with the wind behind them tells you nothing about their marathon. Good benchmarks run the real course, long enough, and write down the weather.
Tool for the question
| Question | Tool |
|---|---|
| What can one device or client do? | fio |
| Parallel filesystem bandwidth across many clients | IOR |
| Metadata operation rates | mdtest |
| Mixed file/object tests across clients | elbencho |
| S3 throughput | warp |
| Storage for ML training workloads | MLPerf Storage (MLCommons) |
Traps
- Page cache: buffered reads of files that fit in RAM measure memory (Lesson 4). Use direct I/O or data much larger than RAM.
- Fresh drives: write tests before preconditioning overstate SSDs (Lesson 7).
- Too short: seconds-long runs miss steady state and garbage collection.
- Averages only: report p99/p99.9; synchronised training waits on the tail.
- One client: says little about a cluster's aggregate.
Report enough to reproduce
Every result should come with: exact command or job file, tool version, block size, queue depth and job count, data size vs RAM, direct or buffered, runtime, preconditioning, number of clients, hardware and firmware versions, and percentiles. A number without these is an anecdote.
19.8 GB/s from one PCIe Gen4 x4 drive is impossible (~8 GB/s link ceiling), so something else answered.
Tools
fioDevice and client micro-benchmarks.
IOR / mdtestParallel FS bandwidth and metadata (IOR project).
elbenchoDistributed file and object benchmark.
MLPerf StorageMLCommons benchmark for ML training storage.
Quiz
Lab
Lab 8.2 · The impossible benchmark
A vendor report claims one NVMe drive reads at 19.8 GB/s with 50 µs average latency, from this job:
Try it now in the simulator (opens with the command ready; press Enter):
$ fio --name=honest --filename=/dev/nvme0n1 --rw=randread --bs=4k --iodepth=32 --numjobs=4 --ioengine=libaio --direct=1 --runtime=60 --time_based --group_reporting --readonly