Commit | Line | Data |
---|---|---|
a601337a AF |
1 | ; Benchmark accessing a regular file or block device using libblkio. |
2 | ; | |
3 | ; Replace "/dev/nvme0n1" below with the path to your file or device, or override | |
4 | ; it by passing the '--libblkio_pre_connect_props=path=...' flag to fio. | |
5 | ; | |
6 | ; For information on libblkio, see: https://gitlab.com/libblkio/libblkio | |
7 | ||
8 | [global] | |
9 | ioengine=libblkio | |
10 | libblkio_driver=io_uring | |
11 | libblkio_pre_connect_props=path=/dev/nvme0n1 ; REPLACE THIS WITH THE RIGHT PATH | |
12 | rw=randread | |
13 | blocksize=4k | |
14 | direct=1 | |
15 | time_based=1 | |
16 | runtime=10s | |
17 | ||
18 | [job] |