fio: ioengine flag cleanup
[fio.git] / examples / libpmem.fio
1 [global]
2 bs=4k
3 size=8g
4 ioengine=libpmem
5 norandommap
6 time_based
7 group_reporting
8 invalidate=1
9 disable_lat=1
10 disable_slat=1
11 disable_clat=1
12 clat_percentiles=0
13
14 iodepth=1
15 iodepth_batch=1
16 thread
17 numjobs=1
18 runtime=300
19
20 #
21 # In case of 'scramble_buffers=1', the source buffer
22 # is rewritten with a random value every write operations.
23 #
24 # But when 'scramble_buffers=0' is set, the source buffer isn't
25 # rewritten. So it will be likely that the source buffer is in CPU
26 # cache and it seems to be high performance.
27 #
28 scramble_buffers=0
29
30 #
31 # depends on direct option, flags are set for pmem_memcpy() call:
32 # direct=1 - PMEM_F_MEM_NONTEMPORAL,
33 # direct=0 - PMEM_F_MEM_TEMPORAL.
34 #
35 direct=1
36
37 #
38 # sync=1 means that pmem_drain() is executed for each write operation.
39 #
40 sync=1
41
42
43 #
44 # Setting for fio process's CPU Node and Memory Node
45 #
46 numa_cpu_nodes=0
47 numa_mem_policy=bind:0
48
49 #
50 # split means that each job will get a unique CPU from the CPU set
51 #
52 cpus_allowed_policy=split
53
54 #
55 # The libpmem engine does IO to files in a DAX-mounted filesystem.
56 # The filesystem should be created on an NVDIMM (e.g /dev/pmem0)
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 #
62 directory=/mnt/pmem0
63
64 [libpmem-seqwrite]
65 rw=write
66 stonewall
67
68 #[libpmem-seqread]
69 #rw=read
70 #stonewall
71
72 #[libpmem-randwrite]
73 #rw=randwrite
74 #stonewall
75
76 #[libpmem-randread]
77 #rw=randread
78 #stonewall