Last active
August 25, 2025 12:46
-
-
Save NiceRath/f938a400e3b2c8997ff0556cced27b30 to your computer and use it in GitHub Desktop.
FIO NVMe Disk-Benchmark for 64k-Performance (MSSQL Server)
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
| # TO RUN: | |
| # apt install fio | |
| # add the config-file on your target system | |
| # replace '/dev/nvmeXn1' with either: | |
| # the path to a block-device you want to benchmark (examples: /dev/md1, /dev/sdb, /dev/nvme2n1, /zfs_nvme [or whatever zfs mountpoint you use]) | |
| # the path to a test-file on a mounted partition of ZFS-volume (performance will most likely be worse than on the block-device directly) | |
| # start: fio test.cnf | |
| # NOTE: You might want to lower the iodepth and numjobs to the point where you do not see any improvement - we just eye-balled it | |
| [global] | |
| ioengine=libaio | |
| direct=1 | |
| bs=64k | |
| iodepth=1024 | |
| numjobs=64 | |
| size=20G | |
| filename=/dev/nvmeXn1 | |
| time_based=1 | |
| runtime=120 | |
| stonewall | |
| group_reporting | |
| [read_64k_seq] | |
| rw=read | |
| bs=64k | |
| [write_64k_seq] | |
| rw=write | |
| bs=64k | |
| [rw_64k_seq] | |
| rw=readwrite | |
| bs=64k | |
| [read_128k_seq] | |
| rw=read | |
| bs=128k | |
| [read_4k_rand] | |
| rw=randread | |
| bs=4k | |
| [read_64k_rand] | |
| rw=randread | |
| bs=64k | |
| [write_64k_rand] | |
| rw=randwrite | |
| bs=64k |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment