-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathmacrobench_sharded_inventory.yml
146 lines (145 loc) · 4.27 KB
/
macrobench_sharded_inventory.yml
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
# Copyright 2021 The Vitess Authors.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
all:
hosts:
DEVICE_IP_0:
storage_device:
device: nvme1n1
partition: nvme1n1p1
vars:
arewefastyet_git_repo: "https://github.com/vitessio/arewefastyet.git"
arewefastyet_git_version: "main"
cell: local
keyspace: main
provision: 1
children:
macrobench:
hosts:
DEVICE_IP_0:
vars:
vtgate_web_ports: "15001,15002,15003"
sysbench:
hosts:
DEVICE_IP_0:
prometheus:
hosts:
DEVICE_IP_0:
etcd:
hosts:
DEVICE_IP_0:
vtctld:
hosts:
DEVICE_IP_0:
vtgate:
vars:
vtgate_max_goproc: 42
hosts:
DEVICE_IP_0:
gateways:
- id: 1
port: 15001
mysql_port: 13306
grpc_port: 15306
- id: 2
port: 15002
mysql_port: 13307
grpc_port: 15307
- id: 3
port: 15003
mysql_port: 13308
grpc_port: 15308
vttablet:
vars:
vitess_memory_ratio: 0.8
vttablet_max_goproc: 42
hosts:
DEVICE_IP_0:
# all_tablets is a list of all the possible tablets in the cluster
# this list is used to properly clean up the machine from all tablets
# if the previous benchmark was a sharded cluster and it had failed
# and was not able to clean up correctly, using the unsharded list of
# tablets will results in a not complete clean up as we would only remove
# two tablets instead of four.
all_tablets:
- id: 1001
keyspace: main
shard: 0
pool_size: 500
transaction_cap: 2000
port: 16011
grpc_port: 17011
mysql_port: 18011
mysqld_exporter_port: 9104
- id: 1002
keyspace: main
shard: 0
pool_size: 500
transaction_cap: 2000
port: 16012
grpc_port: 17012
mysql_port: 18012
mysqld_exporter_port: 9105
- id: 2001
keyspace: main
shard: 0
pool_size: 500
transaction_cap: 2000
port: 16021
grpc_port: 17021
mysql_port: 18021
mysqld_exporter_port: 9106
- id: 2002
keyspace: main
shard: 0
pool_size: 500
transaction_cap: 2000
port: 16022
grpc_port: 17022
mysql_port: 18022
mysqld_exporter_port: 9107
tablets:
- id: 1001
keyspace: main
shard: -80
pool_size: 500
transaction_cap: 2000
port: 16011
grpc_port: 17011
mysql_port: 18011
mysqld_exporter_port: 9104
- id: 1002
keyspace: main
shard: -80
pool_size: 500
transaction_cap: 2000
port: 16012
grpc_port: 17012
mysql_port: 18012
mysqld_exporter_port: 9105
- id: 2001
keyspace: main
shard: 80-
pool_size: 500
transaction_cap: 2000
port: 16021
grpc_port: 17021
mysql_port: 18021
mysqld_exporter_port: 9106
- id: 2002
keyspace: main
shard: 80-
pool_size: 500
transaction_cap: 2000
port: 16022
grpc_port: 17022
mysql_port: 18022
mysqld_exporter_port: 9107