• DocumentCode
    899388
  • Title

    Longest prefix matching using bloom filters

  • Author

    Dharmapurikar, Sarang ; Krishnamurthy, Praveen ; Taylor, David E.

  • Author_Institution
    Dept. of Comput. Sci. & Eng., Washington Univ., St. Louis, MO, USA
  • Volume
    14
  • Issue
    2
  • fYear
    2006
  • fDate
    4/1/2006 12:00:00 AM
  • Firstpage
    397
  • Lastpage
    409
  • 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 2 Mb 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.
  • Keywords
    IP networks; information filters; table lookup; telecommunication network routing; Bloom filters; IP routing; IPv6; Internet protocol routing lookups; longest prefix matching; parallel queries; Access protocols; Data structures; Information filtering; Information filters; Internet; Matched filters; Probes; Routing protocols; Scalability; Search engines; Bloom filter; IP lookup; Longest Prefix Matching; computer networking;
  • fLanguage
    English
  • Journal_Title
    Networking, IEEE/ACM Transactions on
  • Publisher
    ieee
  • ISSN
    1063-6692
  • Type

    jour

  • DOI
    10.1109/TNET.2006.872576
  • Filename
    1621116