summaryrefslogtreecommitdiffstats
path: root/benchmarks/tail-latency/mixed_workload_average.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/tail-latency/mixed_workload_average.cpp')
-rw-r--r--benchmarks/tail-latency/mixed_workload_average.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/tail-latency/mixed_workload_average.cpp b/benchmarks/tail-latency/mixed_workload_average.cpp
index cbf3a82..c740ed7 100644
--- a/benchmarks/tail-latency/mixed_workload_average.cpp
+++ b/benchmarks/tail-latency/mixed_workload_average.cpp
@@ -38,7 +38,7 @@ typedef de::DEConfiguration<Shard, Q, de::DeletePolicy::TOMBSTONE,
std::atomic<size_t> idx;
std::atomic<bool> inserts_done = false;
-size_t query_ratio = 3;
+ssize_t query_ratio = 5;
std::atomic<size_t> total_res = 0;
size_t reccnt = 0;
@@ -56,7 +56,7 @@ void operation_thread(Ext *extension, std::vector<QP> *queries,
while (!inserts_done.load()) {
auto type = rand() % 10;
- if (type < 8) {
+ if (type < query_ratio) {
total_query_count.fetch_add(1);
auto q_idx = rand() % queries->size();