apache / brpc

brpc is an Industrial-grade RPC framework using C++ Language, which is often used in high performance system such as Search, Storage, Machine learning, Advertisement, Recommendation etc. "brpc" means "better RPC".
https://brpc.apache.org
Apache License 2.0
16.56k stars 3.98k forks source link

RDMA 模块支持 RDMA_READ/RDMA_WRITE 的可行性 #2742

Closed ivanallen closed 1 week ago

ivanallen commented 3 months ago

Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)

存储领域,大块 IO,如果能使用 RDMA_READ/RDMA_WRITE 这种单边操作,会节省 cpu,用更少的核达到更高的吞吐。

目前看代码 send/recv 已经是 zero copy,不确定单边操作是否可获得实质性的收益。

Describe the solution you'd like (描述你期望的解决方法)

可能可以借鉴 NVMe/RDMA Transport spec 中描述的架构。

yanglimingcn commented 3 months ago

@Tuvie 辛苦评估一下,另外,我想再加个问题,现在的rdma可以配置成polling模式吗?或者增加这样的模式可行吗?