DocumentCode
2907073
Title
An Optimal and Flexible TCAM Software Simulation Algorithm
Author
Wang, Ming-Hwa ; Chang, Chen-Huei
Author_Institution
Adv. Tools & Simulation, Cisco Syst., Inc., San Jose, CA, USA
fYear
2011
fDate
7-9 Dec. 2011
Firstpage
324
Lastpage
331
Abstract
This paper presents an optimal and flexible algorithm for matching many search keys against many entries with arbitrary wildcard (i.e., "don\´t care") bits to simulate TCAM lookups in software. The algorithm is also enhanced by using more memory to match search keys containing arbitrary wildcards. To speed up the lookup operation in the functional TCAM model, the algorithm stores intermediary results in a two-dimensional array based on the TCAM entries. It is proved that the algorithm uses the optimal number of bit wise-AND operations in finding the matches. In a theoretical analysis, the proposed algorithm achieves a speedup factor of more than 16 compared to sequential search using reasonable memory footprints, and the best speedup reaches a factor of 27 in our experiments. Finally, the empirical evaluation of the algorithm identifies a sweet spot in the trade-off between space and time which can be practically configurable in simulation.
Keywords
content-addressable storage; search problems; bit wise-AND operation; flexible TCAM software simulation; memory footprint; optimal TCAM software simulation; sequential search; ternary content addressable memory; two-dimensional array; Algorithm design and analysis; Arrays; Buildings; Complexity theory; Indexes; Software; Software algorithms; modeling and simulation; search algorithm; ternary CAM;
fLanguage
English
Publisher
ieee
Conference_Titel
Parallel and Distributed Systems (ICPADS), 2011 IEEE 17th International Conference on
Conference_Location
Tainan
ISSN
1521-9097
Print_ISBN
978-1-4577-1875-5
Type
conf
DOI
10.1109/ICPADS.2011.26
Filename
6121294
Link To Document