Remote Direct Memory Access (RDMA) is a networking technology that allows a computer to directly read from or write to the memory of a remote machine, completely bypassing the remote host's operating system and CPU. This kernel bypass eliminates context switches and intermediate data copies in protocol stacks, enabling ultra-low latency measured in single-digit microseconds and high-throughput data transfer with minimal CPU overhead.
Glossary
RDMA

What is RDMA?
Remote Direct Memory Access is a technology enabling direct memory-to-memory data transfer between computers without involving the operating system, CPU, or intermediate data copies.
RDMA achieves this by offloading the entire transport protocol to a specialized RDMA-capable Network Interface Controller (RNIC). The NIC performs direct memory transfers using zero-copy semantics, placing data directly into application buffers. This is critical for distributed AI training on GPU clusters, where NVIDIA GPUDirect RDMA allows network adapters to write data directly to GPU memory, accelerating collective communication operations like all-reduce across nodes.
Core Characteristics of RDMA
Remote Direct Memory Access defines a set of properties that fundamentally alter how data moves between nodes in a high-performance cluster. These characteristics eliminate traditional networking bottlenecks by bypassing the operating system kernel and CPU on the target machine.
Kernel Bypass
RDMA enables a network adapter to transfer data directly to and from application memory without involving the host operating system kernel. In a traditional TCP/IP stack, data must traverse the kernel's network stack, incurring context switches and memory copies. With kernel bypass, an RDMA-enabled NIC reads or writes data directly from a pinned application buffer, reducing latency to single-digit microseconds and freeing CPU cycles for computation rather than I/O processing. This is critical for GPU clusters where every microsecond of communication delay stalls expensive accelerators.
Zero-Copy Data Transfer
Conventional network stacks perform multiple memory copies: from application buffer to kernel socket buffer, then to the NIC's transmit ring. RDMA eliminates these intermediate copies. The NIC's DMA engine reads data directly from the source application buffer and writes it directly into the destination application buffer across the network. This zero-copy mechanism dramatically reduces memory bandwidth consumption and CPU overhead, allowing a single server to saturate 200Gb/s or 400Gb/s links without becoming CPU-bound on data movement tasks.
One-Sided Operations
RDMA supports RDMA Read and RDMA Write operations that are executed entirely by the initiator's NIC without waking the remote CPU. The initiator specifies a remote memory address, and the remote NIC services the request autonomously using previously exchanged memory registration keys. This one-sided semantic is transformative for distributed computing patterns like shared-memory emulation and parameter server architectures in deep learning, where a training node can push gradients directly into a remote buffer without interrupting the parameter server's CPU.
Transport Offload
The entire transport protocol processing is offloaded to the RDMA network adapter hardware. Functions such as packet segmentation, reassembly, acknowledgment generation, and retransmission logic execute on the NIC's ASIC rather than in software. This hardware offload guarantees deterministic, line-rate performance regardless of host CPU load. For AI training workloads using NCCL collective communications, this ensures that all-reduce operations complete with predictable, low tail latency even when the host CPUs are saturated with data preprocessing tasks.
Memory Registration and Pinning
Before RDMA operations can occur, application memory regions must be registered with the RNIC. This registration pins the virtual memory pages to physical memory, preventing the OS from swapping them out, and provides the NIC with the virtual-to-physical address mappings. The NIC caches these translations in its internal Memory Translation Table, enabling it to perform address translation at line rate without host intervention. While registration introduces a one-time setup cost, it is essential for the safety and performance of direct memory access.
Reliable vs. Unreliable Transports
RDMA fabrics offer multiple transport modes tailored to different workload requirements:
- Reliable Connection (RC): Provides in-order, lossless delivery with hardware-based retransmission. Ideal for storage protocols and MPI collectives.
- Unreliable Datagram (UD): Offers connectionless messaging without guaranteed delivery. Used for control plane operations and scalable one-to-many communication.
- Dynamically Connected (DC): Balances scalability and reliability by dynamically establishing connections, commonly used in large-scale AI clusters to avoid connection state explosion.
Frequently Asked Questions
Remote Direct Memory Access (RDMA) is a transformative networking technology that eliminates the operating system from the data transfer path, enabling microsecond latency and line-rate throughput essential for distributed GPU training. The following answers address the most critical technical and architectural questions about RDMA in modern AI infrastructure.
Remote Direct Memory Access (RDMA) is a networking technology that allows a computer's network interface controller (NIC) to directly read from or write to the application memory of a remote machine without involving the remote host's operating system, CPU, or kernel. This kernel bypass mechanism eliminates context switches and intermediate data copies. The process works through zero-copy data transfers: the RDMA-capable NIC (RNIC) pulls data directly from user-space buffers, segments it into packets, and transmits it across the fabric. On the receiving side, the RNIC places the payload directly into the target application's pre-registered memory region without waking the CPU. This is orchestrated by Queue Pairs (QPs)—send and receive queues mapped directly to user space—and Work Requests (WRs) posted to these queues. Completion is signaled via Completion Queues (CQs). The result is end-to-end latencies as low as 1-2 microseconds, compared to 15-25 microseconds for traditional kernel-based TCP/IP stacks, making RDMA indispensable for latency-sensitive distributed GPU workloads like NCCL all-reduce operations.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
RDMA is the foundational protocol enabling high-throughput, low-latency communication in GPU clusters. These related technologies form the complete networking stack for on-premises AI infrastructure.
InfiniBand
The dominant high-performance switched fabric interconnect for AI clusters, natively supporting RDMA. InfiniBand provides sub-microsecond latency and bandwidth up to 400 GB/s (NDR), making it the preferred choice for GPU-to-GPU communication in large-scale training.
- Uses a cut-through switching architecture to minimize latency
- Implements adaptive routing to avoid congestion hotspots
- Requires dedicated InfiniBand host channel adapters (HCAs) and switches
- Supports SHARP (Scalable Hierarchical Aggregation and Reduction Protocol) for in-network computing
RoCE (RDMA over Converged Ethernet)
A network protocol that enables RDMA over standard Ethernet infrastructure, eliminating the need for specialized InfiniBand hardware. RoCEv2 encapsulates RDMA packets in UDP/IP, making it routable across IP networks.
- RoCEv1: Layer 2 only, non-routable, limited to a single broadcast domain
- RoCEv2: Layer 3 routable, uses UDP destination port 4791
- Requires lossless Ethernet via Priority Flow Control (PFC) and Explicit Congestion Notification (ECN)
- Often deployed with DCQCN congestion control for stability at scale
GPUDirect RDMA
An NVIDIA technology that enables direct data transfers between GPU memory and a network interface card (NIC) without staging through CPU host memory. This eliminates a costly memory copy, reducing latency and freeing CPU cycles.
- Creates a direct PCIe peer-to-peer path between GPU and NIC
- Requires compatible NVIDIA GPUs, Mellanox/ConnectX NICs, and CUDA drivers
- Critical for multi-node training where gradient synchronization must be as fast as possible
- Works with both InfiniBand and RoCE fabrics
NCCL (NVIDIA Collective Communications Library)
The standard collective communication library for multi-GPU and multi-node deep learning. NCCL implements topology-aware all-reduce, all-gather, reduce-scatter, and broadcast primitives optimized to saturate RDMA interconnects.
- Automatically detects GPU topology (NVLink, PCIe, network) and selects optimal algorithms
- Uses ring and tree algorithms depending on message size and node count
- Integrates natively with PyTorch
torch.distributedand TensorFlowtf.distribute - Achieves near-line-rate bandwidth on InfiniBand and RoCE fabrics
DCQCN (Data Center Quantized Congestion Notification)
A congestion control algorithm specifically designed for RDMA over Converged Ethernet (RoCEv2) networks. DCQCN combines Explicit Congestion Notification (ECN) marking with rate-based throttling to prevent packet loss in lossless fabrics.
- Reacts to congestion before buffers overflow, avoiding PFC storms
- Uses a reaction point (sender) and notification point (switch) architecture
- Critical for maintaining RDMA performance at scale in multi-tenant GPU clusters
- Prevents congestion spreading and head-of-line blocking across the fabric
Spine-Leaf Architecture
A two-layer network topology where every leaf switch connects to every spine switch, providing predictable non-blocking east-west bandwidth. This is the standard physical design for GPU cluster fabrics using RDMA.
- Eliminates oversubscription: any leaf can reach any other leaf at full line rate
- Supports equal-cost multipathing (ECMP) for load balancing across spines
- Scales horizontally by adding spines for more bandwidth or leaves for more ports
- Typically deployed with BGP or OSPF for dynamic routing in the fabric

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us