This is an automated email from the ASF dual-hosted git repository. zouxinyi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 473c7ed5164 [opt](memory) `max_sys_mem_available_low_water_mark_bytes`default value modified to 6.4G (#37174) 473c7ed5164 is described below commit 473c7ed51641db57f310b3829e4b05c190cf0faa Author: Xinyi Zou <zouxiny...@gmail.com> AuthorDate: Fri Jul 5 15:53:02 2024 +0800 [opt](memory) `max_sys_mem_available_low_water_mark_bytes`default value modified to 6.4G (#37174) // The maximum low water mark of the system `/proc/meminfo/MemAvailable`, Unit byte, default 6.4G, // actual low water mark=min(6.4G, MemTotal * 10%), avoid wasting too much memory on machines // with large memory larger than 64G. // Turn up max. On machines with more than 64G memory, more memory buffers will be reserved for Full GC. // Turn down max. will use as much memory as possible. --- be/src/common/config.cpp | 7 +------ be/src/common/config.h | 8 ++++---- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/be/src/common/config.cpp b/be/src/common/config.cpp index a2e9729199d..a5677721326 100644 --- a/be/src/common/config.cpp +++ b/be/src/common/config.cpp @@ -116,12 +116,7 @@ DEFINE_mInt32(max_fill_rate, "2"); DEFINE_mInt32(double_resize_threshold, "23"); -// The maximum low water mark of the system `/proc/meminfo/MemAvailable`, Unit byte, default 1.6G, -// actual low water mark=min(1.6G, MemTotal * 10%), avoid wasting too much memory on machines -// with large memory larger than 16G. -// Turn up max. On machines with more than 16G memory, more memory buffers will be reserved for Full GC. -// Turn down max. will use as much memory as possible. -DEFINE_Int64(max_sys_mem_available_low_water_mark_bytes, "1717986918"); +DEFINE_Int64(max_sys_mem_available_low_water_mark_bytes, "6871947673"); // The size of the memory that gc wants to release each time, as a percentage of the mem limit. DEFINE_mString(process_minor_gc_size, "10%"); diff --git a/be/src/common/config.h b/be/src/common/config.h index e450f220427..0d424940cfc 100644 --- a/be/src/common/config.h +++ b/be/src/common/config.h @@ -158,10 +158,10 @@ DECLARE_mInt32(max_fill_rate); DECLARE_mInt32(double_resize_threshold); -// The maximum low water mark of the system `/proc/meminfo/MemAvailable`, Unit byte, default 1.6G, -// actual low water mark=min(1.6G, MemTotal * 10%), avoid wasting too much memory on machines -// with large memory larger than 16G. -// Turn up max. On machines with more than 16G memory, more memory buffers will be reserved for Full GC. +// The maximum low water mark of the system `/proc/meminfo/MemAvailable`, Unit byte, default 6.4G, +// actual low water mark=min(6.4G, MemTotal * 10%), avoid wasting too much memory on machines +// with large memory larger than 64G. +// Turn up max. On machines with more than 64G memory, more memory buffers will be reserved for Full GC. // Turn down max. will use as much memory as possible. DECLARE_Int64(max_sys_mem_available_low_water_mark_bytes); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org