Merge branch 'fix-coverity-scan-defect' of https://github.com/parkvibes/fio
[fio.git] / examples / xnvme-fdp.fio
CommitLineData
e5f3b613
AK
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-fdp.fio \
7; --section=default \
8; --ioengine=xnvme \
9; --xnvme_async=io_uring_cmd \
10; --filename=/dev/ng0n1
11;
12; # Use the xNVMe io-engine engine with nvme sync. impl.
13; fio examples/xnvme-fdp.fio \
14; --section=default \
15; --ioengine=xnvme \
16; --xnvme_sync=nvme \
17; --filename=/dev/ng0n1
18;
48cf0c63
AK
19; # Use the xNVMe io-engine engine with SPDK backend, note that you have to set the Namespace-id
20; fio examples/xnvme-fdp.fio \
21; --section=default \
22; --ioengine=xnvme \
23; --xnvme_dev_nsid=1 \
24; --filename=0000\\:01\\:00.0
25;
26; NOTE: The URI encoded in the filename above, the ":" must be escaped.
27;
28; On the command-line using two "\\":
29;
30; --filename=0000\\:01\\:00.0
31;
32; Within a fio-script using a single "\":
33;
34; filename=0000\:01\:00.0
35;
36; NOTE: If you want to override the default bs, iodepth, and workload, then
37; invoke it as:
38;
e5f3b613
AK
39; FIO_BS="512" FIO_RW="read" FIO_IODEPTH=16 fio examples/xnvme-fdp.fio \
40; --section=override --ioengine=xnvme --xnvme_sync=nvme --filename=/dev/ng0n1
41;
42[global]
43rw=randwrite
44size=2M
45iodepth=1
46bs=4K
47thread=1
48fdp=1
49fdp_pli=4,5
50
51[default]
52
53[override]
54rw=${FIO_RW}
55iodepth=${FIO_IODEPTH}
56bs=${FIO_BS}