You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/07/13 08:55:25 UTC

[GitHub] [incubator-doris] WingsGo opened a new issue #4085: [Proposal]Introduce kudu's ThreadPoolMgr && register metric to manage BE's thread

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:
users@infra.apache.org



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


[GitHub] [incubator-doris] WingsGo commented on issue #4085: [Proposal]Use kudu's ThreadPoolMgr && add metrics for BE's thread in BE's WebSite

Posted by GitBox <gi...@apache.org>.
WingsGo commented on issue #4085:
URL: https://github.com/apache/incubator-doris/issues/4085#issuecomment-658240854


   Hi, @chaoyli , I will add these metrics to help users to positioning some slow query's problem in plan fragment threads' problem, do you have any suggestions for the solution, is it 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.

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



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