From 501e7b91325b7239a6a900b005ba2da414f43877 Mon Sep 17 00:00:00 2001 From: Jerry Hu Date: Wed, 14 Sep 2022 14:26:13 +0800 Subject: [PATCH] [chore][config] increase the default value of doris_blocking_priority_queue_wait_timeout_ms (#12580) The default value of Config::doris_blocking_priority_queue_wait_timeout_ms make PriorityWorkStealingThreadPool::work_thread high CPU usage (about 8%) --- 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 eee4be2d30..68050bd120 100644 --- a/be/src/common/config.h +++ b/be/src/common/config.h @@ -161,7 +161,7 @@ CONF_mInt32(status_report_interval, "5"); // if true, each disk will have a separate thread pool for scanner CONF_Bool(doris_enable_scanner_thread_pool_per_disk, "true"); // the timeout of a work thread to wait the blocking priority queue to get a task -CONF_mInt64(doris_blocking_priority_queue_wait_timeout_ms, "5"); +CONF_mInt64(doris_blocking_priority_queue_wait_timeout_ms, "500"); // number of olap scanner thread pool size CONF_Int32(doris_scanner_thread_pool_thread_num, "48"); // number of olap scanner thread pool queue size