WingsGo opened a new issue #4085:
URL: https://github.com/apache/incubator-doris/issues/4085


       Currently, FE's Thread is managed by `ThreadPoolManager`, but BE's 
thread manage is messy, some are `PriorityThreadPool` some a native pthread, It 
is inconvient to trace some problem such as thread num increase up to thounds 
and CPU load is very high.
        Now, we introduce kudu's ThreadPool in #2915, and prepare to replace 
some native pthread to ThreadPool #3416 , and I think we should also introduce 
kudu's ThreadPoolMgr to manage ThreadPool, and collect metric such as `user cpu 
time used`, `system cpu time used`, `context switches`, escepcially for plan 
fragment executor's thread to help us positioning if the thread is doing a long 
task which was unexpected or they are just waiting by potential deadlock 
problems.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to