Title :
High-performance IP routing table lookup using CPU caching
Author :
Chiueh, Tzi-cker ; Pradhan, Prashant
Author_Institution :
Dept. of Comput. Sci., State Univ. of New York, Stony Brook, NY, USA
Abstract :
Wire-speed IP (Internet Protocol) routers require very fast routing table lookup for incoming IP packets. The routing table lookup operation is time consuming because the part of an IP address used in the lookup, i.e., the network address portion, is variable in length. This paper describes the routing table lookup algorithm used in a cluster-based parallel IP router project called Suez. The innovative aspect of this algorithm is its ability to use CPU caching hardware to perform routing table caching and lookup directly by carefully mapping IP addresses to virtual addresses. By running a detailed simulation model that incorporates the performance effects of the CPU memory hierarchy against a packet trace collected from a major network router, we show that the overall performance of the proposed algorithm can reach 87.87 million lookups per second for a 500-MHz Alpha processor with a 16-KByte L1 cache and a 1-MByte L2 cache. This result is one to two orders of magnitude faster than previously reported results on software-based routing table lookup implementations. This paper also reports the performance impacts of various architectural parameters in the proposed scheme and its storage costs, together with the measurements of an implementation of the proposed scheme on a Pentium-II machine running Linux
Keywords :
cache storage; parallel algorithms; table lookup; telecommunication network routing; transport protocols; 1 KByte; 16 KByte; 500 MHz; Alpha processor; CPU caching hardware; CPU memory hierarchy; IP addresses; IP packets; Internet Protocol; Linux; Pentium-II machine; architectural parameters; cluster-based parallel IP router; cluster-based parallel IP router project; high-performance IP routing table lookup; network address; packet trace; performance effects; routing table lookup algorithm; simulation model; software-based routing table lookup; storage costs; virtual addresses; wire-speed IP routers; Algorithm design and analysis; Clustering algorithms; Computer science; Costs; Hardware; Internet; Linux; Routing protocols; Table lookup; Wire;
Conference_Titel :
INFOCOM '99. Eighteenth Annual Joint Conference of the IEEE Computer and Communications Societies. Proceedings. IEEE
Conference_Location :
New York, NY
Print_ISBN :
0-7803-5417-6
DOI :
10.1109/INFCOM.1999.752162