blob: bcf242347d39b8f52ac8e0d32da72e4fade7743f (
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
|
# This spec file should be used for testing before any release
#
# 1st client
volume client1
type protocol/client
option transport-type tcp # for TCP/IP transport
# option transport-type ib-sdp # for Infiniband transport
# option transport-type ib-verbs # for ib-verbs transport
# option transport.ib-verbs.work-request-send-size 131072
# option transport.ib-verbs.work-request-send-count 64
# option transport.ib-verbs.work-request-recv-size 131072
# option transport.ib-verbs.work-request-recv-count 64
option remote-host 127.0.0.1
option remote-subvolume ra1
end-volume
# 2nd client
volume client2
type protocol/client
option transport-type tcp # for TCP/IP transport
# option transport-type ib-sdp # for Infiniband transport
# option transport-type ib-verbs # for ib-verbs transport
option remote-host 127.0.0.1
option remote-subvolume ra2
end-volume
# 3rd client
volume client3
type protocol/client
option transport-type tcp # for TCP/IP transport
# option transport-type ib-sdp # for Infiniband transport
# option transport-type ib-verbs # for ib-verbs transport
option remote-host 127.0.0.1
option remote-subvolume ra3
end-volume
# 4th client
volume client4
type protocol/client
option transport-type tcp # for TCP/IP transport
# option transport-type ib-sdp # for Infiniband transport
# option transport-type ib-verbs # for ib-verbs transport
option remote-host 127.0.0.1
option remote-subvolume ra4
end-volume
# 5th client
volume client5
type protocol/client
option transport-type tcp # for TCP/IP transport
# option transport-type ib-sdp # for Infiniband transport
# option transport-type ib-verbs # for ib-verbs transport
option remote-host 127.0.0.1
option remote-subvolume ra5
end-volume
# 6th client
volume client6
type protocol/client
option transport-type tcp # for TCP/IP transport
# option transport-type ib-sdp # for Infiniband transport
# option transport-type ib-verbs # for ib-verbs transport
option remote-host 127.0.0.1
option remote-subvolume ra6
end-volume
# 7th client
volume client7
type protocol/client
option transport-type tcp # for TCP/IP transport
# option transport-type ib-sdp # for Infiniband transport
# option transport-type ib-verbs # for ib-verbs transport
option remote-host 127.0.0.1
option remote-subvolume ra7
end-volume
# 8th client
volume client8
type protocol/client
option transport-type tcp # for TCP/IP transport
# option transport-type ib-sdp # for Infiniband transport
# option transport-type ib-verbs # for ib-verbs transport
option remote-host 127.0.0.1
option remote-subvolume ra8
end-volume
# 1st Stripe (client1 client2)
volume stripe1
type cluster/stripe
subvolumes client1 client2
option block-size 128KB # all striped in 128kB block
end-volume
# 2st Stripe (client3 client4)
volume stripe2
type cluster/stripe
subvolumes client3 client4
option block-size 128KB # all striped in 128kB block
end-volume
# 3st Stripe (client5 client6)
volume stripe3
type cluster/stripe
subvolumes client5 client6
option block-size 128KB # all striped in 128kB block
end-volume
# 4st Stripe (client7 client8)
volume stripe4
type cluster/stripe
subvolumes client7 client8
option block-size 128KB # all striped in 128kB block
end-volume
# 1st replicate
volume replicate1
type cluster/replicate
subvolumes stripe1 stripe2
end-volume
# 2nd replicate
volume replicate2
type cluster/replicate
subvolumes stripe3 stripe4
end-volume
volume ns
type protocol/client
option transport-type tcp
option remote-host 127.0.0.1
option remote-subvolume brick-ns
end-volume
# Unify
volume unify0
type cluster/unify
subvolumes replicate1 replicate2
# subvolumes stripe1 stripe3
option namespace ns
option scheduler rr # random # alu # nufa
option rr.limits.min-free-disk 1GB
# option alu.order x
# option alu.x.entry-threshold
# option alu.x.exit-threshold
end-volume
# ==== Performance Translators ====
# The default options for performance translators should be the best for 90+% of the cases
volume iot
type performance/io-threads
subvolumes unify0
end-volume
volume wb
type performance/write-behind
subvolumes iot
end-volume
volume ioc
type performance/io-cache
subvolumes wb
end-volume
volume ra
type performance/read-ahead
subvolumes ioc
end-volume
|