This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-1.1-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.1-lts by this push:
new f8a99c22c4 [branch-1.1-lts](memory) Disable page cache and lower chunk
allocator to avoid OOM #13022
f8a99c22c4 is described below
commit f8a99c22c444a43a6e87926bc2233206e5705103
Author: Xinyi Zou <[email protected]>
AuthorDate: Wed Sep 28 11:30:08 2022 +0800
[branch-1.1-lts](memory) Disable page cache and lower chunk allocator to
avoid OOM #13022
---
be/src/common/config.h | 4 ++--
docs/en/administrator-guide/config/be_config.md | 6 +++---
docs/zh-CN/administrator-guide/config/be_config.md | 6 +++---
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/be/src/common/config.h b/be/src/common/config.h
index 106609ee05..3281cf81c0 100644
--- a/be/src/common/config.h
+++ b/be/src/common/config.h
@@ -232,7 +232,7 @@ CONF_String(storage_page_cache_limit, "20%");
// all storage page cache will be divided into data_page_cache and
index_page_cache
CONF_Int32(index_page_cache_percentage, "10");
// whether to disable page cache feature in storage
-CONF_Bool(disable_storage_page_cache, "false");
+CONF_Bool(disable_storage_page_cache, "true");
CONF_Bool(enable_storage_vectorization, "true");
@@ -421,7 +421,7 @@ CONF_Bool(use_mmap_allocate_chunk, "false");
// must larger than 0. and if larger than physical memory size, it will be set
to physical memory size.
// increase this variable can improve performance,
// but will acquire more free memory which can not be used by other modules.
-CONF_mString(chunk_reserved_bytes_limit, "2147483648");
+CONF_mString(chunk_reserved_bytes_limit, "209715200");
// 1024, The minimum chunk allocator size (in bytes)
CONF_Int32(min_chunk_reserved_bytes, "1024");
diff --git a/docs/en/administrator-guide/config/be_config.md
b/docs/en/administrator-guide/config/be_config.md
index e979b33766..cbf02ab791 100644
--- a/docs/en/administrator-guide/config/be_config.md
+++ b/docs/en/administrator-guide/config/be_config.md
@@ -232,9 +232,9 @@ The number of worker threads to calculate the checksum of
the tablet
### `chunk_reserved_bytes_limit`
-Default:2147483648
+Default:209715200
-The reserved bytes limit of Chunk Allocator is 2GB by default. Increasing this
variable can improve performance, but it will get more free memory that other
modules cannot use.
+The reserved bytes limit of Chunk Allocator is 200M by default. Increasing
this variable can improve performance, but it will get more free memory that
other modules cannot use.
### `clear_transaction_task_worker_count`
@@ -433,7 +433,7 @@ Whether to disable the memory cache pool, it is not
disabled by default
* Type: bool
* Description: Disable to use page cache for index caching, this configuration
only takes effect in BETA storage format, usually it is recommended to false
-* Default value: false
+* Default value: true
### `disk_stat_monitor_interval`
diff --git a/docs/zh-CN/administrator-guide/config/be_config.md
b/docs/zh-CN/administrator-guide/config/be_config.md
index bfe7f93285..b6b30a7125 100644
--- a/docs/zh-CN/administrator-guide/config/be_config.md
+++ b/docs/zh-CN/administrator-guide/config/be_config.md
@@ -225,9 +225,9 @@ BE缓存池最大的内存可用量,buffer pool是BE新的内存管理结构
### `chunk_reserved_bytes_limit`
-默认值:2147483648
+默认值:209715200
-Chunk Allocator的reserved bytes限制,默认为2GB,增加这个变量可以提高性能,但是会获得更多其他模块无法使用的空闲内存
+Chunk Allocator的reserved bytes限制,默认为200M,增加这个变量可以提高性能,但是会获得更多其他模块无法使用的空闲内存
### `clear_transaction_task_worker_count`
@@ -427,7 +427,7 @@ CumulativeCompaction会跳过最近发布的增量,以防止压缩可能被查
* 类型:bool
* 描述:是否进行使用page cache进行index的缓存,该配置仅在BETA存储格式时生效
-* 默认值:false
+* 默认值:true
### `disk_stat_monitor_interval`
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]