Litcius/Paper detail

Dagger: efficient and fast RPCs in cloud microservices with near-memory reconfigurable NICs

N.V. Lazarev, Shaojie Xiang, Neil Adit, Zhiru Zhang, Christina Delimitrou

202151 citationsDOI

Abstract

The ongoing shift of cloud services from monolithic designs to mi- croservices creates high demand for efficient and high performance datacenter networking stacks, optimized for fine-grained work- loads. Commodity networking systems based on software stacks and peripheral NICs introduce high overheads when it comes to delivering small messages. We present Dagger, a hardware acceleration fabric for cloud RPCs based on FPGAs, where the accelerator is closely-coupled with the host processor over a configurable memory interconnect. The three key design principle of Dagger are: (1) offloading the entire RPC stack to an FPGA-based NIC, (2) leveraging memory interconnects instead of PCIe buses as the interface with the host CPU, and (3) making the acceleration fabric reconfigurable, so it can accommodate the diverse needs of microservices. We show that the combination of these principles significantly improves the efficiency and performance of cloud RPC systems while preserving their generality. Dagger achieves 1.3 − 3.8× higher per-core RPC throughput compared to both highly-optimized software stacks, and systems using specialized RDMA adapters. It also scales up to 84 Mrps with 8 threads on 4 CPU cores, while maintaining state-of- the-art µs-scale tail latency. We also demonstrate that large third- party applications, like memcached and MICA KVS, can be easily ported on Dagger with minimal changes to their codebase, bringing their median and tail KVS access latency down to 2.8 − 3.5 us and 5.4 − 7.8 us, respectively. Finally, we show that Dagger is beneficial for multi-tier end-to-end microservices with different threading models by evaluating it using an 8-tier application implementing a flight check-in service.

Topics & Concepts

Computer scienceOperating systemPCI ExpressCloud computingPortingRemote direct memory accessMicroservicesEmbedded systemHost (biology)Latency (audio)Software portabilitySoftwareField-programmable gate arrayTelecommunicationsEcologyBiologySoftware System Performance and ReliabilitySoftware-Defined Networks and 5GCloud Computing and Resource Management
Dagger: efficient and fast RPCs in cloud microservices with near-memory reconfigurable NICs | Litcius