From 7c3fe4ea760f4773f0eb1a98ed3ba493a36015e2 Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Wed, 17 Sep 2025 17:52:22 -0400 Subject: Last updates for dissertation --- benchmarks/tail-latency/query_parm_sweep.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'benchmarks/tail-latency/query_parm_sweep.cpp') diff --git a/benchmarks/tail-latency/query_parm_sweep.cpp b/benchmarks/tail-latency/query_parm_sweep.cpp index f2453aa..a53cecf 100644 --- a/benchmarks/tail-latency/query_parm_sweep.cpp +++ b/benchmarks/tail-latency/query_parm_sweep.cpp @@ -102,12 +102,12 @@ int main(int argc, char **argv) { //auto queries = read_range_queries(q_fname, .0001); auto queries =read_sosd_point_lookups(q_fname, 1); - size_t buffer_size = 8000; - std::vector policies = {0, 1}; + std::vector buffer_sizes = {100, 1000, 5000, 8000, 10000, 20000, 100000}; + std::vector policies = {0, 1, 2}; std::vector thread_counts = {8}; std::vector modifiers = {0}; - std::vector scale_factors = {2, 4, 6, 8, 16, 32, 64}; + std::vector scale_factors = {2}; size_t insert_threads = 1; size_t query_threads = 1; @@ -118,10 +118,12 @@ int main(int argc, char **argv) { for (auto internal_thread_cnt : thread_counts) { for (auto mod : modifiers) { for (auto sf : scale_factors) { - auto policy = get_policy(sf, buffer_size, pol, n, mod); + for (auto bs: buffer_sizes) { + auto policy = get_policy(sf, bs, pol, n, mod); auto config = Conf(std::move(policy)); config.recon_enable_maint_on_flush = true; config.recon_maint_disabled = false; + config.buffer_size = bs; config.buffer_flush_trigger = config.buffer_size; config.maximum_threads = internal_thread_cnt; @@ -173,7 +175,7 @@ int main(int argc, char **argv) { total_res.fetch_add(res.size()); } - total_query_count.store(100000); + total_query_count.store(10000); TIMER_INIT(); TIMER_START(); for (size_t i=0; iget_height(), extension->get_shard_count(), insert_tput, query_lat); //extension->print_scheduler_statistics(); @@ -204,6 +206,7 @@ int main(int argc, char **argv) { inserts_done.store(false); delete extension; } + } } } } -- cgit v1.2.3