Nothing Special   »   [go: up one dir, main page]

skip to main content
article
Free access

Faster IP lookups using controlled prefix expansion

Published: 01 June 1998 Publication History

Abstract

Internet (IP) address lookup is a major bottleneck in high performance routers. IP address lookup is challenging because it requires a longest matching prefix lookup. It is compounded by increasing routing table sizes, increased traffic, higher speed links, and the migration to 128 bit IPv6 addresses. We describe how IP lookups can be made faster using a new technique called controlled prefix expansion. Controlled prefix expansion, together with optimization techniques based on dynamic programming, can be used to improve the speed of the best known IP lookup algorithms by at least a factor of two. When applied to trie search, our techniques provide a range of algorithms whose performance can be tuned. For example, with 1 MB of L2 cache, trie search of the MaeEast database with 38,000 prefixes can be done in a worst case search time of 181 nsec, a worst case insert/delete time of 2.5 msec, and an average insert/delete time of 4 usec. Our actual experiments used 512 KB L2 cache to obtain a worst-case search time of 226 nsec, a worst-case worst case insert/delete time of 2.5 msec and an average insert/delete time of 4 usec. We also describe how our techniques can be used to improve the speed of binary search on prefix lengths to provide a scalable solution for IPv6. Our approach to algorithm design is based on measurements using the VTune tool on a Pentium to obtain dynamic clock cycle counts.

References

[1]
Scott Bradner. Nea:t Generation touters Overview. Proceedings of Networld Interop 97, 1997.
[2]
T.H. Cormen, C.E. Liecerson, and R.{,. Rivest. Introduction to Algorithms. MIT Press, 1990.
[3]
Digital Electronics Corporation. The DEC Alpha. http://w w w .dec.co m.
[4]
Girish P. Chandranmenon and George Varghese. Trading Packet Headers for Packet Processing. IEEE/ACM Transactions on Networking, April 1996.
[5]
M DegerMark, A Brodnik, S Carlsson, and S Pink. Small Forwarding Tables for Fast Routing Lookups. Computer Communication Review, October 1997.
[6]
S Deering and R Hinden. Internet Protocol, Version 6 (IPv6) Specification RFC 1883. ht t p://ds.internic.net/rfc/rfc 1883.tx t, 1995.
[7]
A. Demers, S. Keshav, and S. Shenker. Analysis and Simulation of a fair queuing algorithm. Proc. of Sigcomm'89, September 1989.
[8]
Andrew Walton Reading England, Una M. Quinlan Dublin Ireland, Stewart F. Bryant Redhill England, Michael J. Seaman San Jose Calif, John Rigby Reading England, Fearghal Morgan Moycullen, and Joseph O'Callaghan Glounthaune both of Ireland. Address recognition engine with look-up database for storing network information. U.S. Patent 5519858. Assignee Digital Equipment Corporation, Maynard, Mass., 1996.
[9]
Pankaj Gupta, Steven Lin, and Nick McKeown. Routing Lookups in Hardware at Memory Access Speeds. Proceedings o} the IEEE Infocom 98, April 1998.
[10]
Matthew Gray. Internet Growth Summary. http://www.mit.edu/people/mkgray/net/internetgrowth-summary.html, 1996.
[11]
Internet II. Big Fast Routers: multi-megapacket forwarding engines for Internet II. Proceedings of Networld Interop 97, 1997.
[12]
Merit Inc. IPMA Statistics. http://nic, meri t.edu/ipma.
[13]
Intel. The Pentium Processor. http://www.pentium.com.
[14]
Donald Knuth. Fundamental Algorithms vol 3: Sorting and Searching. Addison-Wesley, 1973.
[15]
Butler Lampson, V. Srinivasan, and George Varghese. IP Lookups using Multi-way and Multicolumn Search. Proceedings of the IEEE Infocom 98, April 1998.
[16]
Anthony J. Bloomfeld NJ McAuley, Paul F. Lake Hopatcong N J Tsuchiya, and Daniel V. Rockaway Township Morris County NJ Wilson. Fast multilevel heirarchical routing table using content-addressable memory. U.S. Patent serial number 034444. Assignee Bell Communications research Inc Livingston N J, January 1995.
[17]
S. Nilsson and G. Karlsson. Fast Address Look-Up for Internet Routers. Proceedings of IEEE Broadband Communications 98, April 1998.
[18]
Peter Newman, Greg Minshall, and Larry Huston. IP Switching and Gigabit Routers. IEEE Communications Magazine, January 1997.
[19]
Radia Perlman. lnterconnections, Bridges and Routers. Addison-Wesley, 1992.
[20]
Guru Parulkar, Douglas C. Schmidt, and Jonathan Turner. IP/ATM: A Strategy for IntegratingIP with ATM. Computer Communication Review, October 1995.
[21]
Y. Rechter, B. Davie, D. Katz, E. Rosen, and G. Swallow. Cisco Systems' Tag Switching Architecture Overview. Technical Report RFC 2105, February 1997.
[22]
Y Rechter and T Li. A Border Gateway Protocol 4 (BGP-4) RFC 177I. http: / / ds.int ernic, net / rfc / rfc 1771 .txt, 1995.
[23]
M. Sreedhar and George Varghese. Efficient Fair Queuing using Deficit Round Robin. Computer Communication Review, October 1995.
[24]
Alan Tammel. How to survive as an ISP. Proceedings of Networld Interop 97, 1997.
[25]
Torrent. Torrent Systems, Inc. http://w w w.torrent.com.
[26]
M Waldvogel, G Varghese, J Turner, and B Plattner. Scalable High Speed IP Routing Lookups. Computer Communication Review, October 1997.

