Arcalis: Accelerating Remote Procedure Calls Using a Lightweight Near-Cache Solution

Johnson Umeike, Pongstorn Maidee, Bahar Asgari · DOI

Abstract

Modern microservices increasingly depend on high-performance remote procedure calls (RPCs) to coordinate fine-grained, distributed computation. As network bandwidths continue to scale, the CPU overhead associated with RPC processing, particularly serialization, deserialization, and protocol handling, has become a critical bottleneck. This challenge is exacerbated by fast user-space networking stacks such as DPDK, which expose RPC processing as the dominant performance limiter. While prior work has explored software optimizations and FPGA-based offload engines, these approaches remain physically distant from the CPU's memory hierarchy, incurring unnecessary data movement and cache pollution. We present Arcalis, a near-cache RPC accelerator that positions a lightweight hardware engine adjacent to the last-level cache (LLC). Arcalis offloads RPC processing to dedicated microengines on receive and transmit paths that operate with cache-line latency while preserving programmability. By decoupling RPC processing logic, enabling microservice-specific execution, and positioning itself near the LLC to immediately consume data injected by network cards, Arcalis achieves 1.79-4.16$\times$ end-to-end speedup compared to the CPU baseline, while significantly reducing microarchitectural overhead by up to 88%, and achieves up to a 1.62$\times$ higher throughput than prior solutions. These results highlight the potential of near-cache RPC acceleration as a practical solution for high-performance microservice deployment.

Introduction: The "RPC Tax" in Microservices

In modern datacenter environments, monolithic applications have largely been replaced by hundreds of fine-grained "microservices." These services communicate via Remote Procedure Calls (RPCs) to perform complex tasks. While this architecture offers significant benefits in terms of scalability and development velocity, it introduces a substantial performance penalty known as the "RPC tax."

High-level overview of RPC-based communication between microservices.

Recent studies indicate that microservices can spend between 18% and 94% of their execution time handling RPC-related tasks—such as parsing headers, serializing data, and managing protocol state machines—rather than executing the core business logic. As network speeds move toward 100Gbps and beyond, the CPU has become the primary bottleneck in the communication path.

The Limitations of Existing Solutions

Current attempts to mitigate the RPC tax generally fall into three categories, each with significant drawbacks:

  1. Software Optimizations: Frameworks like DPDK accelerate the network stack but do not address the heavy computational cost of data transformation (serialization/deserialization) performed by the CPU.
  2. SmartNIC-based Accelerators: Offloading RPC tasks to a SmartNIC or FPGA-based NIC (e.g., Dagger) moves the work away from the CPU. However, these devices are physically separated from the CPU by the high-latency PCIe bus. This distance necessitates multiple data copies and pollutes the CPU's cache, often negating the benefits of offloading.
  3. On-chip Custom Logic: While physically closer, these are often fixed-function designs that lack the flexibility to support the wide variety of RPC protocols (e.g., gRPC, Thrift, Cap’n Proto) used in production.

Arcalis: A Near-Cache Accelerator Architecture

To address these challenges, we propose Arcalis, a lightweight hardware accelerator integrated into the System-on-Chip (SoC) as a coherent agent adjacent to the Last-Level Cache (LLC). By positioning the accelerator "near-cache," Arcalis can consume data directly from the cache as soon as it is injected by the network card, operating with cache-line latency.

The breakdown of RPC processing steps and associated latencies targeted by Arcalis.

Key Architectural Features

  • Hybrid Logic Design: Arcalis employs a Fixed Logic Region (FLR) for common tasks like cache interfacing and memory management, combined with a Reconfigurable Logic Region (RLR). The RLR can be programmed with microservice-specific logic to handle various serialization formats.
  • Decoupled Rx/Tx Pipelines: Independent engines for receiving (Rx) and transmitting (Tx) allow for simultaneous processing of incoming requests and outgoing responses, maximizing throughput.
  • Hardware-Software Co-design: Arcalis works in tandem with a dedicated "NetCore" for I/O management and an "AppCore" for business logic. Communication between the CPU and the accelerator is handled via low-latency, uncacheable memory commands.

Evaluation and Results

We evaluated Arcalis using full-system simulations in gem5, targeting real-world microservice workloads including Memcached and the DeathStarBench suite (PostStorageService and UniqueIdService).

Key Performance Metrics

  • End-to-End Speedup: Arcalis achieves a 1.79× to 4.16× speedup over a standard CPU baseline.
  • Throughput Gains: Compared to Dagger, a state-of-the-art FPGA-based offload engine, Arcalis provides up to 1.62× higher throughput.
  • Microarchitectural Efficiency: By offloading instruction-heavy parsing and serialization code, Arcalis reduces microarchitectural overhead (stalls and branch mispredictions) by up to 88%. The total number of instructions executed by the CPU for RPC handling is reduced by 65% to 86%.

Conclusion

Arcalis demonstrates that the key to overcoming the RPC tax lies in the physical proximity of the accelerator to the CPU's memory hierarchy. By moving RPC processing from the CPU or the NIC to a dedicated near-cache engine, Arcalis eliminates unnecessary data movement and frees the CPU to focus on application logic. This approach provides a scalable and efficient path forward for high-performance microservice architectures.

Summary updated

BibTeX
@misc{umeike2026arcalis,
  author = {Johnson Umeike and Pongstorn Maidee and Bahar Asgari},
  title = {{Arcalis: Accelerating Remote Procedure Calls Using a Lightweight Near-Cache Solution}},
  year = {2026},
  eprint = {2602.12596},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.12596},
}
Figure