You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2020/08/18 03:20:32 UTC

[GitHub] [incubator-brpc] GOGOYAO commented on issue #1190: bthread::Mutex的内存占用远大于std::mutex

GOGOYAO commented on issue #1190:
URL: https://github.com/apache/incubator-brpc/issues/1190#issuecomment-675225869


   > 什么场景需要用到这么多mutex实例?
   
   在braft 做 multi raft的时候,每个分片(一个分片一个raft group)都放了一个条带锁。最开始放得比较大(10000个),分片多了就导致内存爆了。


----------------------------------------------------------------
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: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org