Cited By

View all
  • (2023)A Perspective of IP Lookup Approach Using Graphical Processing Unit (GPU)Distributed Computing and Intelligent Technology10.1007/978-3-031-24848-1_7(98-103)Online publication date: 18-Jan-2023
  • (2021)CP-Trie: Cumulative PopCount based Trie for IPv6 Routing Table Lookup in Software and ASIC2021 IEEE 22nd International Conference on High Performance Switching and Routing (HPSR)10.1109/HPSR52026.2021.9481816(1-8)Online publication date: 7-Jun-2021
  • (2019)SHIPIEEE/ACM Transactions on Networking10.1109/TNET.2019.292623027:4(1529-1542)Online publication date: 1-Aug-2019
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM SIGMETRICS Performance Evaluation Review
ACM SIGMETRICS Performance Evaluation Review  Volume 26, Issue 1
June 1998
281 pages
ISSN:0163-5999
DOI:10.1145/277858
Issue’s Table of Contents
  • cover image ACM Conferences
    SIGMETRICS '98/PERFORMANCE '98: Proceedings of the 1998 ACM SIGMETRICS joint international conference on Measurement and modeling of computer systems
    June 1998
    284 pages
    ISBN:0897919823
    DOI:10.1145/277851
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 June 1998
Published in SIGMETRICS Volume 26, Issue 1

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)162
  • Downloads (Last 6 weeks)39
Reflects downloads up to 19 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2023)A Perspective of IP Lookup Approach Using Graphical Processing Unit (GPU)Distributed Computing and Intelligent Technology10.1007/978-3-031-24848-1_7(98-103)Online publication date: 18-Jan-2023
  • (2021)CP-Trie: Cumulative PopCount based Trie for IPv6 Routing Table Lookup in Software and ASIC2021 IEEE 22nd International Conference on High Performance Switching and Routing (HPSR)10.1109/HPSR52026.2021.9481816(1-8)Online publication date: 7-Jun-2021
  • (2019)SHIPIEEE/ACM Transactions on Networking10.1109/TNET.2019.292623027:4(1529-1542)Online publication date: 1-Aug-2019
  • (2019)A Power-saving Pre-classifier for TCAM-based IP LookupComputer Networks10.1016/j.comnet.2019.106898(106898)Online publication date: Sep-2019
  • (2018)High-performance IP lookup using Intel Xeon Phi: a Bloom filters based approachJournal of Internet Services and Applications10.1186/s13174-017-0075-y9:1Online publication date: 19-Feb-2018
  • (2018)Anomaly-Based Intrusion Detection Using Extreme Learning Machine and Aggregation of Network Traffic Statistics in Probability SpaceCognitive Computation10.1007/s12559-018-9564-y10:5(848-863)Online publication date: 5-Jun-2018
  • (2017)Efficient FIB Representations on Distributed PlatformsIEEE/ACM Transactions on Networking10.1109/TNET.2017.272864225:6(3309-3322)Online publication date: 1-Dec-2017
  • (2017)TupleMerge: Building Online Packet Classifiers by Omitting Bits2017 26th International Conference on Computer Communication and Networks (ICCCN)10.1109/ICCCN.2017.8038399(1-10)Online publication date: Jul-2017
  • (2017)MEET-IP: Memory and Energy Efficient TCAM-Based IP Lookup2017 26th International Conference on Computer Communication and Networks (ICCCN)10.1109/ICCCN.2017.8038369(1-8)Online publication date: Jul-2017
  • (2016)Compressing IP forwarding tablesIEEE/ACM Transactions on Networking10.1109/TNET.2014.235705124:1(149-162)Online publication date: 1-Feb-2016
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media