A TCAM generator for packet classification
2013, 2013 IEEE 31st International Conference on Computer Design (ICCD)
https://doi.org/10.1109/ICCD.2013.6657060Abstract
In the internet, packets are classified by source and destination addresses and ports, as well as protocol type. Ternary content addressable memories (TCAMs) are often used to perform this operation. This paper shows a method to reduce the number of words in TCAM for multi-field classification functions. We use head-tail expressions to represent a multi-field classification rule. Furthermore, we present an O(r 2)-algorithm, called MFHT, to generate simplified TCAMs for two-field classification functions, where r is the number of rules. Experimental results show that MFHT achieves a 58% reduction of words for random rules and a 52% reduction of words for ACL and FW rules. Moreover, MFHT is fast and useful for simplifying TCAM for packet classification.
References (13)
- F. Baboescu and G. Varghese, "Scalable packet classification," IEEE/ACM TON, vol.13, no.1, pp. 2-14, Feb. 2005.
- R. K. Brayton, et al., Logic Minimization Algorithms for VLSI Synthesis, Kluwer, 1984.
- J. F. Gimpel, "The minimization of TANT networks," IEEE Transactions on Electronic Computers, vol. 16, no. 1, pp. 18-38, Feb. 1967.
- R. McGeer and P. Yalagandula, "Minimizing rulesets for TCAM imple- mentation," INFOCOM, pp. 1314-1322, 2009.
- K. Pagiamtzis and A. Sheikholeslami, "Content-addressable memory (CAM) circuits and architectures: A tutorial and survey," IEEE JSSC, vol. 41, No. 3, pp. 712-727, March 2006.
- T. Sasao, Switching Theory for Logic Synthesis, Kluwer Academic Publishers, 1999.
- T. Sasao, "On the complexity of classification functions," ISMVL 2008, pp. 57-63, May 2008.
- T. Sasao, Memory-Based Logic Synthesis, Springer, 2011.
- S. Suri, T. Sandholm, and P. Warkhede, "Compressing two-dimensional routing tables," Algorithmica, 35(4), 287-300, 2003.
- I. Syafalni and T. Sasao, "A Fast Head-Tail Expression Generator for TCAM-Application to Packet Classification," ISVLSI, August 2012.
- I. Syafalni and T. Sasao, "On the numbers of products in prefix SOPs for interval functions," IEICE Transaction on Information and System, vol. E96-D, no 55, pp. 1086-1094, May 2013.
- D. E. Taylor, J. S. Turner, "ClassBench: a packet classification bench- mark," IEEE/ACM TON, vol. 3, no. 15, pp. 499-511, 2007.
- D. E. Taylor, "Survey and taxonomy of packet classification techniques," ACM Computing Surveys, vol. 37, no. 3, pp. 238-275, 2005.