kaka11chen commented on code in PR #51690:
URL: https://github.com/apache/doris/pull/51690#discussion_r2214719703
##########
be/src/common/config.cpp:
##########
@@ -293,6 +293,27 @@ DEFINE_Int32(be_service_threads, "64");
// The pipeline task has a high concurrency, therefore reducing its report
frequency
DEFINE_mInt32(pipeline_status_report_interval, "10");
DEFINE_mInt32(pipeline_task_exec_time_slice, "100");
+
+DEFINE_Int32(task_executor_initial_split_concurrency, "-1");
+DEFINE_Validator(task_executor_initial_split_concurrency, [](const int config)
-> bool {
+ if (config == -1) {
+ CpuInfo::init();
+ task_executor_initial_split_concurrency = std::max(48,
CpuInfo::num_cores() * 2);
+ }
+ return true;
+});
+
+DEFINE_Int32(task_executor_min_concurrency_per_task, "1");
+DEFINE_Int32(task_executor_max_concurrency_per_task, "-1");
+DEFINE_Validator(task_executor_max_concurrency_per_task, [](const int config)
-> bool {
+ if (config == -1) {
+ task_executor_max_concurrency_per_task =
std::numeric_limits<int>::max();
+ }
+ return true;
+});
+DEFINE_Bool(enable_task_executor_in_internal_table, "false");
Review Comment:
ok
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]