RB2: Narrow the Gap between RDMA Abstraction and Performance via a Middle Layer
Haifeng Sun, Yixuan Tan, Yongtong Wu, Jiaqi Zhu, Qun Huang, Xin Yao, Gong Zhang
Abstract
Although the native RDMA interface allows for high throughput and low latency, its low-level abstraction raises significant programming challenges. Consequently, numerous systems encapsulate the RDMA interface into more user-friendly high-level abstractions such as Socket, MPI, and RPC. However, this ease of development often incurs considerable performance degradation. To address this trade-off, this paper introduces RB2, a high-performance RDMA-based Distributed Ring Buffer (DRB). RB2serves as a middle layer that effectively conceals the low-level details of the RDMA interface while also facilitating extension to other high-level abstractions.Nonetheless, it is non-trivial for DRBs to preserve the RDMA performance. We optimize the performance of RB2in three aspects. First, we perform micro-benchmarks to identify the pointer synchronization methods that are seemingly counter-intuitive but offer optimal performance improvements. Second, we propose an adaptive batching mechanism to alleviate the limitations of conventional fixed batching. Finally, we build an efficient memory subsystem using various optimization techniques. RB2outperforms SOTA designs by achieving 2.5 × to 7.5 × throughput while maintaining comparable tail latency for small messages.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Cited by top-tier papers1
Ask how each one uses itRelated papers
- Maximizing the Benefit of RDMA at End HostsXiaoliang Wang, Hexiang Song, Cam-Tu Nguyen, Dongxu Cheng et al.INFOCOM 2021 · 8 citations
- PRISM: Rethinking the RDMA Interface for Distributed SystemsMatthew Burke, Sowmya Dharanipragada, Shannon Joyner, Adriana Szekeres et al.SOSP 2021 · 23 citations
- Towards Buffer Management with Tiered Main MemoryXiangpeng Hao, Xinjing Zhou, Xiangyao Yu, Michael StonebrakerSIGMOD 2024 · 12 citations
- CoRM: Compactable Remote Memory over RDMAKonstantin Taranov, Salvatore Di Girolamo, Torsten HoeflerSIGMOD 2021 · 18 citations
- Hardware-supported remote persistence for distributed persistent memoryZhuohui Duan, Haodi Lu, Haikun Liu, Xiaofei Liao et al.SC 2021 · 8 citations
