Scaling Open vSwitch with a Computational Cache
Alon Rashelbach, Ori Rottenstreich, Mark Silberstein
Abstract
Open vSwitch (OVS) is a widely used open-source virtual switch implementation. In this work, we seek to scale up OVS to support hundreds of thousands of OpenFlow rules by accelerating the core component of its data-path -the packet classification mechanism. To do so we use NuevoMatch, a recent algorithm that uses neural network inference to match packets, and promises significant scalability and performance benefits. We overcome the primary algorithmic challenge of the slow rule update rate in the vanilla NuevoMatch, speeding it up by over three orders of magnitude. This improvement enables two design options to integrate NuevoMatch with OVS: (1) using it as an extra caching layer in front of OVS's megaflow cache, and (2) using it to completely replace OVS's datapath while performing classification directly on OpenFlow rules, and obviating control-path upcalls. Our comprehensive evaluation on real-world packet traces and ClassBench rules demonstrates the geometric mean speedups of 1.9× and 12.3× for the first and second designs, respectively, for 500K rules, with the latter also supporting up to 60K OpenFlow rule updates/second, by far exceeding the original OVS.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 6bd1ab28-3eeb-4173-a062-c2c86a2051aaCited by top-tier papers3
- Gigaflow: Pipeline-Aware Sub-Traversal Caching for Modern SmartNICsAnnus Zulfiqar, Ali Imran, Venkat Kunaparaju, Ben Pfaff et al.ASPLOS 2025 · 1 citation
- Side-Channel Attacks on Open vSwitchDaewoo Kim, Sihang LiuUSENIX Security 2026 · 1 citation
- ONCache: A Cache-Based Low-Overhead Container Overlay NetworkShengkai Lin, Shizhen Zhao, Peirui Cao, Xinchi Han et al.NSDI 2025
Builds on7
- ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang et al.SIGMOD 2020 · 274 citations
- From WiscKey to Bourbon: A Learned Index for Log-Structured Merge TreesYifan Dai, Yien Xu, Aishwarya Ganesan, Ramnatthan Alagappan et al.OSDI 2020 · 138 citations
- XIndex: a scalable learned index for multicore data storageChuzhe Tang, Youyun Wang, Zhiyuan Dong, Gansen Hu et al.PPoPP 2020 · 109 citations
- LinnOS: Predictability on Unpredictable Flash Storage with a Light Neural NetworkMingzhe Hao, Levent Toksoz, Nanqinqin Li, Edward Edberg Halim et al.OSDI 2020 · 97 citations
- Fast RDMA-based Ordered Key-Value Store using Remote Learned CacheXingda Wei, Rong Chen, Haibo ChenOSDI 2020 · 93 citations
Related papers
- A Computational Approach to Packet ClassificationAlon Rashelbach, Ori Rottenstreich, Mark SilbersteinSIGCOMM 2020 · 65 citations
- Hoda: a High-performance Open vSwitch Dataplane with Multiple Specialized Data PathsHeng Pan, Peng He, Zhenyu Li, Pan Zhang et al.EuroSys 2024 · 6 citations
- FlowTurbo: From Best-Effort to Hit-Driven MegaFlow Hardware Offloading in Open vSwitchZhongxian Liang, Sheng Lan, Ying Li, Zihan Li et al.SIGCOMM 2026
- NPC: Rethinking Dataplane through Network-aware Packet ClassificationXinyi Zhang, Qianrui Qiu, Zhiyuan Xu, Peng He et al.SIGCOMM 2025 · 2 citations
- Scaling Learning-based Packet Classification Hardware with NeuTreeJiashuo Yu, Longlong Zhu, Long Huang, Xinyang Chen et al.INFOCOM 2025 · 3 citations
