Lune

SIGCOMM2020Top-tier venue

A Computational Approach to Packet Classification

Alon Rashelbach, Ori Rottenstreich, Mark Silberstein

Abstract

Multi-field packet classification is a crucial component in modern software-defined data center networks. To achieve high throughput and low latency, state-of-the-art algorithms strive to fit the rule lookup data structures into on-die caches; however, they do not scale well with the number of rules.

We present a novel approach, NuevoMatch, which improves the memory scaling of existing methods. A new data structure, Range Query Recursive Model Index (RQ-RMI), is the key component that enables NuevoMatch to replace most of the accesses to main memory with model inference computations. We describe an efficient training algorithm that guarantees the correctness of the RQ-RMIbased classification. The use of RQ-RMI allows the rules to be compressed into model weights that fit into the hardware cache. Further, it takes advantage of the growing support for fast neural network processing in modern CPUs, such as wide vector instructions, achieving a rate of tens of nanoseconds per lookup.

Our evaluation using 500K multi-field rules from the standard ClassBench benchmark shows a geometric mean compression factor of 4.9×, 8×, and 82×, and average performance improvement of 2.4×, 2.6×, and 1.6× in throughput compared to CutSplit, Neu-roCuts, and TupleMerge, all state-of-the-art algorithms 1 .

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.

7 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

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Taurus: a data plane architecture for per-packet MLTushar Swamy, Alexander Rucker, Muhammad Shahbaz, Ishan Gaur et al.ASPLOS 2022 · 94 citations
  2. Scaling Open vSwitch with a Computational CacheAlon Rashelbach, Ori Rottenstreich, Mark SilbersteinNSDI 2022 · 23 citations
  3. LiteFlow: towards high-performance adaptive neural networks for kernel datapathJunxue Zhang, Chaoliang Zeng, Hong Zhang, Shuihai Hu et al.SIGCOMM 2022 · 23 citations
  4. Flow Scheduling with Imprecise KnowledgeWenxin Li, Xin He, Yuan Liu, Keqiu Li et al.NSDI 2024 · 20 citations
  5. Elixir: A High-performance and Low-cost Approach to Managing Hardware/Software Hybrid Flow Tables Considering Flow BurstinessYanshu Wang, Dan Li, Yuanwei Lu, Jianping Wu et al.NSDI 2022 · 20 citations

Related papers

  1. Scaling Learning-based Packet Classification Hardware with NeuTreeJiashuo Yu, Longlong Zhu, Long Huang, Xinyang Chen et al.INFOCOM 2025 · 3 citations
  2. TurboTSS: A Packet Classifier with Fast Rule Lookup and Update for the CloudShaoke Fang, Qingsong Liu, Yuchen Xu, Weize Gao et al.INFOCOM 2026
  3. NPC: Rethinking Dataplane through Network-aware Packet ClassificationXinyi Zhang, Qianrui Qiu, Zhiyuan Xu, Peng He et al.SIGCOMM 2025 · 2 citations
  4. CATCAM: Constant-time Alteration Ternary CAM with Scalable In-Memory ArchitectureDibei Chen, Zhaoshi Li, Tianzhu Xiong, Zhiwei Liu et al.MICRO 2020 · 6 citations
  5. PacketMill: toward per-Core 100-Gbps networkingAlireza Farshin, Tom Barbette, Amir Roozbeh, Gerald Q. Maguire Jr. et al.ASPLOS 2021 · 46 citations
Dusk over the sea between two cliffs drawn in fine vertical lines