Fast packet classification using bit compression with fast boolean expansion

Chien Chen*, Chia Jen Hsu, Chi Chia Huang

*Corresponding author for this work

研究成果: Article

摘要

To support applications such as Internet security, virtual private networks, and Quality of Service (QoS), Internet routers need to quickly classify incoming packets into flows. Packet classification uses information contained in the packet header and a predefined rule table in the routers. In general, packet classification on multiple fields is a difficult problem. Hence, researchers have proposed a variety of classification algorithms. This paper presents a novel packet classification algorithm, the bit compression algorithm. As with the best-known classification algorithm, bitmap intersection, bit compression is based on the multiple dimensional range lookup approach. Since bit vectors of the bitmap intersection contain many "O" bits, the bit vectors could be compressed. We compress the bit vectors by preserving only useful information and removing the redundant bits of the bit vectors. An additional index table would be created to keep track of the rule number associated with the remaining bits. Additionally, the wildcard rules enable an extensive improvement in the storage requirement. A novel Fast Boolean Expansion enables our scheme to obtain better classification speed even under a large number of wildcard rules. Compared to the bitmap intersection algorithm, the bit compression algorithm reduces the storage complexity in the average case from O(dN2) (for bitmap intersection) to θ(dN · log N), where d denotes the number of dimensions and N represents the number of rules. The proposed scheme cuts the cost of packet classification engine and increases classification performance by accessing less memory, which is the performance bottleneck in the packet classification engine implementation using a network processor.

原文English
頁(從 - 到)61-81
頁數21
期刊Journal of Information Science and Engineering
24
發行號1
DOIs
出版狀態Published - 1 一月 2008

指紋 深入研究「Fast packet classification using bit compression with fast boolean expansion」主題。共同形成了獨特的指紋。

  • 引用此