summaryrefslogtreecommitdiffstats
path: root/include/framework/util
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2025-01-17 17:28:50 -0500
committerDouglas Rumbaugh <dbr4@psu.edu>2025-01-17 17:28:50 -0500
commit6c906c94e1eea6d4356b8c99b93da39029e8d95d (patch)
tree8c5cd0d5bc5186cf6f19b29a94d424224a1cde8e /include/framework/util
parent77589d4cc82b766d2cf16294fab98a57f6579cb4 (diff)
downloaddynamic-extension-6c906c94e1eea6d4356b8c99b93da39029e8d95d.tar.gz
Progress
Diffstat (limited to 'include/framework/util')
-rw-r--r--include/framework/util/Configuration.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/framework/util/Configuration.h b/include/framework/util/Configuration.h
index 0477095..9c1e624 100644
--- a/include/framework/util/Configuration.h
+++ b/include/framework/util/Configuration.h
@@ -23,6 +23,26 @@ class DEConfiguration {
public:
std::unique_ptr<ReconstructionPolicy<ShardType, QueryType>> m_recon_policy;
+
+ /* buffer parameters */
+ size_t buffer_count = 1;
+ size_t buffer_size = 8000;
+ size_t buffer_flush_trigger = buffer_size / 4;
+
+ /* reconstruction triggers */
+ bool recon_enable_seek_trigger = false;
+ bool recon_enable_maint_on_flush = true;
+ bool recon_enable_delete_cmpct = false;
+
+ size_t recon_l0_capacity = 0; /* 0 for unbounded */
+ double maximum_delete_proportion = 1;
+
+ /* resource management */
+ size_t maximum_threads = 16;
+ size_t minimum_recon_threads = 1;
+ size_t minimum_query_threads = 4;
+ size_t maximum_memory_usage = 0; /* o for unbounded */
+
};
} // namespace de