Fast IP route lookup with 16/K and 16/Kc compressed data structures
Abstract
An advanced data structure allows lookup based upon the most significant 16 bits and the following variable number of K bits of the IP destination address. This 16/K scheme requires less than 2 MB memory to store the whole routing tables of present day backbone routers. A 16/Kc version utilizes bitmaps to compress the table to less than 0.5 MB. For the 16/K data structure each route lookup requires at most 2 memory accesses while the 16/Kc requires at most 3 memory accesses. By configuring the processor properly and developing a few customized instructions to accelerate route lookup, one can achieve 85 million lookups per second (MLPS) in the typical case with the processor running at 200 MHz. Further, the lookup method can be implemented using pipelining techniques to perform three lookups for three incoming packets simultaneously. Using such techniques, 100 MLPS performance can be achieved.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 17.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of routing a packet by performing a route lookup based on a received IP destination address, the method comprising: configuring a first lookup table having at least one entry, each of the at least one entry having a bitmap portion and an information storage portion; configuring a second lookup table having at least one entry, each entry in the at least one entry storing next hop and prefix length information; configuring a third lookup table having at least one entry, the at least one entry including a pointer portion and a variable value K; and routing a packet having the received IP
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 17 total)
References Cited — Backward Prior Art (22)
Non-Patent Literature (5)
- Chiueh et al., "High-Performance IP Routing Table Lookup Using CPU Caching," IEEE, 1999, pp. 1421-1427.
- Degermark et al., "Small Forwarding Tables for Fast Routing Lookups," ACM, 1997, pp. 3-13.
- Gupta et al., "Routing Lookups in Hardware at Memory Access Speeds," IEEE, 1998, pp. 1240-1246.
- Huang et al., "A Novel IP-Routing Lookup Scheme and Hardware Architecture for Multigigabit Switching Routers," IEEE Journal on Selected Areas in Communications, vol. 17, No. 6, Jun. 1999, pp. 1093-1104.
- Srinivasan, V. et al., "Fast Address Lookups Using Controlled Prefix Expansion", White paper, p. 1-37.