chenBright commented on issue #3132: URL: https://github.com/apache/brpc/issues/3132#issuecomment-3550544706
> 当 QP 数量较多时,事件触发 poll cq 需要处理的事件多了一倍 send CQE是每1/4窗口一个,recv CQE是每1/8窗口一个,事件多了一半吧。简单测了一下,cpu消耗多了1%~2%,非性能严苛场景,应该是能接受的。 > polling 模式需要 poll 的 cq 也多了一倍 不会,polling模式只使用了一个polling_cq。 > 当 sq_size 降为 0 时,RDMA 模块除了尝试 PollCq 之外也做不了什么。 send CQ是事件驱动的,通过事件触发PollCq。 主动尝试PollCq的话,只能轮询触发了。轮询频率高,CPU消耗变多;轮询频率低,可能会影响延时。 -- 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]
