Skip to content

Instantly share code, notes, and snippets.

@memoryleak
Created October 29, 2021 11:12
Show Gist options
  • Save memoryleak/3e977d0b8d2440f90f39cff908cb745b to your computer and use it in GitHub Desktop.
Save memoryleak/3e977d0b8d2440f90f39cff908cb745b to your computer and use it in GitHub Desktop.
Disk benchmark
fio \
--name=random-write-4k \
--ioengine=posixaio \
--rw=randwrite \
--bs=4k \
--size=4g \
--numjobs=1 \
--iodepth=1 \
--runtime=60 \
--time_based \
--end_fsync=1 \
--output-format=csv
fio \
--name=random-write-64k \
--ioengine=posixaio \
--rw=randwrite \
--bs=64k \
--size=256m \
--numjobs=16 \
--iodepth=16 \
--runtime=60 \
--time_based \
--end_fsync=1 \
--output-format=csv
fio \
--name=random-write-1m \
--ioengine=posixaio \
--rw=randwrite \
--bs=1m \
--size=16g \
--numjobs=1 \
--iodepth=1 \
--runtime=60 \
--time_based \
--end_fsync=1 \
--output-format=csv
fio \
--name=random-read-4k \
--ioengine=posixaio \
--rw=randread \
--bs=4k \
--size=4g \
--numjobs=1 \
--iodepth=1 \
--runtime=60 \
--time_based \
--end_fsync=1 \
--output-format=csv
fio \
--name=random-read-64k \
--ioengine=posixaio \
--rw=randread \
--bs=64k \
--size=256m \
--numjobs=16 \
--iodepth=16 \
--runtime=60 \
--time_based \
--end_fsync=1 \
--output-format=csv
fio \
--name=random-read-1m \
--ioengine=posixaio \
--rw=randread \
--bs=1m \
--size=16g \
--numjobs=1 \
--iodepth=1 \
--runtime=60 \
--time_based \
--end_fsync=1 \
--output-format=csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment