Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brpc rdma multithread polling mode in pthread #1395

Closed
tbago opened this issue May 8, 2021 · 1 comment
Closed

brpc rdma multithread polling mode in pthread #1395

tbago opened this issue May 8, 2021 · 1 comment

Comments

@tbago
Copy link
Contributor

tbago commented May 8, 2021

In the brpc rdma branch. when we use polling mode, we select several thread workers to do the polling all the time. These thread workers will not handle other tasks any more. The brpc use bthread to polling the rdma cq. But when we set multi cq num like rdma_cq_num = 9 and bind them in separate cpu core. The bthread is not working well, and event cannot quit the process.
WechatIMG23

In the rdma polling mode, the bthread is works as pthread. And cannot processing any other task. So why not just use pthread to process the cq event. And use bthread to do other works, and make bthread more efficient.

@wwbmmm
Copy link
Contributor

wwbmmm commented Aug 17, 2022

Hello, the original rdma branch is no longer maintained. We plan to merge rdma feature into master:#1836
You can try the new rdma implementation. If still have problem, you can create a new issue.
Close this first.

@wwbmmm wwbmmm closed this as completed Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants