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 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 987b7d1c-0e64-4c1d-80e1-df5e42b625afCited by top-tier papers7
- Taurus: a data plane architecture for per-packet MLTushar Swamy, Alexander Rucker, Muhammad Shahbaz, Ishan Gaur et al.ASPLOS 2022 · 94 citations
- Scaling Open vSwitch with a Computational CacheAlon Rashelbach, Ori Rottenstreich, Mark SilbersteinNSDI 2022 · 23 citations
- LiteFlow: towards high-performance adaptive neural networks for kernel datapathJunxue Zhang, Chaoliang Zeng, Hong Zhang, Shuihai Hu et al.SIGCOMM 2022 · 23 citations
- Flow Scheduling with Imprecise KnowledgeWenxin Li, Xin He, Yuan Liu, Keqiu Li et al.NSDI 2024 · 20 citations
- 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
- Scaling Learning-based Packet Classification Hardware with NeuTreeJiashuo Yu, Longlong Zhu, Long Huang, Xinyang Chen et al.INFOCOM 2025 · 3 citations
- TurboTSS: A Packet Classifier with Fast Rule Lookup and Update for the CloudShaoke Fang, Qingsong Liu, Yuchen Xu, Weize Gao et al.INFOCOM 2026
- NPC: Rethinking Dataplane through Network-aware Packet ClassificationXinyi Zhang, Qianrui Qiu, Zhiyuan Xu, Peng He et al.SIGCOMM 2025 · 2 citations
- CATCAM: Constant-time Alteration Ternary CAM with Scalable In-Memory ArchitectureDibei Chen, Zhaoshi Li, Tianzhu Xiong, Zhiwei Liu et al.MICRO 2020 · 6 citations
- PacketMill: toward per-Core 100-Gbps networkingAlireza Farshin, Tom Barbette, Amir Roozbeh, Gerald Q. Maguire Jr. et al.ASPLOS 2021 · 46 citations
