Fio 3.37
[fio.git] / examples / xnvme-pi.fio
1 ; README
2 ;
3 ; This job-file is intended to be used either as:
4 ;
5 ; # Use the xNVMe io-engine engine io_uring_cmd async. impl.
6 ; fio examples/xnvme-pi.fio \
7 ;   --ioengine=xnvme \
8 ;   --xnvme_async=io_uring_cmd \
9 ;   --filename=/dev/ng0n1
10 ;
11 ; # Use the xNVMe io-engine engine with nvme sync. impl.
12 ; fio examples/xnvme-pi.fio \
13 ;   --ioengine=xnvme \
14 ;   --xnvme_sync=nvme \
15 ;   --filename=/dev/ng0n1
16 ;
17 ; # Use the xNVMe io-engine engine with SPDK backend, note that you have to set the Namespace-id
18 ; fio examples/xnvme-pi.fio \
19 ;   --ioengine=xnvme \
20 ;   --xnvme_dev_nsid=1 \
21 ;   --filename=0000\\:01\\:00.0
22 ;
23 ; NOTE: The URI encoded in the filename above, the ":" must be escaped.
24 ;
25 ; On the command-line using two "\\":
26 ;
27 ; --filename=0000\\:01\\:00.0
28 ;
29 ; Within a fio-script using a single "\":
30 ;
31 ; filename=0000\:01\:00.0
32 ;
33 ; NOTE: This example configuration assumes that the NVMe device is formatted
34 ; with a separate metadata buffer. If you want to run on an extended LBA format
35 ; update the "bs" accordingly.
36 ;
37 [global]
38 size=100M
39 iodepth=16
40 bs=4K
41 md_per_io_size=64
42 pi_act=0
43 pi_chk=GUARD,APPTAG,REFTAG
44 apptag=0x0234
45 apptag_mask=0xFFFF
46 thread=1
47 stonewall=1
48
49 [write]
50 rw=write
51
52 [read]
53 rw=read