Skip to content

Instantly share code, notes, and snippets.

@lukaszstolarczuk
Last active February 13, 2021 19:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukaszstolarczuk/d78d069eaedbe8e35024ef23fcaa5bed to your computer and use it in GitHub Desktop.
Save lukaszstolarczuk/d78d069eaedbe8e35024ef23fcaa5bed to your computer and use it in GitHub Desktop.
Example of FIO workload for dev-dax engine
#
# run command for this workload:
# numactl -N 0 fio DaxSeqR.fio # it binds this FIO workload to CPU 0 only. It should be set according to /dev/daxX socket's number
#
[global]
thread
group_reporting
norandommap
overwrite=1
thinktime=0
sync=0
ioengine=dev-dax
iodepth=1
direct=0
filename=/dev/dax6.0 # Need to work on a file daxX.0
filesize=1TB # file will be of this size
offset_increment=45G # and each of 'numjobs' will get its own space within the file
time_based
runtime=300
ramp_time=30
[SeqRead]
bs=2M
numjobs=20 # depending on CPU core count more can be better, but also can be a bottleneck
rw=randrw
rwmixread=100
percentage_random=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment