Small forwarding tables for fast routing lookups

  • Authors:
  • Mikael Degermark;Andrej Brodnik;Svante Carlsson;Stephen Pink

  • Affiliations:
  • Department of Computer Science and Electrical Engineering, Luleå University of Technology, S-971 87 Luleå, Sweden and Centre for Distance-spanning Technology (CDT), Luleå, Sweden;Department of Computer Science and Electrical Engineering, Luleå University of Technology, S-971 87 Luleå, Sweden and Department of Theoretical Computer Science, Institute of Mathematics ...;Department of Computer Science and Electrical Engineering, Luleå University of Technology, S-971 87 Luleå, Sweden and Centre for Distance-spanning Technology (CDT), Luleå, Sweden;Centre for Distance-spanning Technology (CDT), Luleå, Sweden and Swedish Institute of Computer Science, PO box 1263, S-164 28 Kista, Sweden and Department of Computer Science and Electrical E ...

  • Venue:
  • SIGCOMM '97 Proceedings of the ACM SIGCOMM '97 conference on Applications, technologies, architectures, and protocols for computer communication
  • Year:
  • 1997

Quantified Score

Hi-index 0.03

Visualization

Abstract

For some time, the networking community has assumed that it is impossible to do IP routing lookups in software fast enough to support gigabit speeds. IP routing lookups must find the routing entry with the longest matching prefix, a task that has been thought to require hardware support at lookup frequencies of millions per second.We present a forwarding table data structure designed for quick routing lookups. Forwarding tables are small enough to fit in the cache of a conventional general purpose processor. With the table in cache, a 200 MHz Pentium Pro or a 333 MHz Alpha 21164 can perform a few million lookups per second. This means that it is feasible to do a full routing lookup for each IP packet at gigabit speeds without special hardware.The forwarding tables are very small, a large routing table with 40,000 routing entries can be compacted to a forwarding table of 150-160 Kbytes. A lookup typically requires less than 100 instructions on an Alpha, using eight memory references accessing a total of 14 bytes.