[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/863955.863979acmconferencesArticle/Chapter ViewAbstractPublication PagescommConference Proceedingsconference-collections
Article
Free access

Longest prefix matching using bloom filters

Published: 25 August 2003 Publication History

Abstract

We introduce the first algorithm that we are aware of to employ Bloom filters for Longest Prefix Matching (LPM). The algorithm performs parallel queries on Bloom filters, an efficient data structure for membership queries, in order to determine address prefix membership in sets of prefixes sorted by prefix length. We show that use of this algorithm for Internet Protocol (IP) routing lookups results in a search engine providing better performance and scalability than TCAM-based approaches. The key feature of our technique is that the performance, as determined by the number of dependent memory accesses per lookup, can be held constant for longer address lengths or additional unique address prefix lengths in the forwarding table given that memory resources scale linearly with the number of prefixes in the forwarding table.Our approach is equally attractive for Internet Protocol Version 6 (IPv6) which uses 128-bit destination addresses, four times longer than IPv4. We present a basic version of our approach along with optimizations leveraging previous advances in LPM algorithms. We also report results of performance simulations of our system using snapshots of IPv4 BGP tables and extend the results to IPv6. Using less than 2Mb of embedded RAM and a commodity SRAM device, our technique achieves average performance of one hash probe per lookup and a worst case of two hash probes and one array access per lookup.

References

[1]
BGP Table Data. http://bgp.potaroo.net/, February 2003.]]
[2]
IPv6 Operational Report. http://net-stats.ipv6.tilab.com/bgp/bgp-table-snapshot.txt/, February 2003.]]
[3]
B. H. Bloom. Space/Time Trade-offs in Hash Coding with Allowable Errors. Communications of the ACM, 13(7):422--426, July 1970.]]
[4]
A. Broder and M. Mitzenmacher. Network applications of Bloom Filters: A survey. In Proceedings of 40th Annual Allerton Conference, October 2002.]]
[5]
M. Degermark, A. Brodnik, S. Carlsson, and S. Pink. Small Forwarding Tables for Fast Routing Lookups. In ACM SIGCOMM, 1997.]]
[6]
B. Dipert. Special Purpose SRAMs smooth the ride. EDN, Jun 1999.]]
[7]
W. N. Eatherton. Hardware-Based Internet Protocol Prefix Lookups. thesis, Washington University in St. Louis, 1998. Available at http://www.arl.wustl.edu/.]]
[8]
L. Fan, P. Cao, J. Almeida, and A. Z. Broder. Summary cache: A scalable wide-area web cache sharing protocol. IEEE/ACM Transactions on Networking, 8(3):281--293, June 2000.]]
[9]
S. Fuller, T. Li, J. Yu, and K. Varadhan. Classless inter-domain routing (CIDR): an address assignment and aggregation strategy. RFC 1519, September 1993.]]
[10]
P. Gupta, S. Lin, and N. McKeown. Routing Lookups in Hardware at Memory Access Speeds. In IEEE INFOCOM, 1998.]]
[11]
R. Hinden and S. Deering. Internet Version 6 (IPv6) Addressing Architecture. RFC 3513, April 2003.]]
[12]
IANA. IPv6 Address Allocation and Assignment Policy. http://www.iana.org/ipaddress/ipv6-allocation-policy-26jun02, June 2002.]]
[13]
B. Lampson, V. Srinivasan, and G. Varghese. IP Lookups Using Multiway and Multicolumn Search. IEEE/ACM Transactions on Networking, 7(3):324--334, 1999.]]
[14]
A. J. McAulay and P. Francis. Fast Routing Table Lookup Using CAMs. In IEEE INFOCOM, 1993.]]
[15]
Micron Technology Inc. 36Mb DDR SIO SRAM 2-Word Burst. Datasheet, December 2002.]]
[16]
Micron Technology Inc. Harmony TCAM 1Mb and 2Mb. Datasheet, January 2003.]]
[17]
R. K. Montoye. Apparatus for Storing "Don't Care" in a Content Addressable Memory Cell. United States Patent 5,319,590, June 1994. HaL Computer Systems, Inc.]]
[18]
SiberCore Technologies Inc. SiberCAM Ultra-18M SCT1842. Product Brief, 2002.]]
[19]
K. Sklower. A tree-based routing table for Berkeley Unix. Technical report, University of California, Berkeley, 1993.]]
[20]
V. Srinivasan and G. Varghese. Faster IP Lookups using Controlled Prefix Expansion. In SIGMETRICS, 1998.]]
[21]
M. Waldvogel, G. Varghese, J. Turner, and B. Plattner. Scalable high speed IP routing table lookups. In Proceedings of ACM SIGCOMM '97, pages 25--36, September 1997.]]

