Abstract
This paper presents a new TCAM-based method for determining the Longest Prefix Match (LPM) in an IP routing table. The method is based on modifying the address encoder of the standard TCAM design to take the prefix lengths of the IP routing entries into account while performing multi-match resolution, thus allowing prefixes to be inserted in any random order. This enables full utilization of the TCAM address space while greatly simplifying the updating procedure as complex software sorting algorithms and extensive table modifications are avoided. The result is faster table updates and consequently a higher throughput of the network search engine, since the TCAM down time caused by incremental updates is eliminated. The LPM scheme is described in HDL for FPGA implementation and compared to an existing scheme for customized CAM circuits. The paper shows that the proposed scheme can process more packets per second, has less per-lookup power consumption and is easier to expand to larger routing tables than the existing implementation. The latency of the LPM operation is only log2 N clock cycles, where N is the maximum number of prefixes in the TCAM, and in a pipelined implementation the throughput of the system is one Longest Prefix Match lookup per clock cycle.
Original language | English |
---|---|
Title of host publication | 2013 IEEE 14th International Conference on High Performance Switching and Routing (HPSR) |
Publisher | IEEE |
Publication date | 2013 |
Pages | 43-48 |
ISBN (Print) | 978-1-4673-4620-7 |
DOIs | |
Publication status | Published - 2013 |
Event | 14th IEEE International Conference on High Performance Switching and Routing (HPSR 2013) - Taipei, Taiwan, Province of China Duration: 8 Jul 2013 → 11 Jul 2013 http://www.ieee-hpsr.org/2013/ |
Conference
Conference | 14th IEEE International Conference on High Performance Switching and Routing (HPSR 2013) |
---|---|
Country/Territory | Taiwan, Province of China |
City | Taipei |
Period | 08/07/2013 → 11/07/2013 |
Internet address |