You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2022/10/08 08:02:44 UTC

[doris] 03/03: [improvement](load) config flush_thread_num_per_store to be 6 by default (#13076)

This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch branch-1.1-lts
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 844cfceb76ecd865454ba1d1600d55e69c22b316
Author: Yongqiang YANG <98...@users.noreply.github.com>
AuthorDate: Sat Oct 8 09:16:22 2022 +0800

    [improvement](load) config flush_thread_num_per_store to be 6 by default (#13076)
    
    Flushing memtable is cpu bound, so 2 thread for a disk is tool small.
---
 be/src/common/config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/common/config.h b/be/src/common/config.h
index 8e91db663a..dfba339af5 100644
--- a/be/src/common/config.h
+++ b/be/src/common/config.h
@@ -540,7 +540,7 @@ CONF_mInt32(storage_flood_stage_usage_percent, "90"); // 90%
 // The min bytes that should be left of a data dir
 CONF_mInt64(storage_flood_stage_left_capacity_bytes, "1073741824"); // 1GB
 // number of thread for flushing memtable per store
-CONF_Int32(flush_thread_num_per_store, "2");
+CONF_Int32(flush_thread_num_per_store, "6");
 // number of thread for flushing memtable per store, for high priority load task
 CONF_Int32(high_priority_flush_thread_num_per_store, "1");
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org