Multitenant In-Network Acceleration with SwitchVM
Sajy Khashab, Alon Rashelbach, Mark Silberstein
摘要
We propose a practical approach to implementing multitenancy on programmable network switches to make in-network acceleration accessible to cloud users. We introduce a Switch Virtual Machine (SwitchVM), that is deployed on the switches and offers an expressive instruction set and program state abstractions. Tenant programs, called Data-Plane Filters (DPFs), are executed on top of SwitchVM in a sandbox with memory, network and state isolation policies controlled by network operators. The packets that trigger DPF execution include the code to execute or a reference to the DPFs deployed in the switch. DPFs are Turing-complete, may maintain state in the packet and in switch virtual memory, may form a dynamic chain, and may steer packets to desired destinations, all while enforcing the operator's policies.
We demonstrate that this idea is practical by prototyping SwitchVM in P4 on Intel Tofino switches. We describe a variety of use cases that SwitchVM supports, and implement three complex applications from prior works -key-value store cache, load balancer and Paxos accelerator. We also show that SwitchVM provides strong performance isolation, zerooverhead runtime programmability, may hold two orders of magnitude more in-switch programs than existing techniques, and may support thousands of concurrent tenants each with its private state.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Enabling In-Network Acceleration Over the Cloud 引用了 NetRPC: Enabling In-Network Computation in Remote Procedure Calls
- Enabling In-Network Acceleration Over the Cloud 引用了 NetLock: Fast, Centralized Lock Management Using Programmable Switches
- Performance Prediction of On-NIC Network Functions with Multi-Resource Contention and Traffic Awareness 引用了 Disaggregating Stateful Network Functions
- RackSched: A Microsecond-Scale Scheduler for Rack-Scale Computers 引用了 NetLock: Fast, Centralized Lock Management Using Programmable Switches
引用它的顶会 Paper3
- P4runpro: Enabling Runtime Programmability for RMT Programmable SwitchesYifan Yang, Lin He, Jiasheng Zhou, Xiaoyi Shi 等SIGCOMM 2024 · 12 次引用
- Enabling In-Network Acceleration Over the CloudHao Wang, Decang Sun, Jinbin Hu, Kai ChenINFOCOM 2025 · 3 次引用
- Performance Prediction of On-NIC Network Functions with Multi-Resource Contention and Traffic AwarenessShaofeng Wu, Qiang Su, Zhixiong Niu, Hong XuASPLOS 2025 · 3 次引用
它引用的 Paper10
- NetLock: Fast, Centralized Lock Management Using Programmable SwitchesZhuolong Yu, Yiwen Zhang, Vladimir Braverman, Mosharaf Chowdhury 等SIGCOMM 2020 · 60 次引用
- RackSched: A Microsecond-Scale Scheduler for Rack-Scale ComputersHang Zhu, Kostis Kaffes, Zixu Chen, Zhenming Liu 等OSDI 2020 · 58 次引用
- Switches for HIRE: resource scheduling for data center in-network computingMarcel Blöcher, Lin Wang, Patrick Eugster, Max SchmidtASPLOS 2021 · 34 次引用
- Disaggregating Stateful Network FunctionsDeepak Bansal, Gerald DeGrace, Rishabh Tewari, Michal Zygmunt 等NSDI 2023 · 33 次引用
- NetRPC: Enabling In-Network Computation in Remote Procedure CallsBohan Zhao, Wenfei Wu, Wei XuNSDI 2023 · 23 次引用
相关 Paper
- Unlocking the Power of Inline Floating-Point Operations on Programmable SwitchesYifan Yuan, Omar Alama, Jiawei Fei, Jacob Nelson 等NSDI 2022 · 33 次引用
- Lucid: a language for control in the data planeJohn Sonchack, Devon Loehr, Jennifer Rexford, David WalkerSIGCOMM 2021 · 45 次引用
- NetVRM: Virtual Register Memory for Programmable NetworksHang Zhu, Tao Wang, Yi Hong, Dan R. K. Ports 等NSDI 2022 · 21 次引用
- Monic: In-Network Mixture-of-Experts Inference on Programmable Data PlanesXiaoquan Zhang, Bowen Liang, Fung Po Tso, Yuhui Deng 等INFOCOM 2026
- Flowrest: Practical Flow-Level Inference in Programmable Switches with Random ForestsAristide Tanyi-Jong Akem, Michele Gucciardo, Marco FioreINFOCOM 2023 · 63 次引用
