From d36a81b26bb8c4ab54352acfe0bba3b728122ed9 Mon Sep 17 00:00:00 2001 From: lmatz Date: Sat, 15 Jun 2024 00:00:24 +0800 Subject: [PATCH] perf(memory): raise memory eivction threshold --- src/common/src/config.rs | 4 ++-- src/config/example.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/src/config.rs b/src/common/src/config.rs index d8bb65e90b062..f532deaee900f 100644 --- a/src/common/src/config.rs +++ b/src/common/src/config.rs @@ -1732,11 +1732,11 @@ pub mod default { } pub fn memory_controller_threshold_graceful() -> f64 { - 0.8 + 0.81 } pub fn memory_controller_threshold_stable() -> f64 { - 0.7 + 0.72 } pub fn memory_controller_eviction_factor_aggressive() -> f64 { diff --git a/src/config/example.toml b/src/config/example.toml index b35590c85059b..ac8dd49ae60ff 100644 --- a/src/config/example.toml +++ b/src/config/example.toml @@ -113,8 +113,8 @@ stream_exchange_concurrent_dispatchers = 0 stream_dml_channel_initial_permits = 32768 stream_hash_agg_max_dirty_groups_heap_size = 67108864 stream_memory_controller_threshold_aggressive = 0.9 -stream_memory_controller_threshold_graceful = 0.8 -stream_memory_controller_threshold_stable = 0.7 +stream_memory_controller_threshold_graceful = 0.81 +stream_memory_controller_threshold_stable = 0.72 stream_memory_controller_eviction_factor_aggressive = 2.0 stream_memory_controller_eviction_factor_graceful = 1.5 stream_memory_controller_eviction_factor_stable = 1.0