1 ; Compare fio IO engines with a random-read workload using BS=4k at QD=1
5 ; This job-file is intended to be used as:
7 ; # Use the built-in io_uring engine to get baseline numbers
8 ; fio examples/xnvme-compare.fio \
10 ; --ioengine=io_uring \
12 ; --filename=/dev/nvme0n1
14 ; # Use the xNVMe io-engine engine with Linux backend and io_uring async. impl.
15 ; fio examples/xnvme-compare.fio \
19 ; --xnvme_async=io_uring \
20 ; --filename=/dev/nvme0n1
22 ; # Use the xNVMe io-engine engine with Linux backend and libaio async. impl.
23 ; fio examples/xnvme-compare.fio \
26 ; --xnvme_async=libaio \
27 ; --filename=/dev/nvme0n1
29 ; # Use the xNVMe io-engine engine with SPDK backend, note that you have to set the Namespace-id
30 ; fio examples/xnvme-compare.fio \
33 ; --xnvme_dev_nsid=1 \
34 ; --filename=0000\\:01\\:00.0
36 ; NOTE: The URI encoded in the filename above, the ":" must be escaped.
38 ; On the command-line using two "\\":
40 ; --filename=0000\\:01\\:00.0
42 ; Within a fio-script using a single "\":
44 ; filename=0000\:01\:00.0
46 ; NOTE: If you want to override the default bs, iodepth, and workload, then
49 ; FIO_BS="512" FIO_RW="verify" FIO_IODEPTH=16 fio examples/xnvme-compare.fio \
64 ; Avoid accidentally creating device files; e.g. "/dev/nvme0n1", "/dev/nullb0"
71 iodepth=${FIO_IODEPTH}