]> git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/test/bdev/bdev.conf.in
import 15.2.0 Octopus source
[ceph.git] / ceph / src / spdk / test / bdev / bdev.conf.in
1 [Passthru]
2 # PT <bdev name> <vbdev name>
3 PT Malloc3 TestPT
4
5 [Malloc]
6 NumberOfLuns 8
7 LunSizeInMB 32
8
9 [Split]
10 # Split Malloc1 into two auto-sized halves
11 Split Malloc1 2
12
13 # Split Malloc2 into eight 4-megabyte pieces,
14 # leaving the rest of the device inaccessible
15 Split Malloc2 8 4
16
17 [AIO]
18 AIO /dev/ram0 AIO0
19 AIO /tmp/aiofile AIO1 2048
20
21 [QoS]
22 # QoS section defines limitation on performance
23 # metric like IOPS and bandwidth
24 #
25 # Format: Limit_IOPS Bdev_Name IOPS_Limit_Value
26 #
27 # IOPS limit must be 10000 or greater and be multiple
28 # of 10000
29 #
30 # Assign 20000 IOPS for the Malloc0 block device
31 Limit_IOPS Malloc0 20000
32 #
33 # Bandwidth limit must be 10 (MB) or greater and be
34 # multiple of 10
35 # Assign 100 (MB) bandwidth for the Malloc3 block
36 # device
37 Limit_BPS Malloc3 100
38 # Assign 50 (MB) read only bandwidth for the AIO0 block device
39 Limit_Read_BPS AIO0 50
40
41 [RAID0]
42 Name raid0
43 StripSize 64
44 NumDevices 2
45 RaidLevel 0
46 Devices Malloc4 Malloc5