Bit weaving: a non-prefix approach to compressing packet classifiers in TCAMs

作者: Chad R. Meiners , Alex X. Liu , Eric Torng

DOI: 10.1109/TNET.2011.2165323

关键词:

摘要: Ternary content addressable memories (TCAMs) have become the de facto standard in industry for fast packet classification. Unfortunately, TCAMs limitations of small capacity, high power consumption, heat generation, and cost. The well-known range expansion problem exacerbates these as each classifier rule typically has to be converted multiple TCAM rules. One method coping with is use compression schemes reduce number rules required represent a classifier. all existing only produce prefix classifiers. Thus, they miss opportunities created by non-prefix ternary In this paper, we propose bit weaving, first scheme. Bit weaving based on observation that entries same decision whose predicates differ one can merged into entry replacing question . consists two new techniques, swapping merging, identify then merge such together. key advantages are it runs fast, effective, composable other optimization methods pre/post-processing routine. We implemented conducted experiments both real-world synthetic Our experimental results show following: 1) an effective standalone technique (it achieves average ratio 23.6%); 2) finds miss. Specifically, improves prior techniques Razor Topological Transformation 12.8% 36.5%, respectively.

参考文章(34)
Jean-Claude Geffroy, Gilles Motet, Error Detecting and Correcting Codes Springer, Dordrecht. pp. 399- 426 ,(2002) , 10.1007/978-94-015-9884-2_15
Chad R. Meiners, Alex X. Liu, Eric Torng, Algorithmic approaches to redesigning tcam-based systems Proceedings of the 2008 ACM SIGMETRICS international conference on Measurement and modeling of computer systems - SIGMETRICS '08. ,vol. 36, pp. 467- 468 ,(2008) , 10.1145/1375457.1375524
R. W. Hamming, Error detecting and error correcting codes Bell System Technical Journal. ,vol. 29, pp. 147- 160 ,(1950) , 10.1002/J.1538-7305.1950.TB00463.X
Subhash Suri, Tuomas Sandholm, Priyank Warkhede, Compressing Two-Dimensional Routing Tables Algorithmica. ,vol. 35, pp. 287- 300 ,(2003) , 10.1007/S00453-002-1000-7
R.P. Draves, C. King, S. Venkatachary, B.D. Zill, Constructing optimal IP routing tables international conference on computer communications. ,vol. 1, pp. 88- 97 ,(1999) , 10.1109/INFCOM.1999.749256
Howard Karloff, Katrina Ligett, Jia Wang, Gruia Calinescu, David A. Applegate, David S. Johnson, Compressing rectilinear pictures and minimizing access control lists symposium on discrete algorithms. pp. 1066- 1075 ,(2007) , 10.5555/1283383.1283498
D. Pao, P. Zhou, B. Liu, X. Zhang, Enhanced prefix inclusion coding filter-encoding algorithm for packet classification with ternary content addressable memory Iet Computers and Digital Techniques. ,vol. 1, pp. 572- 580 ,(2007) , 10.1049/IET-CDT:20060226
R. McGeer, P. Yalagandula, Minimizing Rulesets for TCAM Implementation international conference on computer communications. pp. 1314- 1322 ,(2009) , 10.1109/INFCOM.2009.5062046
Anat Bremler-Barr, David Hay, Danny Hendler, Boris Farber, Layered interval codes for tcam-based classification Proceedings of the 2008 ACM SIGMETRICS international conference on Measurement and modeling of computer systems - SIGMETRICS '08. ,vol. 36, pp. 445- 446 ,(2008) , 10.1145/1375457.1375513
Alex X. Liu, Mohamed G. Gouda, Complete Redundancy Removal for Packet Classifiers in TCAMs IEEE Transactions on Parallel and Distributed Systems. ,vol. 21, pp. 424- 437 ,(2010) , 10.1109/TPDS.2008.216