-
Notifications
You must be signed in to change notification settings - Fork 71
/
default.json
257 lines (257 loc) · 17.4 KB
/
default.json
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
{
"name": "append-no-conflicts",
"description": "Indexes the whole document corpus using OpenSearch default settings. We only adjust the number of replicas as we benchmark a single node cluster and Benchmark will only start the benchmark if the cluster turns green. Document ids are unique so all index operations are append only. After that a couple of queries are run.",
"default": true,
"schedule": [
{% with default_index_settings={} %}
{{ benchmark.collect(parts="../../common_operations/workload_setup.json") }},
{% endwith %}
{
"operation": "index-stats",
"warmup-iterations": {{ index_stats_warmup_iterations or warmup_iterations | default(500) | tojson }},
"iterations": {{ index_stats_iterations or iterations | default(1000) | tojson }},
"target-throughput": {{ index_stats_target_throughput or target_throughput | default(90) | tojson }},
"clients": {{ index_stats_search_clients or search_clients | default(1) }}
},
{
"operation": "node-stats",
"warmup-iterations": {{ node_stats_warmup_iterations or warmup_iterations | default(100) | tojson }},
"iterations": {{ node_stats_iterations or iterations | default(1000) | tojson }},
"target-throughput": {{ node_stats_target_throughput or target_throughput | default(90) | tojson }},
"clients": {{ node_stats_search_clients or search_clients | default(1) }}
},
{
"operation": "default",
"warmup-iterations": {{ default_warmup_iterations or warmup_iterations | default(500) | tojson }},
"iterations": {{ default_iterations or iterations | default(1000) | tojson }},
"target-throughput": {{ default_target_throughput or target_throughput | default(50) | tojson }},
"clients": {{ default_search_clients or search_clients | default(1) }}
},
{
"operation": "term",
"warmup-iterations": {{ term_warmup_iterations or warmup_iterations | default(500) | tojson }},
"iterations": {{ term_iterations or iterations | default(1000) | tojson }},
"target-throughput": {{ term_target_throughput or target_throughput | default(100) | tojson }},
"clients": {{ term_search_clients or search_clients | default(1) }}
},
{
"operation": "phrase",
"warmup-iterations": {{ phrase_warmup_iterations or warmup_iterations | default(500) | tojson }},
"iterations": {{ phrase_iterations or iterations | default(1000) | tojson }},
"target-throughput": {{ phrase_target_throughput or target_throughput | default(110) | tojson }},
"clients": {{ phrase_search_clients or search_clients | default(1) }}
},
{
"operation": "country_agg_uncached",
"warmup-iterations": {{ country_agg_uncached_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ country_agg_uncached_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ country_agg_uncached_target_throughput or target_throughput | default(3) | tojson }},
"clients": {{ country_agg_uncached_search_clients or search_clients | default(1) }}
},
{
"operation": "country_agg_cached",
"warmup-iterations": {{ country_agg_cached_warmup_iterations or warmup_iterations | default(1000) | tojson }},
"iterations": {{ country_agg_cached_iterations or iterations | default(1000) | tojson }},
"target-throughput": {{ country_agg_cached_target_throughput or target_throughput | default(100) | tojson }},
"clients": {{ country_agg_cached_search_clients or search_clients | default(1) }}
},
{
"operation": "scroll",
"warmup-iterations": {{ scroll_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ scroll_iterations or iterations | default(100) | tojson }},
"#COMMENT": "Throughput is considered per request. So we issue one scroll request per second which will retrieve 25 pages",
"target-throughput": {{ scroll_target_throughput or target_throughput | default(0.8) | tojson }},
"clients": {{ scroll_search_clients or search_clients | default(1) }}
},
{
"operation": "expression",
"warmup-iterations": {{ expression_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ expression_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ expression_target_throughput or target_throughput | default(1.5) | tojson }},
"clients": {{ expression_search_clients or search_clients | default(1) }}
},
{
"operation": "painless_static",
"warmup-iterations": {{ painless_static_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ painless_static_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ painless_static_target_throughput or target_throughput | default(1.5) | tojson }},
"clients": {{ painless_static_search_clients or search_clients | default(1) }}
},
{
"operation": "painless_dynamic",
"warmup-iterations": {{ painless_dynamic_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ painless_dynamic_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ painless_dynamic_target_throughput or target_throughput | default(1.5) | tojson }},
"clients": {{ painless_dynamic_search_clients or search_clients | default(1) }}
},
{
"operation": "decay_geo_gauss_function_score",
"warmup-iterations": {{ decay_geo_gauss_function_score_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ decay_geo_gauss_function_score_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ decay_geo_gauss_function_score_target_throughput or target_throughput | default(1) | tojson }},
"clients": {{ decay_geo_gauss_function_score_search_clients or search_clients | default(1) }}
},
{
"operation": "decay_geo_gauss_script_score",
"warmup-iterations": {{ decay_geo_gauss_script_score_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ decay_geo_gauss_script_score_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ decay_geo_gauss_script_score_target_throughput or target_throughput | default(1) | tojson }},
"clients": {{ decay_geo_gauss_script_score_search_clients or search_clients | default(1) }}
},
{
"operation": "field_value_function_score",
"warmup-iterations": {{ field_value_function_score_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ field_value_function_score_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ field_value_function_score_target_throughput or target_throughput | default(1.5) | tojson }},
"clients": {{ field_value_function_score_search_clients or search_clients | default(1) }}
},
{
"operation": "field_value_script_score",
"warmup-iterations": {{ field_value_script_score_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ field_value_script_score_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ field_value_script_score_target_throughput or target_throughput | default(1.5) | tojson }},
"clients": {{ field_value_script_score_search_clients or search_clients | default(1) }}
},
{
"operation": "large_terms",
"warmup-iterations": {{ large_terms_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ large_terms_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ large_terms_target_throughput or target_throughput | default(1.1) | tojson }},
"clients": {{ large_terms_search_clients or search_clients | default(1) }}
},
{
"operation": "large_filtered_terms",
"warmup-iterations": {{ large_filtered_terms_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ large_filtered_terms_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ large_filtered_terms_target_throughput or target_throughput | default(1.1) | tojson }},
"clients": {{ large_filtered_terms_search_clients or search_clients | default(1) }}
},
{
"operation": "large_prohibited_terms",
"warmup-iterations": {{ large_prohibited_terms_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ large_prohibited_terms_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ large_prohibited_terms_target_throughput or target_throughput | default(1.1) | tojson }},
"clients": {{ large_prohibited_terms_search_clients or search_clients | default(1) }}
},
{
"operation": "desc_sort_population",
"warmup-iterations": {{ desc_sort_population_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ desc_sort_population_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ desc_sort_population_target_throughput or target_throughput | default(1.5) | tojson }},
"clients": {{ desc_sort_population_search_clients or search_clients | default(1) }}
},
{
"operation": "asc_sort_population",
"warmup-iterations": {{ asc_sort_population_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ asc_sort_population_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ asc_sort_population_target_throughput or target_throughput | default(1.5) | tojson }},
"clients": {{ asc_sort_population_search_clients or search_clients | default(1) }}
},
{
"operation": "asc_sort_with_after_population",
"warmup-iterations": {{ asc_sort_with_after_population_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ asc_sort_with_after_population_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ asc_sort_with_after_population_target_throughput or target_throughput | default(1.5) | tojson }},
"clients": {{ asc_sort_with_after_population_search_clients or search_clients | default(1) }}
},
{
"operation": "desc_sort_geonameid",
"warmup-iterations": {{ desc_sort_geonameid_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ desc_sort_geonameid_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ desc_sort_geonameid_target_throughput or target_throughput | default(6) | tojson }},
"clients": {{ desc_sort_geonameid_search_clients or search_clients | default(1) }}
},
{
"operation": "desc_sort_with_after_geonameid",
"warmup-iterations": {{ desc_sort_with_after_geonameid_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ desc_sort_with_after_geonameid_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ desc_sort_with_after_geonameid_target_throughput or target_throughput | default(6) | tojson }},
"clients": {{ desc_sort_with_after_geonameid_search_clients or search_clients | default(1) }}
},
{
"operation": "asc_sort_geonameid",
"warmup-iterations": {{ asc_sort_geonameid_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ asc_sort_geonameid_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ asc_sort_geonameid_target_throughput or target_throughput | default(6) | tojson }},
"clients": {{ asc_sort_geonameid_search_clients or search_clients | default(1) }}
},
{
"operation": "asc_sort_with_after_geonameid",
"warmup-iterations": {{ asc_sort_with_after_geonameid_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ asc_sort_with_after_geonameid_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ asc_sort_with_after_geonameid_target_throughput or target_throughput | default(6) | tojson }},
"clients": {{ asc_sort_with_after_geonameid_search_clients or search_clients | default(1) }}
}
]
},
{
"name": "append-no-conflicts-index-only",
"description": "Indexes the whole document corpus using OpenSearch default settings. We only adjust the number of replicas as we benchmark a single node cluster and Benchmark will only start the benchmark if the cluster turns green. Document ids are unique so all index operations are append only.",
"schedule": [
{% with default_index_settings={} %}
{{ benchmark.collect(parts="../../common_operations/workload_setup.json") }}
{% endwith %}
]
},
{
"name": "append-sorted-no-conflicts",
"description": "Indexes the whole document corpus in an index sorted by country_code field in ascending order. Document ids are unique so all index operations are append only.",
"schedule": [
{% with default_index_settings={
"index.sort.field": ["country_code.raw", "admin1_code.raw"],
"index.sort.order": ["asc", "asc"]
} %}
{{ benchmark.collect(parts="../../common_operations/workload_setup.json") }}
{% endwith %}
]
},
{
"name": "append-fast-with-conflicts",
"description": "Indexes the whole document corpus using a setup that will lead to a larger indexing throughput than the default settings. Benchmark will produce duplicate ids in 25% of all documents (not configurable) so we can simulate a scenario with appends most of the time and some updates in between.",
"schedule": [
{% with default_index_settings={
"index.refresh_interval": "30s",
"index.number_of_shards": number_of_shards | default(6),
"index.translog.flush_threshold_size": "4g"
} %}
{{ benchmark.collect(parts="../../common_operations/workload_setup.json") }}
{% endwith %}
]
},
{
"name": "significant-text",
"description": "Indexes the whole document corpus using OpenSearch default settings. We only adjust the number of replicas as we benchmark a single node cluster and Benchmark will only start the benchmark if the cluster turns green. Document ids are unique so all index operations are append only.",
"schedule": [
{% with default_index_settings={} %}
{{ benchmark.collect(parts="../../common_operations/workload_setup.json") }},
{% endwith %}
{
"operation": "significant_text_selective",
"warmup-iterations": {{ significant_text_selective_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ significant_text_selective_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ significant_text_selective_target_throughput or target_throughput | default(2) | tojson }},
"clients": {{ significant_text_selective_search_clients or search_clients | default(1) | tojson }}
},
{
"operation": "significant_text_sampled_selective",
"warmup-iterations": {{ significant_text_sampled_selective_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ significant_text_sampled_selective_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ significant_text_sampled_selective_target_throughput or target_throughput | default(20) | tojson }},
"clients": {{ significant_text_sampled_selective_search_clients or search_clients | default(1) | tojson }}
},
{
"operation": "significant_text_unselective",
"warmup-iterations": {{ significant_text_unselective_warmup_iterations or warmup_iterations | default(50) | tojson }},
"iterations": {{ significant_text_unselective_iterations or iterations | default(20) | tojson }},
"target-throughput": {{ significant_text_unselective_target_throughput or target_throughput | default(0.04) | tojson }},
"clients": {{ significant_text_unselective_search_clients or search_clients | default(1) | tojson }}
},
{
"operation": "significant_text_sampled_unselective",
"warmup-iterations": {{ significant_text_sampled_unselective_warmup_iterations or warmup_iterations | default(200) | tojson }},
"iterations": {{ significant_text_sampled_unselective_iterations or iterations | default(100) | tojson }},
"target-throughput": {{ significant_text_sampled_unselective_target_throughput or target_throughput | default(6) | tojson }},
"clients": {{ significant_text_sampled_unselective_search_clients or search_clients | default(1) | tojson }}
}
]
}