Skip to content

Instantly share code, notes, and snippets.

@mergwyn
Last active August 28, 2019 17:32
Show Gist options
  • Save mergwyn/1c5567760f8d94d39dca55d3c8e6feef to your computer and use it in GitHub Desktop.
Save mergwyn/1c5567760f8d94d39dca55d3c8e6feef to your computer and use it in GitHub Desktop.
zfs benchmark using fio
# Not sure which is best
# version 1
fio --name=random-write --ioengine=sync --iodepth=4 --rw=randwrite --bs=4k --direct=0 --size=256m --numjobs=16 --end_fsync=1
# Not sure which is best
# version 2
fio --name=seqread --rw=read --direct=0 --ioengine=libaio --bs=1M --numjobs=10 --size=10G --runtime=600 --group_reporting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment