Tuvie commented on issue #1995:
URL: 
https://github.com/apache/incubator-brpc/issues/1995#issuecomment-1317186330

   > @Tuvie How much work is needed? It's grateful if you can shed some light 
on the relation between `user_data` and memory registered by `ibv_reg_mr`
   
   A PR is committed: https://github.com/apache/incubator-brpc/pull/1999
   Pls try again and refer to the update on docs.
   
   By default, if you use memory managed by IOBuf, you don't need to register 
memory by yourself. If you manage memory outside the IOBuf, you should register 
memory explicitly as you did. However, since it is not efficient to lookup the 
lkey for this kind of user_data, we suggest you maintain your own memory pool 
and register all the pool once.
   
   


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