Fast address lookups using controlled prefix expansion

作者: V. Srinivasan , G. Varghese

DOI: 10.1145/296502.296503

关键词: TrieRouting tableComputer scienceCachePrefixLongest prefix matchParallel computingIPv6 addressCPU cacheBinary search algorithm

摘要: Internet (IP) address lookup is a major bottleneck in high-performance routers. IP challenging because it requires longest matching prefix lookup. It compounded by increasing routing table sizes, increased traffic, higher-speed links, and the migration to 128-bit IPv6 addresses. We describe how lookups updates can be made faster using set of transformation techniques. Our main technique, controlled expansion, transforms prefixes into an equivalent with fewer lengths. In addition, we use optimization techniques based on dynamic programming, local transformations data structures improve cache behavior. When applied trie search, our provide range algorithms (Expanded Tries) whose performance tuned. For example, processor 1MB L2 cache, search MaeEast database containing 38000 done 3 accesses. On 300MHz Pentium II which takes 4 cycles for accessing first word cacheline, this algorithm has worst-case time 180 nsec., insert/delete 2.5 msec., average usec. Expanded tries times than earlier algirthms. Binary Search Levels, nearly factor 2 (using twice as much storage) database. approach design measurements VTune tool obtain clock cycle counts. also apply similar problems other network protocols.

参考文章(29)
Richard T. Witek, Richard L. Sites, Alpha AXP architecture reference manual (2nd ed.) Digital Press. ,(1995)
Donald E. Knuth, The art of computer programming, volume 3: (2nd ed.) sorting and searching Addison Wesley Longman Publishing Co., Inc.. ,(1998)
Stefan Nilsson, Gunnar Karlsson, Fast address look-up for internet routers BC '98 Proceedings of the IFIP TC6/WG6.2 Fourth International Conference on Broadband Communications: The future of telecommunications. ,vol. 121, pp. 11- 22 ,(1998) , 10.1007/978-0-387-35378-4_2
Adisak Mekkittikul, Nick McKeown, Martin Izzard, Mark Horowitz, Bill Ellersick, The Tiny Tera: A Packet Switch Core arXiv: Networking and Internet Architecture. ,(1998)
Donald Ervin Knuth, Sorting and Searching ,(1973)
Y. Rekhter, T. Li, An Architecture for IP Address Allocation with CIDR RFC. ,vol. 1518, pp. 1- 27 ,(1993)
E. Rosen, B. Davie, D. Katz, G. Swallow, Y. Rekhter, Cisco Systems' Tag Switching Architecture Overview RFC. ,vol. 2105, pp. 1- 13 ,(1997)
George Varghese, Hugh M. Wilkinson, Nigel T. Poole, Compressed prefix matching database searching ,(1990)
P. Newman, G. Minshall, T. Lyon, L. Huston, IP switching and gigabit routers IEEE Communications Magazine. ,vol. 35, pp. 64- 69 ,(1997) , 10.1109/35.568212
Richard Witek, Richard L. Sites, Alpha AXP architecture reference manual Digital Press. ,(1995)