1[global] 2bs=1m 3ioengine=pmemblk 4norandommap 5time_based=1 6runtime=30 7group_reporting 8disable_lat=1 9disable_slat=1 10disable_clat=1 11clat_percentiles=0 12cpus_allowed_policy=split 13 14# For the pmemblk engine: 15# 16# IOs always complete immediately 17# IOs are always direct 18# Must use threads 19# 20iodepth=1 21direct=1 22thread=1 23numjobs=16 24# 25# Unlink can be used to remove the files when done, but if you are 26# using serial runs with stonewall, and you want the files to be created 27# only once and unlinked only at the very end, then put the unlink=1 28# in the last group. This is the method demonstrated here. 29# 30# Note that if you have a read-only group and if the files will be 31# newly created, then all of the data will read back as zero and the 32# read will be optimized, yielding performance that is different from 33# that of reading non-zero blocks (or unoptimized zero blocks). 34# 35unlink=0 36# 37# The pmemblk engine does IO to files in a DAX-mounted filesystem. 38# The filesystem should be created on an NVDIMM (e.g /dev/pmem0) 39# and then mounted with the '-o dax' option. Note that the engine 40# accesses the underlying NVDIMM directly, bypassing the kernel block 41# layer, so the usual filesystem/disk performance monitoring tools such 42# as iostat will not provide useful data. 43# 44# Here we specify a test file on each of two NVDIMMs. The first 45# number after the file name is the block size in bytes (4096 bytes 46# in this example). The second number is the size of the file to 47# create in MiB (1 GiB in this example); note that the actual usable 48# space available to fio will be less than this as libpmemblk requires 49# some space for metadata. 50# 51# Currently, the minimum block size is 512 bytes and the minimum file 52# size is about 17 MiB (these are libpmemblk requirements). 53# 54# While both files in this example have the same block size and file 55# size, this is not required. 56# 57filename=/pmem0/fio-test,4096,1024 58filename=/pmem1/fio-test,4096,1024 59 60[pmemblk-write] 61rw=randwrite 62stonewall 63 64[pmemblk-read] 65rw=randread 66stonewall 67# 68# We're done, so unlink the file: 69# 70unlink=1 71 72