From 27e06185b5fc1d3859ed9dee4c4c411126319816 Mon Sep 17 00:00:00 2001 From: Michael Oviedo Date: Tue, 12 Nov 2024 09:37:28 -0800 Subject: [PATCH] add configurable warmup iterations + iterations to http_logs workload (#487) Signed-off-by: Michael Oviedo --- http_logs/test_procedures/default.json | 120 ++++++++++++------------- 1 file changed, 60 insertions(+), 60 deletions(-) diff --git a/http_logs/test_procedures/default.json b/http_logs/test_procedures/default.json index 2664ac6a..9523357c 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": 50, - "iterations": 100, + "warmup-iterations": {{ hourly_agg_warmup_iterations or warmup_iterations | default(50) | 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,43 +110,43 @@ }, { "operation": "desc_sort_size", - "warmup-iterations": 200, - "iterations": 100, + "warmup-iterations": {{ desc_sort_size_warmup_iterations or warmup_iterations | default(200) | tojson }}, + "iterations": {{ desc_sort_size_iterations or iterations | default(100) | tojson }}, "target-throughput": {{ desc_sort_size_target_throughput or target_throughput | default(0.5) | tojson }}, "clients": {{ desc_sort_size_search_clients or search_clients | default(1) }} }, { "operation": "asc_sort_size", - "warmup-iterations": 200, - "iterations": 100, + "warmup-iterations": {{ asc_sort_size_warmup_iterations or warmup_iterations | default(200) | tojson }}, + "iterations": {{ asc_sort_size_iterations or iterations | default(100) | tojson }}, "target-throughput": {{ asc_sort_size_target_throughput or target_throughput | default(0.5) | tojson }}, "clients": {{ asc_sort_size_search_clients or search_clients | default(1) }} }, { "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) }} }, @@ -178,32 +178,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) }} } @@ -268,46 +268,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": 50, - "iterations": 100, + "warmup-iterations": {{ hourly_agg_warmup_iterations or warmup_iterations | default(50) | 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) }} }, @@ -320,29 +320,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) }} }, @@ -374,32 +374,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) }} }