Sailfish: accelerating cloud-scale multi-tenant multi-service gateways with programmable switches
Tian Pan, Nianbing Yu, Chenhao Jia, Jianwen Pi, Liang Xu, Yisong Qiao, Zhiguo Li, Kun Liu, Jie Lu, Jianyuan Lu, Enge Song, Jiao Zhang
摘要
The cloud gateway is essential in the public cloud as the central hub of cloud traffic. We show that horizontal scaling of software gateways, once sustainable for years, is no longer future-proof facing the massive scale and rapid growth of today's cloud. The root cause is the stagnant performance of the CPU core, which is prone to be overloaded by heavy hitters as traffic growth goes far beyond Moore's law. To address this, we propose Sailfish, a cloud-scale multi-tenant multi-service gateway accelerated by programmable switches. The new challenge is that large forwarding tables due to multi-tenancy cannot be fit into the limited on-chip memories. To this end, we devise a multi-pronged approach with (1) hardware/software co-design for table sharing, (2) horizontal table splitting among gateway clusters, (3) pipeline-aware table compression for a single node. Compared with the x86 gateway of a similar price, Sailfish reduces latency by 95% (2μs), improves throughput by more than 20x in bps (3.2Tbps) and 71x in pps (1.8Gpps) with packet length < 256B. Sailfish has been deployed in Alibaba Cloud for more than two years. It is the first P4-based cloud gateway in the industry, of which a single cluster carries dozens of Tbps traffic, withstanding peak-hour traffic in large online shopping festivals.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 36 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Achelous: Enabling Programmability, Elasticity, and Reliability in Hyperscale Cloud Networks 引用了 VTrace: Automatic Diagnostic System for Persistent Packet Loss in Cloud-Scale Overlay Network
- Disaggregating Stateful Network Functions 引用了 TEA: Enabling State-Intensive Network Functions on Programmable Switches
- LuoShen: A Hyper-Converged Programmable Gateway for Multi-Tenant Multi-Service Edge Clouds 引用了 Achelous: Enabling Programmability, Elasticity, and Reliability in Hyperscale Cloud Networks
- LuoShen: A Hyper-Converged Programmable Gateway for Multi-Tenant Multi-Service Edge Clouds 引用了 TEA: Enabling State-Intensive Network Functions on Programmable Switches
- LuoShen: A Hyper-Converged Programmable Gateway for Multi-Tenant Multi-Service Edge Clouds 引用了 Disaggregating Stateful Network Functions
- Canal Mesh: A Cloud-Scale Sidecar-Free Multi-Tenant Service Mesh Architecture 引用了 Achelous: Enabling Programmability, Elasticity, and Reliability in Hyperscale Cloud Networks
- Canal Mesh: A Cloud-Scale Sidecar-Free Multi-Tenant Service Mesh Architecture 引用了 Disaggregating Stateful Network Functions
- Canal Mesh: A Cloud-Scale Sidecar-Free Multi-Tenant Service Mesh Architecture 引用了 LuoShen: A Hyper-Converged Programmable Gateway for Multi-Tenant Multi-Service Edge Clouds
引用它的顶会 Paper36
- Disaggregating Stateful Network FunctionsDeepak Bansal, Gerald DeGrace, Rishabh Tewari, Michal Zygmunt 等NSDI 2023 · 33 次引用
- Canal Mesh: A Cloud-Scale Sidecar-Free Multi-Tenant Service Mesh ArchitectureEnge Song, Yang Song, Chengyun Lu, Tian Pan 等SIGCOMM 2024 · 30 次引用
- LuoShen: A Hyper-Converged Programmable Gateway for Multi-Tenant Multi-Service Edge CloudsTian Pan, Kun Liu, Xionglie Wei, Yisong Qiao 等NSDI 2024 · 27 次引用
- Achelous: Enabling Programmability, Elasticity, and Reliability in Hyperscale Cloud NetworksChengkun Wei, Xing Li, Ye Yang, Xiaochong Jiang 等SIGCOMM 2023 · 25 次引用
- Cetus: Releasing P4 Programmers from the Chore of Trial and Error CompilingYifan Li, Jiaqi Gao, Ennan Zhai, Mengqi Liu 等NSDI 2022 · 22 次引用
它引用的 Paper3
- TEA: Enabling State-Intensive Network Functions on Programmable SwitchesDaehyeok Kim, Zaoxing Liu, Yibo Zhu, Changhoon Kim 等SIGCOMM 2020 · 121 次引用
- VTrace: Automatic Diagnostic System for Persistent Packet Loss in Cloud-Scale Overlay NetworkChongrong Fang, Haoyu Liu, Mao Miao, Jie Ye 等SIGCOMM 2020 · 34 次引用
- Aragog: Scalable Runtime Verification of Shardable Networked SystemsNofel Yaseen, Behnaz Arzani, Ryan Beckett, Selim Ciraci 等OSDI 2020 · 19 次引用
相关 Paper
- Sirius: Composing Network Function Chains into P4-Capable Edge GatewaysJiaqi Gao, Jiamin Cao, Yifan Li, Mengqi Liu 等NSDI 2024 · 11 次引用
- Albatross: A Containerized Cloud Gateway Platform with FPGA-accelerated Packet-level Load BalancingJianyuan Lu, Shunmin Zhu, Jun Liang, Yuxiang Lin 等SIGCOMM 2025 · 4 次引用
- ScalaTap: Scalable Outbound Rate Limiting in Public CloudZhongjie Chen, Yingchen Fan, Kun Qian, Qingkai Meng 等INFOCOM 2025 · 3 次引用
- TGW: Operating an Efficient and Resilient Cloud Gateway at ScaleYifan Yang, Lin He, Jiasheng Zhou, Xiaoyi Shi 等USENIX ATC 2025
- CStar Gateway: Augmenting Public Cloud Infrastructure for Heterogeneous Network Function VirtualizationHaonan Li, Tian Pan, Jin Ke, Baohai Hu 等NSDI 2026
