Add a libblkio engine
[fio.git] / examples / libblkio-virtio-blk-vfio-pci.fio
CommitLineData
a601337a
AF
1; Benchmark accessing a PCI virtio-blk device using libblkio.
2;
3; Replace "/sys/bus/pci/devices/0000\:00\:01.0" below with the path to your
4; device's sysfs directory, or override it by passing the
5; '--libblkio_pre_connect_props=path=...' flag to fio. Note that colons in the
6; path must be escaped with a backslash.
7;
8; For information on libblkio, see: https://gitlab.com/libblkio/libblkio
9
10[global]
11ioengine=libblkio
12libblkio_driver=virtio-blk-vfio-pci
13libblkio_pre_connect_props=path=/sys/bus/pci/devices/0000\:00\:01.0 ; REPLACE THIS WITH THE RIGHT PATH
14rw=randread
15blocksize=4k
16time_based=1
17runtime=10s
18
19[job]