High-throughput and memory-efficient multimatch packet classification based on distributed and pipelined hash tables

Yang Xu, Zhaobo Liu, Zhuoyuan Zhang, H. Jonathan Chao

Research output: Contribution to journalArticlepeer-review

Abstract

The emergence of new network applications, such as the network intrusion detection system and packet-level accounting, requires packet classification to report all matched rules instead of only the best matched rule. Although several schemes have been proposed recently to address the multimatch packet classification problem, most of them require either huge memory or expensive ternary content addressable memory (TCAM) to store the intermediate data structure, or they suffer from steep performance degradation under certain types of classifiers. In this paper, we decompose the operation of multimatch packet classification from the complicated multidimensional search to several single-dimensional searches, and present an asynchronous pipeline architecture based on a signature tree structure to combine the intermediate results returned from single-dimensional searches. By spreading edges of the signature tree across multiple hash tables at different stages, the pipeline can achieve a high throughput via the interstage parallel access to hash tables. To exploit further intrastage parallelism, two edge-grouping algorithms are designed to evenly divide the edges associated with each stage into multiple work-conserving hash tables. To avoid collisions involved in hash table lookup, a hybrid perfect hash table construction scheme is proposed. Extensive simulation using realistic classifiers and traffic traces shows that the proposed pipeline architecture outperforms HyperCuts and B2PC schemes in classification speed by at least one order of magnitude, while having a similar storage requirement. Particularly, with different types of classifiers of 4K rules, the proposed pipeline architecture is able to achieve a throughput between 26.8 and 93.1 Gb/s using perfect hash tables.

Original languageEnglish (US)
Article number6565409
Pages (from-to)982-995
Number of pages14
JournalIEEE/ACM Transactions on Networking
Volume22
Issue number3
DOIs
StatePublished - Jun 2014

Keywords

  • Hash table
  • packet classification
  • signature tree
  • ternary content addressable memory (TCAM)

ASJC Scopus subject areas

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

Fingerprint

Dive into the research topics of 'High-throughput and memory-efficient multimatch packet classification based on distributed and pipelined hash tables'. Together they form a unique fingerprint.

Cite this