Lune

NSDI2024Top-tier venue

Multitenant In-Network Acceleration with SwitchVM

Sajy Khashab, Alon Rashelbach, Mark Silberstein

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Enabling In-Network Acceleration Over the Cloud cites NetRPC: Enabling In-Network Computation in Remote Procedure Calls
  • Enabling In-Network Acceleration Over the Cloud cites NetLock: Fast, Centralized Lock Management Using Programmable Switches
  • Performance Prediction of On-NIC Network Functions with Multi-Resource Contention and Traffic Awareness cites Disaggregating Stateful Network Functions
  • RackSched: A Microsecond-Scale Scheduler for Rack-Scale Computers cites NetLock: Fast, Centralized Lock Management Using Programmable Switches
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. P4runpro: Enabling Runtime Programmability for RMT Programmable SwitchesYifan Yang, Lin He, Jiasheng Zhou, Xiaoyi Shi et al.SIGCOMM 2024 · 12 citations
  2. Enabling In-Network Acceleration Over the CloudHao Wang, Decang Sun, Jinbin Hu, Kai ChenINFOCOM 2025 · 3 citations
  3. Performance Prediction of On-NIC Network Functions with Multi-Resource Contention and Traffic AwarenessShaofeng Wu, Qiang Su, Zhixiong Niu, Hong XuASPLOS 2025 · 3 citations

Builds on10

  1. NetLock: Fast, Centralized Lock Management Using Programmable SwitchesZhuolong Yu, Yiwen Zhang, Vladimir Braverman, Mosharaf Chowdhury et al.SIGCOMM 2020 · 60 citations
  2. RackSched: A Microsecond-Scale Scheduler for Rack-Scale ComputersHang Zhu, Kostis Kaffes, Zixu Chen, Zhenming Liu et al.OSDI 2020 · 58 citations
  3. Switches for HIRE: resource scheduling for data center in-network computingMarcel Blöcher, Lin Wang, Patrick Eugster, Max SchmidtASPLOS 2021 · 34 citations
  4. Disaggregating Stateful Network FunctionsDeepak Bansal, Gerald DeGrace, Rishabh Tewari, Michal Zygmunt et al.NSDI 2023 · 33 citations
  5. NetRPC: Enabling In-Network Computation in Remote Procedure CallsBohan Zhao, Wenfei Wu, Wei XuNSDI 2023 · 23 citations

Related papers

  1. Unlocking the Power of Inline Floating-Point Operations on Programmable SwitchesYifan Yuan, Omar Alama, Jiawei Fei, Jacob Nelson et al.NSDI 2022 · 33 citations
  2. Lucid: a language for control in the data planeJohn Sonchack, Devon Loehr, Jennifer Rexford, David WalkerSIGCOMM 2021 · 45 citations
  3. NetVRM: Virtual Register Memory for Programmable NetworksHang Zhu, Tao Wang, Yi Hong, Dan R. K. Ports et al.NSDI 2022 · 21 citations
  4. Monic: In-Network Mixture-of-Experts Inference on Programmable Data PlanesXiaoquan Zhang, Bowen Liang, Fung Po Tso, Yuhui Deng et al.INFOCOM 2026
  5. Flowrest: Practical Flow-Level Inference in Programmable Switches with Random ForestsAristide Tanyi-Jong Akem, Michele Gucciardo, Marco FioreINFOCOM 2023 · 63 citations
Dusk over the sea between two cliffs drawn in fine vertical lines