docs: update for new data placement options
[fio.git] / examples / libpmem.fio
CommitLineData
ae0db592
TI
1[global]
2bs=4k
0e684e9d 3size=10g
ae0db592
TI
4ioengine=libpmem
5norandommap
cd041bf4 6time_based
ae0db592
TI
7group_reporting
8invalidate=1
9disable_lat=1
10disable_slat=1
11disable_clat=1
12clat_percentiles=0
13
14iodepth=1
15iodepth_batch=1
2d21a787 16thread
ae0db592 17numjobs=1
67719e13 18runtime=300
ae0db592 19
ae0db592 20#
67719e13
ŁS
21# depends on direct option, flags are set for pmem_memcpy() call:
22# direct=1 - PMEM_F_MEM_NONTEMPORAL,
23# direct=0 - PMEM_F_MEM_TEMPORAL.
ae0db592 24#
67719e13
ŁS
25direct=1
26
27#
28# sync=1 means that pmem_drain() is executed for each write operation.
ae0db592 29#
67719e13
ŁS
30sync=1
31
0e684e9d
ŁS
32#
33# In case of 'scramble_buffers=1', the source buffer
34# is rewritten with a random value every write operation.
35#
36# But when 'scramble_buffers=0' is set, the source buffer isn't
37# rewritten. So it will be likely that the source buffer is in CPU
38# cache and it seems to be high write performance.
39#
40scramble_buffers=1
ae0db592
TI
41
42#
0e684e9d
ŁS
43# Setting for fio process's CPU Node and Memory Node.
44# Set proper node below or use `numactl` command along with FIO.
ae0db592
TI
45#
46numa_cpu_nodes=0
47numa_mem_policy=bind:0
48
49#
50# split means that each job will get a unique CPU from the CPU set
51#
52cpus_allowed_policy=split
53
54#
67719e13 55# The libpmem engine does IO to files in a DAX-mounted filesystem.
0e684e9d 56# The filesystem should be created on a Non-Volatile DIMM (e.g /dev/pmem0)
ae0db592
TI
57# and then mounted with the '-o dax' option. Note that the engine
58# accesses the underlying NVDIMM directly, bypassing the kernel block
59# layer, so the usual filesystem/disk performance monitoring tools such
60# as iostat will not provide useful data.
61#
0e684e9d
ŁS
62#filename=/mnt/pmem/somefile
63directory=/mnt/pmem
ae0db592
TI
64
65[libpmem-seqwrite]
66rw=write
67stonewall
68
0e684e9d
ŁS
69[libpmem-seqread]
70rw=read
71stonewall
ae0db592
TI
72
73#[libpmem-randwrite]
74#rw=randwrite
75#stonewall
76
77#[libpmem-randread]
78#rw=randread
79#stonewall