Cited By

View all
  • (2024)Oasis: An Optimal Disjoint Segmented Learned Range FilterProceedings of the VLDB Endowment10.14778/3659437.365944717:8(1911-1924)Online publication date: 1-Apr-2024
  • (2024)OBMA: Scalable Route Lookups With Fast and Zero-Interrupt UpdatesIEEE/ACM Transactions on Networking10.1109/TNET.2024.344668932:6(4842-4854)Online publication date: Dec-2024
  • (2024)Fast Software IPv6 Lookup With NeurotrieIEEE/ACM Transactions on Networking10.1109/TNET.2024.340459932:5(4040-4055)Online publication date: Oct-2024
  • Show More Cited By

Index Terms

  1. Longest prefix matching using bloom filters

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    SIGCOMM '03: Proceedings of the 2003 conference on Applications, technologies, architectures, and protocols for computer communications
    August 2003
    432 pages
    ISBN:1581137354
    DOI:10.1145/863955
    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]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 25 August 2003

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. IP lookup
    2. forwarding
    3. longest prefix matching

    Qualifiers

    • Article

    Conference

    SIGCOMM03
    Sponsor:

    Acceptance Rates

    SIGCOMM '03 Paper Acceptance Rate 34 of 319 submissions, 11%;
    Overall Acceptance Rate 462 of 3,389 submissions, 14%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)175
    • Downloads (Last 6 weeks)30
    Reflects downloads up to 01 Jan 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Oasis: An Optimal Disjoint Segmented Learned Range FilterProceedings of the VLDB Endowment10.14778/3659437.365944717:8(1911-1924)Online publication date: 1-Apr-2024
    • (2024)OBMA: Scalable Route Lookups With Fast and Zero-Interrupt UpdatesIEEE/ACM Transactions on Networking10.1109/TNET.2024.344668932:6(4842-4854)Online publication date: Dec-2024
    • (2024)Fast Software IPv6 Lookup With NeurotrieIEEE/ACM Transactions on Networking10.1109/TNET.2024.340459932:5(4040-4055)Online publication date: Oct-2024
    • (2024)Longest Prefix Matching Using Longest-First Search in a Leaf-Pushing Trie2024 International Conference on Electronics, Information, and Communication (ICEIC)10.1109/ICEIC61013.2024.10457170(1-4)Online publication date: 28-Jan-2024
    • (2024)Decoding Errors in Difference-Invertible Bloom Filters: Analysis and ResolutionIEEE Access10.1109/ACCESS.2024.337722212(40622-40633)Online publication date: 2024
    • (2024)Enabling space-time efficient range queries with REncoderThe VLDB Journal10.1007/s00778-024-00873-wOnline publication date: 7-Aug-2024
    • (2023)Retention-Aware Read Acceleration Strategy for LDPC-Based NAND Flash MemoryIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems10.1109/TCAD.2023.328932842:12(4597-4605)Online publication date: Dec-2023
    • (2023)Improved IP lookup technology for trie-based data structuresJournal of Computer and System Sciences10.1016/j.jcss.2022.10.003133(41-55)Online publication date: May-2023
    • (2023)An Analysis of the Effectiveness of Cascaded and CAM-Assisted Bloom Filters for Data FilteringIntelligent Systems and Networks10.1007/978-981-99-4725-6_50(409-417)Online publication date: 20-Aug-2023
    • (2023)IP Lookup Technology for Internet ComputingWireless Internet10.1007/978-3-031-27041-3_12(156-175)Online publication date: 18-Feb-2023
    • 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