Skip to main content
QUICK REVIEW

[Paper Review] RDMAvisor: Toward Deploying Scalable and Simple RDMA as a Service in Datacenters

Zhi Wang, Xiaoliang Wang|arXiv (Cornell University)|Feb 6, 2018
Cloud Computing and Resource ManagementComputer Science5 references5 citations
TL;DR

RDMAvisor presents a scalable and simple RDMA as a Service (RaaS) abstraction that decouples high-level applications from low-level RDMA complexities by enabling connection sharing over shared Queue Pairs (QPs) using virtual QPNs (vQPNs). It achieves high throughput with low CPU and memory overhead across thousands of connections through lock-free, adaptive transport selection and efficient buffer management, outperforming naive RDMA and lock-based QP sharing schemes.

ABSTRACT

RDMA is increasingly adopted by cloud computing platforms to provide low CPU overhead, low latency, high throughput network services. On the other hand, however, it is still challenging for developers to realize fast deployment of RDMA-aware applications in the datacenter, since the performance is highly related to many lowlevel details of RDMA operations. To address this problem, we present a simple and scalable RDMA as Service (RaaS) to mitigate the impact of RDMA operational details. RaaS provides careful message buffer management to improve CPU/memory utilization and improve the scalability of RDMA operations. These optimized designs lead to simple and flexible programming model for common and knowledgeable users. We have implemented a prototype of RaaS, named RDMAvisor, and evaluated its performance on a cluster with a large number of connections. Our experiment results demonstrate that RDMAvisor achieves high throughput for thousand of connections and maintains low CPU and memory overhead through adaptive RDMA transport selection.

Motivation & Objective

  • To address the challenge of complex, low-level RDMA configuration that hinders rapid deployment of RDMA-aware applications in datacenters.
  • To improve scalability of RDMA in large-scale datacenter environments where thousands of connections per node are common.
  • To reduce CPU and memory overhead by enabling efficient reuse of RDMA Queue Pairs (QPs) across multiple connections.
  • To provide a simple, flexible programming model that abstracts RDMA operational details while maintaining high performance.
  • To mitigate performance degradation caused by lock contention in shared QP designs.

Proposed method

  • Introduces a shim layer that abstracts RDMA verbs into socket-like interfaces, hiding low-level details from application developers.
  • Uses virtual QPNs (vQPNs) to uniquely identify logical connections within shared physical QPs, enabling connection multiplexing.
  • Employs one-sided RDMA operations (Read/Write) with vQPNs stored in the wr_id field of Work Requests (WRs) for connection identification.
  • For two-sided operations (Send/Recv), embeds vQPNs in the immediate data field (imm_data) of WRs to allow destination-side connection resolution.
  • Implements lock-free, user-space polling of CQs (Completions Queues) to minimize OS involvement and reduce latency.
  • Adopts adaptive transport selection (RC/UC/UD) based on message size and performance characteristics to optimize throughput and resource usage.

Experimental results

Research questions

  • RQ1How can RDMA be abstracted into a simple, reusable service layer that hides low-level operational complexity for application developers?
  • RQ2What mechanisms enable efficient and scalable sharing of limited QP resources across thousands of concurrent connections?
  • RQ3How does connection multiplexing over shared QPs affect throughput, CPU, and memory overhead compared to per-connection QP allocation?
  • RQ4Can lock-free, user-space polling and adaptive transport selection significantly reduce CPU and memory overhead in high-concurrency RDMA workloads?
  • RQ5To what extent does the proposed RaaS design outperform naive RDMA and existing shared QP approaches with lock contention?

Key findings

  • RDMAvisor maintains stable high throughput even with up to 1,000 connections per node, while naive RDMA shows a sharp performance drop beyond 400 connections due to QP exhaustion.
  • The system outperforms naive RDMA even at connection counts below 400, due to higher batching efficiency from QP sharing.
  • RDMAvisor reduces CPU and memory overhead significantly compared to naive RDMA, with resource consumption growing sub-linearly with the number of connections.
  • The design is resilient to lock contention, outperforming lock-based QP sharing schemes, especially as the number of threads per QP increases.
  • Adaptive transport selection enables optimal performance by choosing RC, UC, or UD based on message size and network conditions.
  • The vQPN mechanism enables efficient, lock-free connection identification in shared QPs, reducing cache misses and improving scalability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.