Ingredients to enhance the performance of two-stage TCAM-based packet classifiers in internet of things: greedy layering, bit auctioning and range encoding

被引:3
|
作者
Abbasi, Mahdi [1 ]
Vakilian, Shakoor [2 ]
Fanian, Ali [2 ]
Khosravi, Mohammad R. [3 ,4 ]
机构
[1] Bu Ali Sina Univ, Engn Fac, Dept Comp Engn, Hamadan, Hamadan, Iran
[2] Isfahan Univ Technol, Dept Elect & Comp Engn, Esfahan, Iran
[3] Shiraz Univ Technol, Dept Elect & Elect Engn, Shiraz, Iran
[4] Persian Gulf Univ, Comp Engn Dept, Bushehr, Iran
关键词
Packet classification; Ternary content-addressable memory (TCAM); Range field; Greedy layering; Bit auctioning; Layer encoding; Efficiency; CLASSIFICATION;
D O I
10.1186/s13638-019-1617-8
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Using packet classification algorithms in network equipment increases packet processing speed in Internet of Things (IoT). In the hardware implementation of these algorithms, ternary content-addressable memories (TCAMs) are often preferred to other implementations. As a common approach, TCAMs are used for the parallel search to match packet header information with the rules of the classifier. In two-stage architectures of hardware-based packet classifiers, first the decision tree is created, and then the rules are distributed among its leaves. In the second step, depending on the corresponding leaves, the second part of the rules, which includes the range of source and destination ports is stored in different blocks of TCAM. Due to inappropriate storage of port range fields, the existing architectures face the problem of wasting memory and growing power consumption. This paper proposes an efficient algorithm to encode the port range. This algorithm consists of three general steps including layering, bit allocation, and encoding. A greedy algorithm in the first step places the ranges with higher weights in higher layers. Next, an auction-based algorithm allocates several bits to each layer depending on the number of the ranges in that layer. Finally, in each layer, depending on the weight order of the ranges, the bits are given values for the intended range. The evaluation results show that unlike previous methods of storing range fields, the proposed method not only increases the speed of the classification but also uses the capacity of TCAM in the second stage more efficiently.
引用
收藏
页数:15
相关论文
共 1 条
  • [1] Ingredients to enhance the performance of two-stage TCAM-based packet classifiers in internet of things: greedy layering, bit auctioning and range encoding
    Mahdi Abbasi
    Shakoor Vakilian
    Ali Fanian
    Mohammad R. Khosravi
    EURASIP Journal on Wireless Communications and Networking, 2019