Skip to content

Instantly share code, notes, and snippets.

@lukaszstolarczuk
Created September 3, 2018 12:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukaszstolarczuk/b97f2650a29233e7a8aa0dee26892339 to your computer and use it in GitHub Desktop.
Save lukaszstolarczuk/b97f2650a29233e7a8aa0dee26892339 to your computer and use it in GitHub Desktop.
Example of FIO workload for pmemblk engine
#
# run command for this workload:
# numactl -N 0 fio PmemblkSeqR.fio # it binds this FIO workload to CPU 0 only, according to /dev/pmem6 socket's number
#
[global]
thread
group_reporting
norandommap
overwrite=1
thinktime=0
sync=0
ioengine=pmemblk
iodepth=1
direct=1
#
# Preparing namespace with commands:
# mkfs.ext4 /dev/pmem6
# mount /dev/pmem6 /mnt/pmem6/ -o dax
#
filename=/mnt/pmem6/testjob,4096,1024000
#size=1024000M
unlink=1
time_based
runtime=300
ramp_time=30
[SeqRead]
#bs=4k
numjobs=18 # 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