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 01:16:28 UTC

[doris] branch master updated: [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 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 91cf33865d [improvement](load) config flush_thread_num_per_store to be 6 by default (#13076)
91cf33865d is described below

commit 91cf33865d15b177ed70a5a33e948b5fdf77ffbe
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 736381873b..80e821c536 100644
--- a/be/src/common/config.h
+++ b/be/src/common/config.h
@@ -585,7 +585,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