You are viewing a plain text version of this content. The canonical link for it is here.
Posted to devnull@infra.apache.org by "Tuvie (via GitHub)" <gi...@apache.org> on 2023/01/28 09:42:38 UTC

[GitHub] [brpc] Tuvie opened a new pull request, #2100: Reduce cpu overhead when using rdma

Tuvie opened a new pull request, #2100:
URL: https://github.com/apache/brpc/pull/2100

   ### What problem does this PR solve?
   
   Issue Number:
   
   Problem Summary: 
   1. In performance test, using rdma may cost more cpu than TCP because of more bthreads.
   2. In a very rare case, the ibv_post_send operation may fail because of full SQ.
   
   ### What is changed and the side effects?
   
   Changed: 
   1. Reduce the bthread_flush called.
   2. Introduce redundant SQ size to avoid SQ overflow caused by unsignaled WQE.
   
   Side effects:
   - Performance effects(性能影响):  CPU overhead will be reduced in rdma_performance.
   
   - Breaking backward compatibility(向后兼容性): None
   
   ---
   ### Check List:
   - Please make sure your changes are compilable(请确保你的更改可以通过编译).
   - When providing us with a new feature, it is best to add related tests(如果你向我们增加一个新的功能, 请添加相关测试).
   - Please follow [Contributor Covenant Code of Conduct](../../master/CODE_OF_CONDUCT.md).(请遵循贡献者准则).
   


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

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


[GitHub] [brpc] wwbmmm merged pull request #2100: Reduce cpu overhead when using rdma

Posted by "wwbmmm (via GitHub)" <gi...@apache.org>.
wwbmmm merged PR #2100:
URL: https://github.com/apache/brpc/pull/2100


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

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