Lune

NSDI2022Top-tier venue

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 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

  • From WiscKey to Bourbon: A Learned Index for Log-Structured Merge Trees cites XIndex: a scalable learned index for multicore data storage
  • Fast RDMA-based Ordered Key-Value Store using Remote Learned Cache cites From WiscKey to Bourbon: A Learned Index for Log-Structured Merge Trees
  • Fast RDMA-based Ordered Key-Value Store using Remote Learned Cache cites ALEX: An Updatable Adaptive Learned Index
  • Fast RDMA-based Ordered Key-Value Store using Remote Learned Cache cites XIndex: a scalable learned index for multicore data storage
  • XIndex: a scalable learned index for multicore data storage cites ALEX: An Updatable Adaptive Learned Index
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Gigaflow: Pipeline-Aware Sub-Traversal Caching for Modern SmartNICsAnnus Zulfiqar, Ali Imran, Venkat Kunaparaju, Ben Pfaff et al.ASPLOS 2025 · 1 citation
  2. Side-Channel Attacks on Open vSwitchDaewoo Kim, Sihang LiuUSENIX Security 2026 · 1 citation
  3. ONCache: A Cache-Based Low-Overhead Container Overlay NetworkShengkai Lin, Shizhen Zhao, Peirui Cao, Xinchi Han et al.NSDI 2025

Builds on7

  1. ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang et al.SIGMOD 2020 · 274 citations
  2. 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
  3. XIndex: a scalable learned index for multicore data storageChuzhe Tang, Youyun Wang, Zhiyuan Dong, Gansen Hu et al.PPoPP 2020 · 109 citations
  4. 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
  5. Fast RDMA-based Ordered Key-Value Store using Remote Learned CacheXingda Wei, Rong Chen, Haibo ChenOSDI 2020 · 93 citations

Related papers

  1. A Computational Approach to Packet ClassificationAlon Rashelbach, Ori Rottenstreich, Mark SilbersteinSIGCOMM 2020 · 65 citations
  2. 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
  3. FlowTurbo: From Best-Effort to Hit-Driven MegaFlow Hardware Offloading in Open vSwitchZhongxian Liang, Sheng Lan, Ying Li, Zihan Li et al.SIGCOMM 2026
  4. NPC: Rethinking Dataplane through Network-aware Packet ClassificationXinyi Zhang, Qianrui Qiu, Zhiyuan Xu, Peng He et al.SIGCOMM 2025 · 2 citations
  5. Scaling Learning-based Packet Classification Hardware with NeuTreeJiashuo Yu, Longlong Zhu, Long Huang, Xinyang Chen et al.INFOCOM 2025 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines