Fast packet classification using multi-dimensional encoding

Jia Huang Chi, Chien Chen, Sheng Chou Chia, Ting Kao Shou

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations


Internet routers need to classify incoming packets quickly into flows in order to support features such as Internet security, virtual private networks and Quality of Service (QoS). Packet classification uses information contained in the packet header, and a predefined rule table in the routers. Packet classification of multiple fields is generally a difficult problem. Hence, researchers have proposed various algorithms. This study proposes a multi-dimensional encoding method in which parameters such as the source IP address, destination IP address, source port, destination port and protocol type are placed in a multi-dimensional space. Similar to the previously best known algorithm, i.e., bitmap intersection, multi-dimensional encoding is based on the multi-dimensional range lookup approach, in which rules are divided into several multi-dimensional collision-free rule sets. These sets are then used to form the new coding vector to replace the bit vector of the bitmap intersection algorithm. The average memory storage of this encoding is θ (L·N·logN) for each dimension, where L denotes the number of collision-free rule sets, and N represents the number of rules. The multi-dimensional encoding practically requires much less memory than bitmap intersection algorithm. Additionally, the computation needed for this encoding is as simple as bitmap intersection algorithm. The low memory requirement of the proposed scheme means that it not only decreases the cost of packet classification engine, but also increases the classification performance, since memory access represents the performance bottleneck in the packet classification engine implementation using a network processor.

Original languageEnglish
Title of host publication2007 IEEE Workshop on High Performance Switching and Routing, HPSR
Number of pages6
StatePublished - 1 Dec 2007
Event2007 IEEE Workshop on High Performance Switching and Routing, HPSR - Brooklyn, NY, United States
Duration: 30 May 20071 Jun 2007

Publication series

Name2007 IEEE Workshop on High Performance Switching and Routing, HPSR


Conference2007 IEEE Workshop on High Performance Switching and Routing, HPSR
CountryUnited States
CityBrooklyn, NY

Fingerprint Dive into the research topics of 'Fast packet classification using multi-dimensional encoding'. Together they form a unique fingerprint.

Cite this