chenBright commented on issue #3132: URL: https://github.com/apache/brpc/issues/3132#issuecomment-3551258878
> > > 我理解,这种场景下,有可能4个窗口期都poll不到send WC。 > > > > > > 想到一个 idea, 应用层记录的 sq_size 耗尽某种程度上也是一种 “事件”,可以自我感知。 比如调用`RdmaEndpoint::CutFromIOBufList` 的时候如果查到 sq_size 为 0 意味着需要去 poll cq,预期一定会有 send WC 产生,除非网络断了。 这时触发一次 PollCq ,然后返回 EAGAIN。 > > 之前考虑过类似的方案,但是sq_size为0,到send WC 产生的时间不确定,一次PollCq不一定能poll不到send WC,所以触发PollCq的频率是一个问题。在这个角度看,基于send CQ事件来触发PollCq更合适。 @yanglimingcn 有什么看法或者建议? -- 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]
