You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by "ehds (via GitHub)" <gi...@apache.org> on 2023/02/15 08:19:10 UTC

[GitHub] [brpc] ehds commented on issue #2125: 调整bthread_concurrency小于cpu核数不生效问题

ehds commented on issue #2125:
URL: https://github.com/apache/brpc/issues/2125#issuecomment-1430923990

   是的。
   https://github.com/apache/brpc/blob/3d4db04303736903f5345be2187a7842cf4a11f7/src/brpc/server.cpp#L146-L148
   
   这里会初始化为 cpu 个数 + 1。
   https://github.com/apache/brpc/blob/3d4db04303736903f5345be2187a7842cf4a11f7/src/brpc/server.cpp#L960-L968
   
   这里会增加 worker 数量。


-- 
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: dev-unsubscribe@brpc.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org