chenBright commented on PR #3145:
URL: https://github.com/apache/brpc/pull/3145#issuecomment-3574516147

   > @chenBright Hi, i use the 
patch(commit:db3673acf276d9baec8aff95afd07bdbc5811437) in my task, but i still 
get the error: "[wk-10] W1124 07:27:34.681490 82718 0 
external/brpc/src/brpc/rdma/rdma_endpoint.cpp:952 CutFromIOBufList] Fail to 
ibv_post_send: Cannot allocate memory, remote_rq_window_size=57, 
sq_window_size=5, sq_current=5".
   > 
   > My task is model trainning and the brpc gdr is open.
   
   Could it be that an unexpected imm is occupying SQ? Try to set sq_size back 
to its original value of sq_size * 5 / 4.
   
   ```c++
   resource->qp = AllocateQp(resource->send_cq, resource->recv_cq, sq_size * 5 
/ 4, rq_size);
   ```


-- 
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]

Reply via email to