Benchmark Disks With fio
Generate repeatable read/write workloads and report IOPS and latency.
01Command
$ fio --name=test --rw=randwrite --size=200M --filename=/tmp/fio.test --runtime=1002What it does
fio defines an I/O workload precisely, so results are comparable across machines and time, unlike a single dd timing. It can mix queue depths and read/write ratios to mimic databases, and its job files make benchmarks reviewable and version-controlled.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- fio.1.en.html manual page (Debian bookworm)Evidence: Documents fio job files and its many I/O engines and options.
Last verified: 2026-10-13 · Category: System & Settings
06Related solutions
autoremove deletes no-longer-needed dependency packages, and clean wipes the downloaded .deb cache in /var/cache/apt/archives.
lscpu prints the CPU model, socket/core/thread layout, base frequency, and supported instruction flags in a clean summary.
ncdu scans a directory tree, then lets you browse sizes, navigate, and delete space hogs with one keypress.