sysstat(foriostat) — e.g.,sudo dnf install sysstaton RHEL/Almapython3andpippython3 -m pip install matplotlib
./run-report.sh <mount-path> [parallelism=1] [stop-percent=99]
Runs write, then update, produces plots, and writes a PDF report.
- Plots:
/var/tmp/write-speed-<device>.jpg/var/tmp/update-speed-<device>.jpg
- Report:
/var/tmp/benchmark-report-<device>-<hostname>-<unix_ts>.pdf- Contains host, run time, uname, lsblk, xfs_info, queue settings, hdparm cache, lspci SAS/SATA info, and embeds the plots.
./run-write-benchmark.sh <mount-path> [parallelism=1] [stop-percent=99]
- Writes 800–1000 MiB chunks until the stop threshold.
- Seed file:
/var/tmp/1GB. - Log:
/var/tmp/write-benchmark-<device>.log(usage%, MB/s).
./run-update-benchmark.sh <mount-path> [parallelism=1]
- Rewrites each
file.*(non-recursive) once with the same size. - Log:
/var/tmp/update-benchmark-<device>.log(iostat).
./plot_benchmark.py /var/tmp/write-benchmark-<device>.log out.jpg
- Generates a JPG plot of usage vs write speed.
./run-full-benchmark.sh <mount-path> [parallelism=1] [stop-percent=99]
- Runs write then update; saves the two plots above.
scripts/write-benchmark.sh,scripts/write-benchmarkscripts/update-benchmark.sh,scripts/update-benchmark