Efficient construction of fixed-stride multibit tries for IP lookup

Sartaj K. Sahni, Kun Suk Kim · 2002

Srinivasan and Varghese (1999) have proposed the use of multibit tries to represent routing tables used for Internet (IP) address lookups. They propose an O(k*W/sup 2/) time dynamic programming algorithm to determine the strides of an optimal k-level multibit fixed-stride trie when the longest prefix in the routing table has length W. The authors 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 Srinivasan and Varghese, experiments using real IPv4 routing table data indicate that their algorithm runs 2 to 4 times as fast.

Read the paper · More papers on PaperTik