Last active
November 8, 2023 02:24
-
-
Save Thinkscape/67d4fb3f2f39f25421171138054dfb5a to your computer and use it in GitHub Desktop.
disk benchmark using fio at different block sizes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
for bs in 4k 16k 64k 256k 1M 4M; do | |
echo "Running burst speed test of $1 with block size $bs"; | |
fio --name=burst_speed_test --ioengine=libaio --iodepth=1 --rw=rw --direct=1 --runtime=60 --time_based \ | |
--verify=crc32c --do_verify=1 --verify_fatal=1 --verify_dump=1 --verify_backlog=1000 \ | |
--filename=$1 --bs=$bs --numjobs=1 --group_reporting; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment