Title :
CoPTUA: Consistent Policy Table Update Algorithm for TCAM without locking
Author :
Wang, Zhijun ; Che, Hao ; Kumar, Mohan ; Das, Sajal K.
Author_Institution :
Dept. of Comput. Sci. & Eng., Texas Univ., Arlington, TX, USA
Abstract :
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.
Keywords :
content-addressable storage; data integrity; packet switching; pattern classification; pattern matching; storage management; table lookup; telecommunication network routing; Consistent Policy Table Update Algorithm; network processor; packet classification; policy filtering; rule matching; table lookup; ternary content addressable memory; Analytical models; Associative memory; CADCAM; Computer aided manufacturing; Coprocessors; Databases; Filtering algorithms; Hardware; High-speed networks; Resource management; 65; Index Terms- Network processor; packet classification.; policy table update; ternary CAM;
Journal_Title :
Computers, IEEE Transactions on
DOI :
10.1109/TC.2004.108