8th IEEE Workshop on Future Trends of Distributed Computing Systems (FTDCS'01)
Efficient Construction of Fixed-Stride Multibit Tries for IP Lookup
Bologna, Italy
October 31-November 02
ISBN: 0-7695-1384-0
Srinivasan and Varghese [16] have proposed the use of multibit tries to represent routing tables used for Internet (IP) address lookups. They propose an O(k*W2) time dynamic programming algorithm to determine the strides of an optimal k-level multibit fixed-stride trie when the longes prefix in the routing table has length W. We improve on this algorithm by providing an alternative dynamic programming formulation. While the asymptotic complexity of the resulting algorithm for fixed-stride tries is the same as that of the algorithm of [16], experiments using real IPv4 routing table data indicate that our algorithm runs 2 to 4 times as fast.
Index Terms:
Packet routing, longest matching prefix, controlled prefix expansion, multibit trie, dynamic programming
Citation:
S. Sahni, K. Kim, "Efficient Construction of Fixed-Stride Multibit Tries for IP Lookup," ftdcs, pp.0178, 8th IEEE Workshop on Future Trends of Distributed Computing Systems (FTDCS'01), 2001