Abstract
Modern applications increasingly demand ultra-low latency for data processing, often facilitated by host-controlled accelerators like GPUs and FPGAs. However, significant delays result from host involvement in accessing accelerators. To address this limitation, we introduce a novel paradigm we call Offloading through Remote Accelerator Calls (OffRAC), which elevates accelerators to first-class compute resources. OffRAC enables direct calls to FPGA-based accelerators without host involvement. Utilizing the stateless function abstraction of serverless computing, with applications decomposed into simpler stateless functions, offloading promotes efficient acceleration and distribution of computational loads across the network. To realize this proposal, we present a prototype design and implementation of an OffRAC platform for FPGAs that assembles diverse requests from multiple clients into complete accelerator calls with multi-tenancy performance isolation. This design minimizes the implementation complexity for accelerator users while ensuring isolation and programmability. Results show that the OffRAC approach reduces the latency of network calls to accelerators down to approximately 10.5 µs, as well as sustaining high application throughput up to 85Gbps, demonstrating scalability and efficiency, making it compelling for the next generation of low-latency applications.
Introduction
In modern datacenters, accelerators such as GPUs and FPGAs are typically "host-managed." Incoming network requests must travel through the Network Interface Card (NIC), into the host CPU's memory, through the operating system's network stack, and finally across the PCIe bus to reach the accelerator. This "host bottleneck" introduces significant latency and consumes valuable CPU cycles simply for data movement. While acceptable for massive, compute-heavy tasks, this overhead is prohibitive for small, fast "stateless" functions common in microservices and serverless computing.
OffRAC (Offloading through Remote Accelerator Calls) addresses this by treating the FPGA as a standalone, network-attached compute resource. By bypassing the host CPU entirely, OffRAC enables ultra-low latency and high-throughput application-level processing directly on the hardware.
System Architecture and Methods
The core of OffRAC is the Remote Accelerator Call abstraction, which mimics the simplicity of a Remote Procedure Call (RPC) for hardware. The architecture is designed to handle the complexities of network-based acceleration, such as packet fragmentation and multi-tenancy.
Key technical components include:
- Hardware Request Reassembly: A dedicated layer on the FPGA uses a ring-like buffer to collect incoming TCP packet fragments. The accelerator is only invoked once a complete application-level request (e.g., a full image or data tensor) is fully assembled.
- Decoupled Architecture: The system separates the Dispatcher (managing reassembly buffers) from the Selector (routing completed requests to specific accelerator queues). This ensures that multiple clients can share hardware resources without performance interference.
- Partial Reconfiguration (PR): OffRAC leverages the FPGA's ability to swap logic "slots" at runtime, allowing the system to load different accelerators from a library without rebooting.
- Integrated Network Stack: The system sits directly on a 100 Gbps TCP/IP stack, ensuring the host CPU remains entirely out of the data path.
Experimental Evaluation
The OffRAC prototype was evaluated using a mix of synthetic benchmarks and real-world application logic, including Top-K ranking, pre-processing steps for Deep Learning Recommendation Models (DLRM), and CNN-based image classification. Workload simulations utilized traces from the Yahoo! Cloud Serving Benchmark (YCSB) to model realistic request distributions. Performance was compared against a high-performance DPDK-based software server using the libtpa TCP stack to establish a competitive baseline.
Key Results
OffRAC demonstrates significant performance gains over traditional host-managed offloading. The system achieved a network-to-accelerator latency of approximately 10.5 µs and sustained a throughput of 85 Gbps.
Compared to the optimized CPU-based DPDK server, OffRAC reduced latency by 30–74% for 1024B requests and up to 81% for 4096B requests. Furthermore, the FPGA-based approach proved highly energy-efficient, consuming only 28–31W compared to the 188–250W required by the CPU server to handle equivalent loads.
Conclusion and Future Work
OffRAC successfully elevates FPGAs to first-class citizens in the datacenter by eliminating the host bottleneck. The hardware-based request reassembly mechanism is critical for maintaining efficiency in the face of network fragmentation. While the current prototype focuses on the data path, future work will address control plane automation for resource discovery and integration with standard orchestrators like Kubernetes. Additionally, expanding on-chip memory constraints via external DRAM or HBM integration will enable support for larger request sizes.
Summary updated