Abstract
While edge computing research frequently prioritizes the "last mile" of 5G/6G connectivity, the internal network fabric of edge facilities remains a significant, yet under-explored, bottleneck. This paper investigates the impact of hardware-accelerated communication—specifically GPUDirect RDMA (GDR)—on model-serving latency. By developing a custom high-performance framework, the researchers demonstrate that bypassing the CPU and eliminating redundant data copies can reduce end-to-end latency by 15–50% (70–160 ms) across various deep neural network (DNN) workloads.
Introduction
In the context of edge offloading, latency is often treated as a product of the wireless link between the end-user device and the edge server. However, modern edge applications—such as augmented reality (AR), autonomous robotics, and real-time video analytics—rely on complex, multi-stage pipelines. In these environments, data must traverse proxies, load balancers, and multiple GPU nodes within the edge facility itself.
Existing model-serving systems, including NVIDIA Triton and Clipper, typically rely on standard TCP/IP stacks. While reliable, TCP introduces substantial CPU overhead for packet processing and necessitates multiple data transfers through system RAM before reaching the GPU. As GPU compute speeds continue to increase, these internal data movement overheads—the "internal network fabric"—have become the dominant bottleneck in the pipeline.
Methodology
To isolate and analyze these overheads, the researchers developed a custom model-serving framework designed for fine-grained profiling. This framework was necessary because off-the-shelf solutions often lack native support for Remote Direct Memory Access (RDMA) and GDR, making it difficult to pinpoint exactly where latency is incurred.
The study evaluates four distinct transport mechanisms:
- Local: Processing on a local GPU, serving as the theoretical lower bound for latency.
- TCP (via ZeroMQ): The current industry standard for networked communication.
- RDMA (Remote Direct Memory Access): A mechanism that bypasses the CPU to write data directly into a remote server's RAM.
- GDR (GPUDirect RDMA): The most optimized path, which writes data directly from the network interface card (NIC) into the remote GPU's memory, bypassing host RAM entirely.
These mechanisms were tested in both Direct (client-to-server) and Proxied (multi-hop cluster) configurations to simulate realistic, scalable architectures.
Experimental Setup
The framework was evaluated using a diverse suite of DNN models to capture varying computational and I/O intensities:
- Classification: MobileNetV3 (lightweight), ResNet50, EfficientNetB0, and WideResNet101 (heavyweight).
- Object Detection: YoloV4.
- Segmentation: DeepLabV3_ResNet50 (characterized by high I/O requirements).
Models were trained on standard benchmarks, including ImageNet and Microsoft COCO. The researchers analyzed both raw and preprocessed image inputs to determine how data volume influences communication overhead.
Key Insights and Analysis
The Communication Fraction Rule
The effectiveness of hardware acceleration is directly proportional to the "communication fraction"—the percentage of total execution time spent on data movement. For lightweight models (MobileNetV3) or high-resolution tasks (DeepLabV3), the network is the primary bottleneck, and acceleration yields significant gains. Conversely, for massive models where compute time is the dominant factor, the relative impact of network optimization is diminished.
The Cost of Data Copies
In standard RDMA, data must still be copied from host RAM to GPU memory (H2D). GDR eliminates this step, saving approximately 0.3ms per request. While seemingly small, this saving is critical in high-concurrency environments where cumulative delays can lead to significant tail latency.
Copy Engine Bottlenecks and QoS
GPUs utilize dedicated "engines" for computation and data movement. The study found that as the number of concurrent clients increases, these copy engines become points of contention. Standard transport methods can lead to a "prioritization paradox" where high-priority tasks are delayed by the coarse-grained data transfers of low-priority tasks. GDR alleviates this by bypassing the GPU's internal copy queues, facilitating better Quality of Service (QoS) management.
Results
- Latency Reduction: Compared to TCP, GDR and RDMA reduced latency for ResNet50 by 20.3% and 11.4%, respectively. In proxied environments, hardware acceleration saved between 70ms and 160ms of end-to-end latency.
- CPU Efficiency: For I/O-intensive models like DeepLabV3, TCP-based transport consumed 100% more CPU resources than GDR, as the CPU was heavily taxed by managing data transfers.
- Scalability: In a 16-client stress test, GDR saved 4.7ms for MobileNetV3 and 160ms for DeepLabV3 compared to traditional TCP transport.
Limitations and Future Work
Despite the performance benefits, several challenges to widespread GDR adoption remain:
- Memory Management: RDMA requires "pinning" memory buffers, which allocates a fixed amount of RAM/GPU memory per client, potentially limiting server capacity.
- Hardware Homogeneity: RDMA requires specific, compatible memory layouts on both the sender and receiver, complicating deployments in heterogeneous edge environments.
- Load Balancing: GDR typically ties a client session to a specific GPU, which can hinder dynamic load balancing across a cluster.
Future research will explore the integration of dedicated ASIC-based accelerators, such as hardware image decoders, alongside GDR to further optimize the preprocessing stages of the model-serving pipeline.
Summary updated