Commit | Line | Data |
---|---|---|
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] | |
11 | ioengine=libblkio | |
12 | libblkio_driver=virtio-blk-vfio-pci | |
13 | libblkio_pre_connect_props=path=/sys/bus/pci/devices/0000\:00\:01.0 ; REPLACE THIS WITH THE RIGHT PATH | |
14 | rw=randread | |
15 | blocksize=4k | |
16 | time_based=1 | |
17 | runtime=10s | |
18 | ||
19 | [job] |