diff options
Diffstat (limited to 'include/framework/util/Configuration.h')
| -rw-r--r-- | include/framework/util/Configuration.h | 20 |
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 |