Faster IP Lookups using Controlled Prefix Expansion

V. Srinivasan and George Varghese (WUSTL), 1998

Summary. The authors suggest three techniques that, when applied to existing router lookup algorithms, yield lookup times of 226nsec (about twice as fast as known algorithms) and worst case insert/delete times of 2.5ms.


More detail

The Internet Lookup Problem: Map incoming IP addresses to outgoing interface. Requires more than just a one-to-one mapping because of the millions of IP addresses seen. Instead, the database consists of pairs. This reduces database size AT THE EXPENSE OF requiring a more complex lookup: longest matching prefix. Ex:

Performance Model. Routing Environment: use four publicly available databases for comparisons. Implementation Model: Software: 300MHz Pentium II, NT, 512Kb L2, cache line 32 bytes. Hardware: cheap forwarding engine at a clock rate of 10 nsec (?). They map their analyses onto these models to get average and worst case lookup/insert/delete times for their lookup algorithms.

Techniques:

Miscellaneous points:

Criticisms.

Presentation needs work. Many key concepts are vague (binary search on prefix lengths). Needed a picture of fixed-stride trie and variable-stride trie (not clear if variance in horizontal or vertical axis). Background work not explained (Patricia tries).