Skip to content

Commit

Permalink
parameterize request-timeout and warmup-time-period
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Oviedo <mikeovi@amazon.com>
  • Loading branch information
OVI3D0 committed Dec 11, 2024
1 parent 81b43e1 commit aefcaab
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion common_operations/force_merge.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"operation": {
"operation-type": "force-merge",
"request-timeout": 7200{%- if max_num_segments is defined %},
"request-timeout": {{ request_timeout | default(60) | tojson }}{%- if max_num_segments is defined %},
"max-num-segments": {{ max_num_segments | tojson }}
{%- endif %}
}
Expand Down
2 changes: 1 addition & 1 deletion common_operations/index_append.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"operation": "index-append",
"warmup-time-period": 120,
"warmup-time-period": {{ warmup_time_period | default(120) | tojson }},
"clients": {{bulk_indexing_clients | default(8)}},
"ignore-response-error-level": "{{error_level | default('non-fatal')}}"
},
Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions geonames/test_procedures/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"default": true,
"schedule": [
{% with default_index_settings={} %}
{{ benchmark.collect(parts="../../common_operations/common_workload_setup.json") }},
{{ benchmark.collect(parts="../../common_operations/workload_setup.json") }},
{% endwith %}
{
"operation": "index-stats",
Expand Down Expand Up @@ -189,7 +189,7 @@
"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/common_workload_setup.json") }}
{{ benchmark.collect(parts="../../common_operations/workload_setup.json") }}
{% endwith %}
]
},
Expand All @@ -201,7 +201,7 @@
"index.sort.field": ["country_code.raw", "admin1_code.raw"],
"index.sort.order": ["asc", "asc"]
} %}
{{ benchmark.collect(parts="../../common_operations/common_workload_setup.json") }}
{{ benchmark.collect(parts="../../common_operations/workload_setup.json") }}
{% endwith %}
]
},
Expand All @@ -214,7 +214,7 @@
"index.number_of_shards": number_of_shards | default(6),
"index.translog.flush_threshold_size": "4g"
} %}
{{ benchmark.collect(parts="../../common_operations/common_workload_setup.json") }}
{{ benchmark.collect(parts="../../common_operations/workload_setup.json") }}
{% endwith %}
]
},
Expand All @@ -223,7 +223,7 @@
"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/common_workload_setup.json") }},
{{ benchmark.collect(parts="../../common_operations/workload_setup.json") }},
{% endwith %}
{
"operation": "significant_text_selective",
Expand Down

0 comments on commit aefcaab

Please sign in to comment.