A hierarchical hashing scheme to accelerate longest prefix matching

Longest Prefix Matching in IP Address lookup remains a bottleneck for high-speed routers where large volumes of traffic at multi-gigabyte link speeds require extremely fast lookup time. By taking advantage of bitmap and hashing techniques effectively used in Tree Bitmap algorithm and Binary hash searching on prefix length algorithm we propose a hierarchical hashing scheme based on observations about prefix length distribution in real routing tables. Theoretical analysis and experiments using real routing tables show that our scheme significantly improve IP lookup efficiency by remarkably reducing the number of memory access, consuming less memory and enabling fast update.

[1]  Min Sik Kim,et al.  A Hybrid Approach to CAM-Based Longest Prefix Matching for IP Route Lookup , 2010, 2010 IEEE Global Telecommunications Conference GLOBECOM 2010.

[2]  Gunnar Karlsson,et al.  IP-address lookup using LC-tries , 1999, IEEE J. Sel. Areas Commun..

[3]  Lih-Chyau Wuu,et al.  A longest prefix first search tree for IP lookup , 2007, Comput. Networks.

[4]  H. Jonathan Chao,et al.  FlashTrie: Hash-based Prefix-Compressed Trie for IP Route Lookup Beyond 100Gbps , 2010, 2010 Proceedings IEEE INFOCOM.

[5]  Donald R. Morrison,et al.  PATRICIA—Practical Algorithm To Retrieve Information Coded in Alphanumeric , 1968, J. ACM.

[6]  Lawrence T. Clark,et al.  A Dynamic Longest Prefix Matching Content Addressable Memory for IP Routing , 2011, IEEE Transactions on Very Large Scale Integration (VLSI) Systems.

[7]  George Varghese,et al.  Tree bitmap: hardware/software IP lookups with incremental updates , 2004, CCRV.

[8]  Nian-Feng Tzeng,et al.  Concise Lookup Tables for IPv4 and IPv6 Longest Prefix Matching in Scalable Routers , 2012, IEEE/ACM Transactions on Networking.

[9]  Bernhard Plattner,et al.  Scalable high speed IP routing lookups , 1997, SIGCOMM '97.

[10]  Yung-Chieh Lin,et al.  A Fast and Memory Efficient Dynamic IP Lookup Algorithm Based on B-Tree , 2009, 2009 International Conference on Advanced Information Networking and Applications.

[11]  Yi-Mao Hsiao,et al.  A high-throughput and high-capacity IPv6 routing lookup system , 2013, Comput. Networks.