Efficient Gray-Code-Based Range Encoding Schemes for Packet Classification in TCAM

An efficient ternary content addressable memory (TCAM) encoding scheme using a binary reflected Gray code (BRGC) and the concept of elementary intervals is presented for efficiently storing arbitrary ranges in TCAM. The proposed layered BRGC range encoding scheme (L-BRGC) groups ranges into BRGC range sets in which each range can be encoded into a single ternary vector. The results of experiments performed on real-life and synthesized rule tables show that L-BRGC consumes less TCAM than all the existing range encoding schemes for all rule tables, except that the direct conversion scheme (EIGC) using elementary intervals and BRGC codes performs best for a small real-life ACL rule table.

[1]  Randy H. Katz,et al.  Efficient multi-match packet classification with TCAM , 2004, Proceedings. 12th Annual IEEE Symposium on High Performance Interconnects.

[2]  Yeim-Kuan Chang,et al.  A 2-Level TCAM Architecture for Ranges , 2006, IEEE Transactions on Computers.

[3]  Jonathan S. Turner,et al.  ClassBench: A Packet Classification Benchmark , 2005, IEEE/ACM Transactions on Networking.

[4]  Bin Liu,et al.  DRES: Dynamic Range Encoding Scheme for TCAM Coprocessors , 2008, IEEE Transactions on Computers.

[5]  Danny Hendler,et al.  Layered Interval Codes for TCAM-Based Classification , 2008, IEEE INFOCOM 2009.

[6]  Danny Hendler,et al.  Space-Efficient TCAM-Based Classification Using Gray Coding , 2007, IEEE INFOCOM 2007 - 26th IEEE International Conference on Computer Communications.

[7]  Huan Liu,et al.  Efficient mapping of range classifier into ternary-CAM , 2002, Proceedings 10th Symposium on High Performance Interconnects.

[8]  Eric Torng,et al.  TCAM Razor: A Systematic Approach Towards Minimizing Packet Classifiers in TCAMs , 2007, 2007 IEEE International Conference on Network Protocols.

[9]  Antonius P. J. Engbersen,et al.  Fast and scalable packet classification , 2003, IEEE J. Sel. Areas Commun..

[10]  Nick McKeown,et al.  Algorithms for packet classification , 2001, IEEE Netw..

[11]  Eric Torng,et al.  TCAM Razor: a systematic approach towards minimizing packet classifiers in TCAMs , 2010, TNET.

[12]  Manoj Sachdev,et al.  Low power dual matchline ternary content addressable memory , 2004, 2004 IEEE International Symposium on Circuits and Systems (IEEE Cat. No.04CH37512).

[13]  Huan Liu Routing Table Compaction in Ternary CAM , 2002, IEEE Micro.

[14]  Mohan Kumar,et al.  CoPTUA: Consistent Policy Table Update Algorithm for TCAM without locking , 2004, IEEE Transactions on Computers.

[15]  Anand Rangarajan,et al.  Algorithms for advanced packet classification with ternary CAMs , 2005, SIGCOMM '05.

[16]  Halim Fathoni,et al.  DEPARTMENT OF COMPUTER SCIENCE AND INFORMATION ENGINEERING , 2008 .

[17]  Jia Wang,et al.  Packet classifiers in ternary CAMs can be smaller , 2006, SIGMETRICS '06/Performance '06.

[18]  Yeim-Kuan Chang Power-Efficient TCAM Partitioning for IP Lookups with Incremental Updates , 2005, ICOIN.

[19]  Yung-Chieh Lin,et al.  Dynamic Segment Trees for Ranges and Prefixes , 2007, IEEE Transactions on Computers.

[20]  Laxmi N. Bhuyan,et al.  A Combinatorial Analysis of Subcube Reliability in Hybercubes , 1995, IEEE Trans. Computers.

[21]  Baruch Schieber,et al.  Computing the minimum DNF representation of Boolean functions defined by intervals , 2005, Discret. Appl. Math..

[22]  Francis Zane,et al.  Coolcams: power-efficient TCAMs for forwarding engines , 2003, IEEE INFOCOM 2003. Twenty-second Annual Joint Conference of the IEEE Computer and Communications Societies (IEEE Cat. No.03CH37428).

[23]  Nick McKeown,et al.  Packet classification on multiple fields , 1999, SIGCOMM '99.

[24]  Balachander Krishnamurthy,et al.  Fast prefix matching of bounded strings , 2003, ACM J. Exp. Algorithmics.

[25]  Mark de Berg,et al.  Computational geometry: algorithms and applications , 1997 .

[26]  Hung-Hsiang Jonathan Chao,et al.  Next generation routers , 2002, Proc. IEEE.

[27]  T. V. Lakshman,et al.  High-speed policy-based packet forwarding using efficient multi-dimensional range matching , 1998, SIGCOMM '98.