Commit | Line | Data |
---|---|---|
ae0db592 TI |
1 | [global] |
2 | bs=4k | |
0e684e9d | 3 | size=10g |
ae0db592 TI |
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 | 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 |
25 | direct=1 |
26 | ||
27 | # | |
28 | # sync=1 means that pmem_drain() is executed for each write operation. | |
ae0db592 | 29 | # |
67719e13 ŁS |
30 | sync=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 | # | |
40 | scramble_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 | # |
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. |
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 |
63 | directory=/mnt/pmem | |
ae0db592 TI |
64 | |
65 | [libpmem-seqwrite] | |
66 | rw=write | |
67 | stonewall | |
68 | ||
0e684e9d ŁS |
69 | [libpmem-seqread] |
70 | rw=read | |
71 | stonewall | |
ae0db592 TI |
72 | |
73 | #[libpmem-randwrite] | |
74 | #rw=randwrite | |
75 | #stonewall | |
76 | ||
77 | #[libpmem-randread] | |
78 | #rw=randread | |
79 | #stonewall |