Efficient Construction of Variable-Stride Multibit Tries for IP Lookup

  • Authors:
  • Sartaj Sahni;Kun Suk Kim

  • Affiliations:
  • -;-

  • Venue:
  • SAINT '02 Proceedings of the 2002 Symposium on Applications and the Internet
  • Year:
  • 2002

Quantified Score

Hi-index 0.02

Visualization

Abstract

[Srinivasan and Varghese 17 ] have proposed the use of multibit tries to represent routing tables used for Internet (IP)address lookups. They propose an O(n * W 2 * k) dynamic programing algorithm to determine the strides for an optimal variable-stride trie that has at most k levels. Here, n is the number of prefixes in the routing table and W is the length of the longest prefix. We improve on this algorithm by providing an alternative dynamic programming formulation. The complexity of our algorithm is O(n * W * k) on real router data sets. This is an improvement by a factor of W over the corresponding algorithm of 17 ]. Experiments conducted by us indicate that our variable-stride algorithm is between 2 and 17 times as fast for IPv4 routing table data.