liuxuting commented on issue #2944: URL: https://github.com/apache/brpc/issues/2944#issuecomment-2865995897
> 我理解,rdma应该是全局生效的,部分server使用rdma部分server使用tcp感觉不太行,主要是那个rdma的内存是进程层面全局设置的。一部分不使用一部分使用感觉不太行。如果客户端是多进程,可以一些是use_rdma一些不使用rdma。 当前,对于单进程内混合tcp和rdma场景,我们略“粗暴”的tcp和rdma都是用BlockAllocate内存分配函数,并且将block都放在rdma注册的内存区域内,能够避免发生问题,时延也比较小。 blockmem_allocate作为全局的,会潜在的限制单个进程要么是use_rdma,要么是不使用rdma,无法混合。 咨询下社区后面会考虑更加细粒度的blockmem_allocate分配方式嘛? -- 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]
