Faster IP lookups using controlled prefix expansion

作者: V. Srinivasan , George Varghese

DOI: 10.1145/277851.277863

关键词: Computer scienceLongest prefix matchTrieIPv6 addressCPU cacheRouting tableBinary search algorithmPrefixParallel computing

摘要: 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 can be made faster using new technique called controlled expansion. Controlled expansion, together with optimization techniques based on dynamic programming, used improve of best known algorithms at least factor two. When applied trie search, our provide range whose tuned. For example, 1 MB L2 cache, search MaeEast database 38,000 prefixes done worst case time 181 nsec, insert/delete 2.5 msec, an average 4 usec. Our actual experiments 512 KB cache obtain worst-case 226 msec also binary lengths scalable solution for IPv6. approach algorithm design measurements VTune tool Pentium clock cycle counts.

参考文章(18)
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
E. Rosen, B. Davie, D. Katz, G. Swallow, Y. Rekhter, Cisco Systems' Tag Switching Architecture Overview RFC. ,vol. 2105, pp. 1- 13 ,(1997)
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
A. Demers, S. Keshav, S. Shenker, Analysis and simulation of a fair queueing algorithm acm special interest group on data communication. ,vol. 19, pp. 1- 12 ,(1989) , 10.1145/75246.75248
Mikael Degermark, Andrej Brodnik, Svante Carlsson, Stephen Pink, Small forwarding tables for fast routing lookups acm special interest group on data communication. ,vol. 27, pp. 3- 14 ,(1997) , 10.1145/263105.263133
B. Lampson, V. Srinivasan, G. Varghese, IP lookups using multiway and multicolumn search international conference on computer communications. ,vol. 3, pp. 1248- 1256 ,(1998) , 10.1109/INFCOM.1998.662939
P. Gupta, S. Lin, N. McKeown, Routing lookups in hardware at memory access speeds international conference on computer communications. ,vol. 3, pp. 1240- 1247 ,(1998) , 10.1109/INFCOM.1998.662938
Guru Parulkar, Douglas C. Schmidt, Jonathan S. Turner, aItPm Proceedings of the conference on Applications, technologies, architectures, and protocols for computer communication - SIGCOMM '95. ,vol. 25, pp. 49- 59 ,(1995) , 10.1145/217382.217409
G.P. Chandranmenon, G. Varghese, Trading packet headers for packet processing IEEE ACM Transactions on Networking. ,vol. 4, pp. 141- 152 ,(1996) , 10.1109/90.490742