arXiv:2610.24328cs.DCOct 2026

Manuscript Offprint

arXiv:2610.24328

SigmaTrace: Library-Agnostic Observability for CPU/GPU-Initiated RDMA Communication

Javid Baydamirli, Didem Unat

Javid Baydamirli

Computer Science and Engineering, Koç University

Istanbul, Turkey

jbaydamirli21@ku.edu.tr

Didem Unat

Computer Science and Engineering, Koç University

Istanbul, Turkey

dunat@ku.edu.tr

Abstract—RDMA networking enables low-latency, high-bandwidth communication on large systems. Despite its adoption, however, observability is lacking. Existing tools target specific communication libraries or only report aggregated data, missing per-operation behavior. The gap is widest for GPU-initiated networking, whose in-kernel RDMA operations are invisible to the host.

We present SIGMATRACE, a library-agnostic RDMA profiling framework providing fine-grained, per-operation visibility for CPU and GPU-initiated networking. It traces operations at the libibverbs/mlx5dv layers, the common denominator beneath communication libraries on InfiniBand and RoCE, and employs a low-overhead memory interposition technique that, to our knowledge, gives the first observability into GPU-initiated RDMA without source patching or binary instrumentation.

Host-side tracing adds 1.3% overhead on NCCL AllReduce at 128 GPUs and under 2% on RCCL at 1024 GPUs. On a persistent-kernel BFS and Mixture-of-Experts inference, SIGMATRACE exposes an in-kernel barrier spread and 2.13×2.13\times inter-node traffic skew invisible to existing profilers.

Index Terms—GPU-initiated networking, High performance Computing, Network interfaces, Performance evaluation, Remote Direct Memory Access (RDMA)

I. INTRODUCTION

Communication overhead is a major consideration for scalability and efficiency in AI training and inference, as well as scientific computing workloads [1]-[3]. To better meet performance-critical data movement demands of modern workloads, large-scale clusters now ubiquitously employ high-speed and low-latency Remote Direct Memory Access (RDMA) networking. At the software level, RDMA communication has seen wide adoption in libraries including NCCL [4], NVSHMEM [5], MPI, UCX [6], and many of their derivatives, dominating the high-performance computing landscape.

Significant effort has also been directed at bringing native networking to GPUs. Traditionally, CPU threads managed network buffers and operations on behalf of GPUs. GPUDirect RDMA [7] moved the data path onto devices, allowing NICs to read directly from GPU memory. Later, GPUDirect Async (IBGDA) [8] moved the control path onto devices as well, enabling GPU threads to construct RDMA messages in device memory, write to NIC doorbells to initiate communication, and poll for completion without CPU involvement. This paradigm of putting the devices in control of communication can reduce end-to-end latency greatly while allowing higher levels of computation and communication overlap [9]–[13]. GPU-initiated networking has been adopted by first-party libraries [4], [5] and is increasingly specialized for latency-sensitive workloads such as Mixture-of-Experts (MoE) routing: DeepEP V2 [14] uses NCCL's device-side API to minimize all-to-all dispatch latency across hundreds of expert-parallel ranks, and several communication libraries have since built on it [15]–[17].

Despite the growing adoption of both CPU and GPU-initiated RDMA, tooling for observability, performance engineering, and communication debugging has not kept pace. Existing profiling and tracing tools largely focus on a single high-level layer in the communication stack, missing RDMA-level information, and remaining entirely blind to GPU-initiated operations: GPU-initiated RDMA is opaque to the host and consists of loads and stores that are indistinguishable from the many other memory operations occurring within a kernel. Unlike its CPU-side counterpart, there are no API boundaries or software events that can be used as observability points.

Tools like Mycroft [18], NCCL Inspector [19], and NPKit [20] that instrument GPU communication libraries trace the host-side proxy threads and API calls but stop squarely at the kernel launch. On the other hand, binary instrumentation-based tools like Snoopie [21] incur high overheads due to assembly level injection across all memory operations [22]. Vendor profilers like NVIDIA's Nsight Systems [23] and AMD's ROCm Systems Profiler [24] provide system-level aggregate NIC counters, but cannot attribute metrics to an individual kernel, GPU, or even process, and offer little visibility into the actual RDMA operations being performed. As a result, the most performance-critical operations are paradoxically the least visible.

To address the observability gaps, we present SIGMATRACE, an RDMA profiling framework that provides fine-grained, per-operation visibility into the full communication stack for both CPU and GPU-initiated networking. Our approach relies on one

Accepted for publication in the International Conference for High Performance Computing, Networking, Storage and Analysis (SC26), November 15–20, 2026, Chicago, Illinois, USA. Author's accepted manuscript. © 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

observation: while GPU-initiated RDMA bypasses traditional software interception points such as API calls, it cannot bypass the hardware interface between the GPU and the NIC. Even with fully GPU-native networking, where all communication buffers reside entirely within device memory and data moves through hardware-level DMA without the CPU on the path, every RDMA operation is ultimately initiated by a PCIe write. The write is done from within GPU kernels to a NIC's doorbell register, which is exposed in its PCIe memory-mapped I/O (MMIO) Base Address Register (BAR) and memory-mapped into the application's address space. This gives us a single observable point below all communication libraries and opaque memory instructions, on a data path accessible to the CPU.

We exploit this point and selectively replace the doorbell pages that would be mapped into GPU address space—NIC User Access Region (UAR) pages—with pinned CPU memory through hijacks at the mlx5 direct verbs and CUDA driver levels, redirecting doorbell writes without modifying the target application. When the GPU rings the doorbell to initiate a transfer, our polling thread captures it first, records the RDMA metadata associated with it, and forwards the request to the real NIC for execution. To our knowledge, SIGMATRACE is the first tool to both enable observability into GPU-initiated RDMA operations, and to employ GPU-level memory interposition for profiling without binary instrumentation.

Our contributions are as follows:

• The first observability solution for true GPU-initiated networking: We capture precise doorbell timing and RDMA work queue content, invisible to all existing tools.

• UAR memory interposition technique: We detail a novel Memory Hijack-and-Repeat mechanism that records and redirects GPU memory operations without source code modifications, at a fraction of the overhead of binary instrumentation.

• Library-agnostic multi-layer tracing: We target the lowest common denominator layer above hardware—libibverbs and mlx5dv [25]—that upstream libraries use on InfiniBand and RoCE platforms. We additionally instrument UCX and libfabric directly, extending support to HPE Slingshot and AWS EFA fabrics.

• Scalable cross-node correlation and analysis: We develop a minimal-overhead event recording framework with hardware-ID-based distributed trace correlation, and support both timeline visualization of network events and quantitative analysis via Perfetto and PerfettoSQL.

We evaluate SIGMATRACE on up to 128 nodes, demonstrating as little as 1.3% overhead on NCCL AllReduce on 128 GPUs across 32 nodes and under 2% on RCCL at 1024 GPUs across 128 nodes. We further characterize the overhead of the memory-hijack mechanism with microbenchmarks and present two case studies: a distributed persistent-kernel BFS traversal, where SIGMATRACE reveals early per-level graph load imbalance and straggler barriers, and a Mixture-of-Experts inference workload, where SIGMATRACE exposes inter-node traffic skew across data-parallel ranks.

References (44)