summaryrefslogtreecommitdiffstats
path: root/src/spdk/test/bdev/bdev.conf.in
blob: 0439ab5ee738d3438665570dc76215b849f2a661 (plain)
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
36
37
38
39
40
41
42
43
44
[Passthru]
  # PT <bdev name> <vbdev name>
  PT Malloc3 TestPT

[Malloc]
  NumberOfLuns 7
  LunSizeInMB 32

[Split]
  # Split Malloc1 into two auto-sized halves
  Split Malloc1 2

  # Split Malloc2 into eight 4-megabyte pieces,
  # leaving the rest of the device inaccessible
  Split Malloc2 8 4

[AIO]
  AIO /dev/ram0 AIO0
  AIO /tmp/aiofile AIO1 2048

[QoS]
  # QoS section defines limitation on performance
  # metric like IOPS and bandwidth
  #
  # Format: Limit_IOPS Bdev_Name IOPS_Limit_Value
  #
  # IOPS limit must be 10000 or greater and be multiple
  # of 10000
  #
  # Assign 20000 IOPS for the Malloc0 block device
  Limit_IOPS Malloc0 20000
  #
  # Bandwidth limit must be 10 (MB) or greater and be
  # multiple of 10
  # Assign 100 (MB) bandwidth for the Malloc3 block
  # device
  Limit_BPS Malloc3 100

[RAID0]
  Name raid0
  StripSize 64
  NumDevices 2
  RaidLevel 0
  Devices Malloc4 Malloc5