Commit | Line | Data |
---|---|---|
ae0db592 TI |
1 | [global] |
2 | bs=4k | |
3 | size=8g | |
4 | ioengine=libpmem | |
5 | norandommap | |
cd041bf4 | 6 | time_based |
ae0db592 TI |
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 | |
2d21a787 | 16 | thread |
ae0db592 | 17 | numjobs=1 |
67719e13 | 18 | runtime=300 |
ae0db592 TI |
19 | |
20 | # | |
21 | # In case of 'scramble_buffers=1', the source buffer | |
2057aedd | 22 | # is rewritten with a random value every write operations. |
ae0db592 | 23 | # |
2057aedd JA |
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. | |
ae0db592 TI |
27 | # |
28 | scramble_buffers=0 | |
29 | ||
30 | # | |
67719e13 ŁS |
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. | |
ae0db592 | 34 | # |
67719e13 ŁS |
35 | direct=1 |
36 | ||
37 | # | |
38 | # sync=1 means that pmem_drain() is executed for each write operation. | |
ae0db592 | 39 | # |
67719e13 ŁS |
40 | sync=1 |
41 | ||
ae0db592 TI |
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 | # | |
67719e13 | 55 | # The libpmem engine does IO to files in a DAX-mounted filesystem. |
ae0db592 TI |
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 |