A Computational Approach to Packet Classification

Alon Rashelbach, Ori Rottenstreich, Mark Silberstein

Research output: Contribution to journalArticlepeer-review

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-RMI-based classification. The use of RQ-RMI allows the rules to be compressed into neural networks 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 latency 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, NeuroCuts, and TupleMerge, all state-of-the-art algorithms.

Original languageEnglish
Pages (from-to)1073-1087
Number of pages15
JournalIEEE/ACM Transactions on Networking
Volume30
Issue number3
DOIs
StatePublished - 1 Jun 2022

Keywords

  • Decision trees
  • IEEE transactions
  • Indexing
  • Neural networks
  • Packet classification
  • Partitioning algorithms
  • Throughput
  • Training
  • machine learning.

All Science Journal Classification (ASJC) codes

  • Software
  • Computer Science Applications
  • Computer Networks and Communications
  • Electrical and Electronic Engineering

Fingerprint

Dive into the research topics of 'A Computational Approach to Packet Classification'. Together they form a unique fingerprint.

Cite this