summaryrefslogtreecommitdiffstats
path: root/src/spdk/test/config_converter/config.ini
blob: bbfc17373de30a6476741e56310df2fb4ee05bd1 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
#comment1
[Global]
  Comment "Global section"#comment2
  ReactorMask 0xF #comment3
#comment4
           #comment5
[Nvmf]
  MaxQueuesPerSession 4
  MaxQueueDepth 128
  InCapsuleDataSize 4096
  MaxIOSize 131072
  AcceptorPollRate 10000
  IOUnitSize 131072

[Nvme]
  TransportID "trtype:PCIe traddr:0000:00:04.0" Nvme0

[Bdev]
  BdevIoPoolSize 65536
  BdevIoCacheSize 256

[Split]
  Split Nvme0n1 8

[Nvme]
  RetryCount 4
  TimeoutUsec 0
  ActionOnTimeout None
  AdminPollRate 100000
  IOPollRate 0
  HotplugEnable Yes

[iSCSI]
  NodeBase "iqn.2016-06.io.spdk"
  AuthFile /usr/local/etc/spdk/auth.conf
  Timeout 30
  DiscoveryAuthMethod Auto
  DiscoveryAuthGroup AuthGroup1
  MaxSessions 16
  ImmediateData Yes
  ErrorRecoveryLevel 0
  MaxR2T 256
  NopInInterval 10
  AllowDuplicateIsid Yes
  DefaultTime2Wait 2
  QueueDepth 128

[Malloc]
  NumberOfLuns 8
  LunSizeInMB 128
  BlockSize 4096

[Pmem]
  Blk /tmp/sample_pmem Pmem0

[AIO]
  AIO /tmp/sample_aio0 AIO0 2048
  AIO /tmp/sample_aio1 AIO1 2048
  AIO /tmp/sample_aio2 AIO2 2048
  AIO /tmp/sample_aio1 AIO3 2048
  AIO /tmp/sample_aio2 AIO4 2048

[VhostBlk0]
  Name vhost.1
  Dev Malloc6
  ReadOnly yes
  Cpumask 0x1

[VhostScsi0]
  Name naa.vhost.0
  Target 0 Malloc4
  Target 1 AIO3
  Target 2 Nvme0n1p2
  # Target 3 Nvme1n1p2
  Cpumask 0x1

[VhostScsi1]
  Name naa.vhost.1
  Target 0 AIO4
  Cpumask 0x1

[VhostBlk1]
  Name naa.vhost.2
  Dev Malloc5
  ReadOnly no
  Cpumask 0x1

[VhostNvme0]
  Name naa.vhost.3
  NumberOfQueues 2
  Namespace Nvme0n1p0
  Namespace Nvme0n1p1
  Cpumask 0x1

[Subsystem1]
  NQN nqn.2016-06.io.spdk:cnode1
  Listen RDMA 10.0.2.15:4420
  AllowAnyHost No
  Host nqn.2016-06.io.spdk:init
  SN SPDK00000000000001
  MN SPDK_Controller1
  MaxNamespaces 20
  Namespace Nvme0n1p5 1
  Namespace Nvme0n1p6 2

[Subsystem2]
  NQN nqn.2016-06.io.spdk:cnode2
  Listen RDMA 10.0.2.15:4421
  AllowAnyHost No
  Host nqn.2016-06.io.spdk:init
  SN SPDK00000000000002
  MN SPDK_Controller2
  Namespace Malloc1
  Namespace Malloc2
  Namespace AIO0
  Namespace AIO1

[InitiatorGroup1]
  InitiatorName ANY
  Netmask 127.0.0.1/32

[PortalGroup1]
  Portal DA1 127.0.0.1:4000
  Portal DA2 127.0.0.1:4001@0xF

[TargetNode1]
  TargetName disk1
  TargetAlias "Data Disk1"
  Mapping PortalGroup1 InitiatorGroup1
  AuthMethod Auto
  AuthGroup AuthGroup1
  # Enable header and data digest
  # UseDigest Header Data
  UseDigest Auto
  # Use the first malloc target
  LUN0 Malloc0
  # Using the first AIO target
  LUN1 AIO2
  # Using the second storage target
  LUN2 AIO3
  # Using the third storage target
  LUN3 AIO4
  QueueDepth 128

[TargetNode2]
  TargetName disk2
  TargetAlias "Data Disk2"
  Mapping PortalGroup1 InitiatorGroup1
  AuthMethod Auto
  AuthGroup AuthGroup1
  UseDigest Auto
  LUN0 Nvme0n1p3
  QueueDepth 32