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/standard_latency_dist.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'benchmarks/tail-latency/standard_latency_dist.cpp') diff --git a/benchmarks/tail-latency/standard_latency_dist.cpp b/benchmarks/tail-latency/standard_latency_dist.cpp index 8f1594b..dca02bf 100644 --- a/benchmarks/tail-latency/standard_latency_dist.cpp +++ b/benchmarks/tail-latency/standard_latency_dist.cpp @@ -2,17 +2,18 @@ * */ +#define ENABLE_TIMER +#define TS_TEST + #include "framework/scheduling/SerialScheduler.h" #include "framework/util/Configuration.h" #include "util/types.h" -#define ENABLE_TIMER -#define TS_TEST #include #include "framework/DynamicExtension.h" #include "framework/scheduling/FIFOScheduler.h" -#include "shard/TrieSpline.h" +#include "shard/ISAMTree.h" #include "query/rangecount.h" #include "framework/interface/Record.h" #include "file_util.h" @@ -26,11 +27,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; +typedef de::DEConfiguration Conf; void usage(char *progname) { fprintf(stderr, "%s reccnt datafile queryfile\n", progname); @@ -50,9 +51,9 @@ int main(int argc, char **argv) { auto data = read_sosd_file(d_fname, n); auto queries = read_range_queries(q_fname, .0001); - std::vector sfs = {2, 3, 4, 5, 6, 7, 8}; //, 4, 8, 16, 32, 64, 128, 256, 512, 1024}; + std::vector sfs = {4, 8}; //, 4, 8, 16, 32, 64, 128, 256, 512, 1024}; size_t buffer_size = 8000; - std::vector policies = {0, 1, 2}; + std::vector policies = {0, 1}; for (auto pol: policies) { for (size_t i=0; iinsert(data[j])) { usleep(1); - fprintf(stderr, "insert blocked %ld\r", j); } } TIMER_STOP(); -- cgit v1.2.3