From 6088ede2b5a8f580f78d4422162d423a7a11f520 Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Mon, 2 Jun 2025 19:54:15 -0400 Subject: updates --- benchmarks/tail-latency/fixed_shard_count.cpp | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'benchmarks/tail-latency/fixed_shard_count.cpp') diff --git a/benchmarks/tail-latency/fixed_shard_count.cpp b/benchmarks/tail-latency/fixed_shard_count.cpp index e980bcf..45c62fb 100644 --- a/benchmarks/tail-latency/fixed_shard_count.cpp +++ b/benchmarks/tail-latency/fixed_shard_count.cpp @@ -2,6 +2,7 @@ * */ +#include "framework/scheduling/SerialScheduler.h" #define ENABLE_TIMER #define TS_TEST @@ -9,8 +10,9 @@ #include "framework/DynamicExtension.h" #include "framework/scheduling/FIFOScheduler.h" -#include "shard/TrieSpline.h" +#include "shard/ISAMTree.h" #include "query/rangecount.h" +#include "framework/util/Configuration.h" #include "framework/interface/Record.h" #include "file_util.h" #include "standard_benchmarks.h" @@ -23,10 +25,11 @@ typedef de::Record Rec; -typedef de::TrieSpline Shard; +typedef de::ISAMTree Shard; typedef de::rc::Query Q; -typedef de::DynamicExtension Ext; +typedef de::DynamicExtension Ext; typedef Q::Parameters QP; +typedef de::DEConfiguration Conf; void usage(char *progname) { fprintf(stderr, "%s reccnt datafile queryfile\n", progname); @@ -52,10 +55,16 @@ int main(int argc, char **argv) { for (size_t i=0; i(shard_counts[i], buffer_size, 4, n); - auto extension = new Ext(std::move(policy)); + auto config = Conf(std::move(policy)); + config.recon_enable_maint_on_flush = false; + config.recon_maint_disabled = true; + config.buffer_flush_trigger = 4000; + config.maximum_threads = 8; + + auto extension = new Ext(std::move(config)); /* warmup structure w/ 10% of records */ - size_t warmup = .1 * n; + size_t warmup = .3 * n; for (size_t i=0; iinsert(data[i])) { usleep(1); -- cgit v1.2.3