Efficient multi-category packet classification using TCAM

被引:2
作者
Zhong, Jincheng [1 ]
Chen, Shuhui [1 ]
机构
[1] Natl Univ Def Technol, Sch Comp, Changsha, Peoples R China
关键词
TCAM; Packet classification; Multi-category; Multi-match; ALGORITHMS; POWER;
D O I
10.1016/j.comcom.2020.12.027
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Packet classification is the base of various network functions such as firewall filtering, network intrusion detection and quality of services, etc. Ternary content addressable memory (TCAM) is widely employed in performing efficient packet classification. However, TCAM has some drawbacks, including limited capacity, high energy consumption, and incapability to store arbitrary ranges. Moreover, TCAM is only suitable for single-match packet classification natively, which is associated with one rule-set and reports one rule, for it only reports the first matching entry. However, except for single-match packet classification, another type of packet classification, multi-category packet classification, which is associated with multiple rule-sets and reports one matching rule for each rule-set, is also required in some scenarios, such as in the consolidation of multiple single-match network functions. The naive scheme performing multi-category packet classification with TCAM is to search a packet in multiple rule-sets one by one. Its performance decreases linearly as the number of rule-sets increases. To efficiently perform multi-category packet classification using TCAM, a novel scheme named REM is proposed in this paper. REM is based on the idea of reducing TCAM accesses per classification by merging rule-entry sets converted from rule-sets. The experiments show that compared with the naive scheme, REM can achieve 3x to 5x improvement on packet classification throughput, and reduce the energy consumption by 50% to 75%.
引用
收藏
页码:1 / 10
页数:10
相关论文
共 30 条
[1]   MBitCuts: optimal bit-level cutting in geometric space packet classification [J].
Abbasi, Mahdi ;
Fazel, Saeideh Vesaghati ;
Rafiee, Milad .
JOURNAL OF SUPERCOMPUTING, 2020, 76 (04) :3105-3128
[2]  
Agham V, 2016, INT RES J ENG TECHNO, P2395
[3]   Ternary CAM power and delay model: Extensions and uses [J].
Agrawal, Banit ;
Sherwood, Timothy .
IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2008, 16 (05) :554-564
[4]  
[Anonymous], 2020, PACKET CLASSIFICATIO
[5]  
[Anonymous], 2020, MAXIMUM SET SPLITTIN
[6]  
Bremler-Barr A, 2018, IEEE ACM T NETW IEEE ACM T NETW, P1
[7]   Space-Efficient TCAM-Based Classification Using Gray Coding [J].
Bremlerr-Barr, Anat ;
Hendler, Danny .
IEEE TRANSACTIONS ON COMPUTERS, 2012, 61 (01) :18-30
[8]   Scalable Multi-Match Packet Classification Using TCAM and SRAM [J].
Cheng, Yu-Chieh ;
Wang, Pi-Chung .
IEEE TRANSACTIONS ON COMPUTERS, 2016, 65 (07) :2257-2269
[9]   Wire-Speed TCAM-Based Architectures for Multimatch Packet Classification [J].
Faezipour, Miad ;
Nourani, Mehrdad .
IEEE TRANSACTIONS ON COMPUTERS, 2009, 58 (01) :5-17
[10]  
Gupta P., 1999, P HOT INT 7 AUG P HOT INT 7 AUG, P34