This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
CoPTUA: Consistent Policy Table Update Algorithm for TCAM without Locking
December 2004 (vol. 53 no. 12)
pp. 1602-1614
Due to deterministic and fast lookup performance, Ternary Content Addressable Memory (TCAM) has recently been gaining popularity in general policy filtering (PF) for packet classification in high-speed networks. However, the PF table update poses significant challenges for efficient use of TCAM. To avoid erroneous and inconsistent rule matching, the traditional approach is to lock the PF table during the rule update period, but table locking has a negative impact on data path processing. In this paper, we propose a novel scheme, called Consistent Policy Table Update Algorithm (CoPTUA), for TCAM. Instead of minimizing the number of rule moves to reduce the locking time, CoPTUA maintains a consistent PF table throughout the update process, thus eliminating the need for locking the PF table while ensuring correctness of rule matching. Our analysis and simulation show that, even for a PF table with 100,000 rules, an arbitrary number of rules can be updated simultaneously within 1 second in the worst case, provided that 2 percent of the PF table entries are empty. Thus, CoPTUA enforces any new rule in less than 1 second for practical PF table size with high memory utilization and without impacting data path processing.

[1] “AMCC Ships 10-Gbit/s Processor,” Light Reading, 25 Mar. 2002.
[2] M. Adiletta, M.R. Bluth, D. Bernstein, G. Wolrich, and H. Wilkinson, “The Next Generation of Intel IXP Network Processors” Intel Technology J., vol. 6, no. 3, pp 6-18, 2002.
[3] F. Baboescu and G. Varghese, “Scalable Packet Classification,” Proc. ACM SIGCOMM, 2001.
[4] H. Che, Y. Wang, and Z. Wang, “A Rule Grouping Technique for Weight-Based TCAM Coprocessors,” Proc. 11th Hot Interconnects (HOTI), 2003.
[5] A. Feldman and S. Muthukrishnan, “Tradeoff for Packet Classification,” Proc. INFOCOM, 2001.
[6] P. Gupta and N. McKeown, “Packet Classification on Multiple Fields,” Proc. ACM SIGCOMM, 1999.
[7] P. Gupta and N. McKeown, “Packet Classification Using Hierarchical Intelligent Cuttings,” Proc. Seventh Hot Interconnects (HOTI), 1999.
[8] N.F. Huang, W.E. Chen, C.Y. Lou, and J.M. Chen, “Design of Multi-Field IPv6 Packet Classifiers Using Ternary CAMs,” Proc. IEEE GLOBECOM, 2001.
[9] M. Kobayashi, T. Murase, and A. Kuriyama, “A Longest Prefix Match Search Engine for Multi-Gigabit IP Processing,” Proc. Int'l Conf. Comm. (ICC), 2000.
[10] T.V. Lakshman and D. Stidialis, “High Speed Policy-Based Packet Forwarding Using Efficient Multi-Dimensional Range Matching,” Proc. ACM SIGCOMM, 1998.
[11] H. Liu, “Routing Table Compaction in Ternary CAM,” IEEE Micro, vol. 22, no. 1, pp. 58-64, 2002.
[12] H. Liu, “Efficient Mapping of Range Classifier into Ternary-CAM,” Proc. 10th Hot Interconnects (HOTI), 2002.
[13] J.V. Lunteren and A.P.J. Engbersen, “Multi-Field Packet Classification Using Ternary CAM,” Electronics Letters, vol. 38, no. 1, pp. 21-23, 2002.
[14] R. Lysecky and F. Vahid, “On-Chip Logic Minimzation,” Proc. 40th Conf. Design Automation, 2003.
[15] R. Panigrahy and S. Sharma, “Reducing TCAM Consumption and Increasing Throughput,” Proc. 10th Hot Interconnects (HOTI), 2002.
[16] D. Shah and P. Gupta, “Fast Updating Algorithms for TCAMs,” IEEE Micro, pp 36-47, 2001.
[17] V. Srinivasan, G. Varghese, S. Suri, and M. Waldvogel, “Fast and Scalable Layer Four Switching,” Proc. ACM SIGCOMM, 1998.
[18] V. Srinivasan, S. Suri, and M. Waldvogel, “Packet Classification Using Tuple Space Search,” Proc. ACM SIGCOMM, 1999.
[19] S. Sharma and R. Panigrahy, “Sorting and Searching Using Ternary CAMs,” Proc. 10th Hot Interconnects (HOTI), 2002.
[20] F. Zane, G. Narlikar, and A. Basu, “CoolCAM: Power-Efficient TCAMs for Forwarding Engines,” Proc. IEEE INFOCOM, 2003.
[21] K. Zheng, C. Hu, H. Lu, and B. Liu, “An Ultra High Throughput and Power Efficient TCAM-Based IP Lookup Engine,” Proc. IEEE INFOCOM, 2004.

Index Terms:
Network processor, ternary CAM, policy table update, packet classification.
Citation:
Zhijun Wang, Hao Che, Mohan Kumar, Sajal K. Das, "CoPTUA: Consistent Policy Table Update Algorithm for TCAM without Locking," IEEE Transactions on Computers, vol. 53, no. 12, pp. 1602-1614, Dec. 2004, doi:10.1109/TC.2004.108
Usage of this product signifies your acceptance of the Terms of Use.