Diskplorer is a small wrapper around fio
that can be used to graph the relationship between concurrency (I/O depth) and
throughput/IOPS.
Diskplorer requires:
- Python 3
- python3-matplotlib
- fio (version 2.0.10 or later)
On Fedora 23, the dependencies can be installed via:
dnf install python3-matplotlib fio
Running diskplorer.py
will create a 100GB test file in the current directory,
and produce a graph named disk-concurrency-response.svg
in the same place.
The test file is not deleted after a run.
Diskplorer also support the following command-line options:
-h, --help show this help message and exit
-d MOUNTPOINT, --mountpoint=MOUNTPOINT
Test disk mounted at MOUNTPOINT
-b DEV, --device=DEV Test block device DEV (overrides --mountpoint)
-s SIZE, --filesize=SIZE
Set SIZE as file size for test
-m N, --max-concurrency=N
Test maximum concurrency level N
-o FILE, --output=FILE
Write output graph to FILE
Here are results on a fairly good NVMe SSD. At its peak, the drive is delivering 1.8GB/sec.