DocumentCode
3499496
Title
IP lookups using multiway and multicolumn search
Author
Lampson, Butler ; Srinivasan, V. ; Varghese, George
Author_Institution
Microsoft, USA
Volume
3
fYear
1998
fDate
29 Mar-2 Apr 1998
Firstpage
1248
Abstract
IP address lookup is becoming critical because of increasing routing table size, speed, and traffic in the Internet. Our paper shows how binary search can be adapted for best matching prefix using two entries per prefix and by doing precomputation. Next we show how to improve the performance of any best matching prefix scheme using an initial array indexed by the first X bits of the address. We then describe how to take advantage of cache line size to do a multiway search with 6-way branching. Finally, we show how to extend the binary search solution and the multiway search solution for IPv6. For a database of N prefixes with address length W, naive binary search scheme would take O(W*logN); we show how to reduce this to O(W+logN) using multiple column binary search. Measurements using a practical (Mae-East) database of 30000 entries yield a worst case lookup time of 490 nanoseconds, five times faster than the Patricia trie scheme used in BSD UNIX. Our scheme is attractive for IPv6 because of small storage requirement (2N nodes) and speed (estimated worst case of 7 cache line reads)
Keywords
Internet; search problems; table lookup; telecommunication network routing; telecommunication traffic; transport protocols; 6-way branching; BSD UNIX; IP address lookup; IP packet forwarding rates; IPv6; Internet; address length; best matching prefix; cache line size; database; encoding; measurements; multiple column binary search; multiway search; multiway search solution; performance; precomputation; routing table size; small storage requirement; speed; traffic; Bandwidth; Cache storage; Databases; Home appliances; Internet; Packet switching; Routing protocols; Statistics; Time measurement; Videoconference;
fLanguage
English
Publisher
ieee
Conference_Titel
INFOCOM '98. Seventeenth Annual Joint Conference of the IEEE Computer and Communications Societies. Proceedings. IEEE
Conference_Location
San Francisco, CA
ISSN
0743-166X
Print_ISBN
0-7803-4383-2
Type
conf
DOI
10.1109/INFCOM.1998.662939
Filename
662939
Link To Document