File: nbd.fio

package info (click to toggle)
fio 3.33-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,896 kB
  • sloc: ansic: 78,615; sh: 5,191; python: 4,795; makefile: 832; yacc: 204; lex: 184
file content (35 lines) | stat: -rw-r--r-- 599 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# To use fio to test nbdkit:
#
# nbdkit -U - memory size=256M --run 'export unixsocket; fio examples/nbd.fio'
#
# To use fio to test qemu-nbd:
#
# rm -f /tmp/disk.img /tmp/socket
# truncate -s 256M /tmp/disk.img
# export unixsocket=/tmp/socket
# qemu-nbd -t -k $unixsocket -f raw /tmp/disk.img &
# fio examples/nbd.fio
# killall qemu-nbd

[global]
ioengine=nbd
uri=nbd+unix:///?socket=${unixsocket}
# Starting from nbdkit 1.14 the following will work:
#uri=${uri}
rw=randrw
time_based
runtime=60
group_reporting
iodepth=64

[job0]
offset=0

[job1]
offset=64m

[job2]
offset=128m

[job3]
offset=192m