tbago opened a new issue #1395:
URL: https://github.com/apache/incubator-brpc/issues/1395


       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](https://github.com/apache/incubator-brpc/blob/rdma/src/brpc/rdma/rdma_completion_queue.cpp#L197)
 to polling the rdma cq. But when we create more rdma_cq_num and bind them in 
separate cpu core. The bthread is not working well, the rdma latency is grow up.
   
   So use the bthread to polling the rdma cq in multithread is not good design. 
So would you like to create an pthread options mode for the polling mode. 
   
   One more suggestion, the cpu [bind function] 
(https://github.com/apache/incubator-brpc/blob/rdma/src/brpc/rdma/rdma_completion_queue.cpp#L332)
 only can bind the cpu in fixed order. There is no options to manually bind 
cpu. So would you like to add options on this.
   
   
   


-- 
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to