-
Notifications
You must be signed in to change notification settings - Fork 0
/
dev-dax.fio
45 lines (42 loc) · 1.06 KB
/
dev-dax.fio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[global]
bs=2m
ioengine=dev-dax
norandommap
time_based=1
runtime=30
group_reporting
disable_lat=1
disable_slat=1
disable_clat=1
clat_percentiles=0
cpus_allowed_policy=split
# For the dev-dax engine:
#
# IOs always complete immediately
# IOs are always direct
#
iodepth=1
direct=0
thread=1
numjobs=16
#
# The dev-dax engine does IO to DAX device that are special character
# devices exported by the kernel (e.g. /dev/dax0.0). The device is
# opened normally and then the region is accessible via mmap. We do
# not use the O_DIRECT flag because the device is naturally direct
# access. The O_DIRECT flags will result in failure. The engine
# access the underlying NVDIMM directly once the mmapping is setup.
#
# Check the alignment requirement of your DAX device. Currently the default
# should be 2M. Blocksize (bs) should meet alignment requirement.
#
# An example of creating a dev dax device node from pmem:
# ndctl create-namespace --reconfig=namespace0.0 --mode=dax --force
#
filename=/dev/dax0.0
[dev-dax-write]
rw=randwrite
stonewall
[dev-dax-read]
rw=randread
stonewall