From d22713f37688c1100e4ef856abe2087f675e6299 Mon Sep 17 00:00:00 2001 From: Michael Oviedo Date: Wed, 9 Oct 2024 20:19:34 +0000 Subject: [PATCH] add configurable warmup iterations + iterations to http_logs workload Signed-off-by: Michael Oviedo --- http_logs/test_procedures/default.json | 56 +++++++++++++------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/http_logs/test_procedures/default.json b/http_logs/test_procedures/default.json index 5f6c705d..7d41e0a1 100644 --- a/http_logs/test_procedures/default.json +++ b/http_logs/test_procedures/default.json @@ -58,46 +58,46 @@ }, { "operation": "default", - "warmup-iterations": 500, - "iterations": 100, + "warmup-iterations": {{ default_warmup_iterations or warmup_iterations | default(500) | tojson }}, + "iterations": {{ default_iterations or iterations | default(100) | tojson }}, "target-throughput": {{ default_target_throughput or target_throughput | default(8) | tojson }}, "clients": {{ default_search_clients or search_clients | default(1) }} }, { "name": "term", "operation": "term", - "warmup-iterations": 500, - "iterations": 100, + "warmup-iterations": {{ term_warmup_iterations or warmup_iterations | default(500) | tojson }}, + "iterations": {{ term_iterations or iterations | default(100) | tojson }}, "target-throughput": {{ term_target_throughput or target_throughput | default(50) | tojson }}, "clients": {{ term_search_clients or search_clients | default(1) }} }, { "operation": "range", - "warmup-iterations": 100, - "iterations": 100, + "warmup-iterations": {{ range_warmup_iterations or warmup_iterations | default(100) | tojson }}, + "iterations": {{ range_iterations or iterations | default(100) | tojson }}, "target-throughput": {{ range_target_throughput or target_throughput | default(1) | tojson }}, "clients": {{ range_search_clients or search_clients | default(1) }} }, { "name": "status-200s-in-range", "operation": "200s-in-range", - "warmup-iterations": 500, - "iterations": 100, + "warmup-iterations": {{ status_200s_in_range_warmup_iterations or warmup_iterations | default(500) | tojson }}, + "iterations": {{ status_200s_in_range_iterations or iterations | default(100) | tojson }}, "target-throughput": {{ status_200s_in_range_target_throughput or target_throughput | default(33) | tojson }}, "clients": {{ status_200s_in_range_search_clients or search_clients | default(1) }} }, { "name": "status-400s-in-range", "operation": "400s-in-range", - "warmup-iterations": 500, - "iterations": 100, + "warmup-iterations": {{ status_400s_in_range_warmup_iterations or warmup_iterations | default(500) | tojson }}, + "iterations": {{ status_400s_in_range_iterations or iterations | default(100) | tojson }}, "target-throughput": {{ status_400s_in_range_target_throughput or target_throughput | default(50) | tojson }}, "clients": {{ status_400s_in_range_search_clients or search_clients | default(1) }} }, { "operation": "hourly_agg", - "warmup-iterations": 100, - "iterations": 100, + "warmup-iterations": {{ hourly_agg_warmup_iterations or warmup_iterations | default(100) | tojson }}, + "iterations": {{ hourly_agg_iterations or iterations | default(100) | tojson }}, "target-throughput": {{ hourly_agg_target_throughput or target_throughput | default(0.2) | tojson }}, "clients": {{ hourly_agg_search_clients or search_clients | default(1) }} }, @@ -110,29 +110,29 @@ }, { "operation": "desc_sort_timestamp", - "warmup-iterations": 200, - "iterations": 100, + "warmup-iterations": {{ desc_sort_timestamp_warmup_iterations or warmup_iterations | default(200) | tojson }}, + "iterations": {{ desc_sort_timestamp_iterations or iterations | default(100) | tojson }}, "target-throughput": {{ desc_sort_timestamp_target_throughput or target_throughput | default(0.5) | tojson }}, "clients": {{ desc_sort_timestamp_search_clients or search_clients | default(1) }} }, { "operation": "asc_sort_timestamp", - "warmup-iterations": 200, - "iterations": 100, + "warmup-iterations": {{ asc_sort_timestamp_warmup_iterations or warmup_iterations | default(200) | tojson }}, + "iterations": {{ asc_sort_timestamp_iterations or iterations | default(100) | tojson }}, "target-throughput": {{ asc_sort_timestamp_target_throughput or target_throughput | default(0.5) | tojson }}, "clients": {{ asc_sort_timestamp_search_clients or search_clients | default(1) }} }, { "operation": "desc_sort_with_after_timestamp", - "warmup-iterations": 10, - "iterations": 100, + "warmup-iterations": {{ desc_sort_with_after_timestamp_warmup_iterations or warmup_iterations | default(10) | tojson }}, + "iterations": {{ desc_sort_with_after_timestamp_iterations or iterations | default(100) | tojson }}, "target-throughput": {{ desc_sort_with_after_timestamp_target_throughput or target_throughput | default(0.5) | tojson }}, "clients": {{ desc_sort_with_after_timestamp_search_clients or search_clients | default(1) }} }, { "operation": "asc_sort_with_after_timestamp", - "warmup-iterations": 10, - "iterations": 100, + "warmup-iterations": {{ asc_sort_with_after_timestamp_warmup_iterations or warmup_iterations | default(10) | tojson }}, + "iterations": {{ asc_sort_with_after_timestamp_iterations or iterations | default(100) | tojson }}, "target-throughput": {{ asc_sort_with_after_timestamp_target_throughput or target_throughput | default(0.5) | tojson }}, "clients": {{ asc_sort_with_after_timestamp_search_clients or search_clients | default(1) }} }, @@ -164,32 +164,32 @@ { "name": "desc-sort-timestamp-after-force-merge-1-seg", "operation": "desc_sort_timestamp", - "warmup-iterations": 200, - "iterations": 100, + "warmup-iterations": {{ desc_sort_timestamp_warmup_iterations or warmup_iterations | default(200) | tojson }}, + "iterations": {{ desc_sort_timestamp_iterations or iterations | default(100) | tojson }}, "target-throughput": {{ desc_sort_timestamp_target_throughput or target_throughput | default(2) | tojson }}, "clients": {{ desc_sort_timestamp_search_clients or search_clients | default(1) }} }, { "name": "asc-sort-timestamp-after-force-merge-1-seg", "operation": "asc_sort_timestamp", - "warmup-iterations": 200, - "iterations": 100, + "warmup-iterations": {{ asc_sort_timestamp_warmup_iterations or warmup_iterations | default(200) | tojson }}, + "iterations": {{ asc_sort_timestamp_iterations or iterations | default(100) | tojson }}, "target-throughput": {{ asc_sort_timestamp_target_throughput or target_throughput | default(2) | tojson }}, "clients": {{ asc_sort_timestamp_search_clients or search_clients | default(1) }} }, { "name": "desc-sort-with-after-timestamp-after-force-merge-1-seg", "operation": "desc_sort_with_after_timestamp", - "warmup-iterations": 10, - "iterations": 100, + "warmup-iterations": {{ desc_sort_with_after_timestamp_warmup_iterations or warmup_iterations | default(10) | tojson }}, + "iterations": {{ desc_sort_with_after_timestamp_iterations or iterations | default(100) | tojson }}, "target-throughput": {{ desc_sort_with_after_timestamp_target_throughput or target_throughput | default(0.5) | tojson }}, "clients": {{ desc_sort_with_after_timestamp_search_clients or search_clients | default(1) }} }, { "name": "asc-sort-with-after-timestamp-after-force-merge-1-seg", "operation": "asc_sort_with_after_timestamp", - "warmup-iterations": 10, - "iterations": 100, + "warmup-iterations": {{ asc_sort_with_after_timestamp_warmup_iterations or warmup_iterations | default(10) | tojson }}, + "iterations": {{ asc_sort_with_after_timestamp_iterations or iterations | default(100) | tojson }}, "target-throughput": {{ asc_sort_with_after_timestamp_target_throughput or target_throughput | default(0.5) | tojson }}, "clients": {{ asc_sort_with_after_timestamp_search_clients or search_clients | default(1) }} }