Longest prefix matching using bloom filters

被引:141
|
作者
Dharmapurikar, S [1 ]
Krishnamurthy, P [1 ]
Taylor, DE [1 ]
机构
[1] Washington Univ, Dept Comp Sci & Engn, St Louis, MO 63130 USA
关键词
Bloom filter; computer networking; IP lookup; longest prefix matching;
D O I
10.1109/TNET.2006.872576
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:397 / 409
页数:13
相关论文
共 50 条
  • [1] Longest prefix matching using bloom filters
    Dharmapurikar, S
    Krishnamurthy, P
    Taylor, DE
    ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2003, 33 (04) : 201 - 212
  • [2] On Adding Bloom Filters to Longest Prefix Matching Algorithms
    Lim, Hyesook
    Lim, Kyuhee
    Lee, Nara
    Park, Kyong-Hye
    IEEE TRANSACTIONS ON COMPUTERS, 2014, 63 (02) : 411 - 423
  • [3] An Enhanced Bloom Filter for Longest Prefix Matching
    Park, Gahyun
    Kwon, Minseok
    2013 IEEE/ACM 21ST INTERNATIONAL SYMPOSIUM ON QUALITY OF SERVICE (IWQOS), 2013, : 157 - 162
  • [4] A Time Efficient Algorithm Based on Bloom Filters for Longest Prefix Matching in IP Lookups
    Yu, Ming
    Wang, Dongju
    JOURNAL OF COMPUTERS, 2013, 8 (10) : 2724 - 2729
  • [5] Longest Prefix Matching with Pruning
    Liu, Lingtong
    Hu, Jun
    Yan, Yibo
    Gao, Siang
    Yang, Tong
    Li, Xiaoming
    2019 IEEE 20TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE SWITCHING AND ROUTING (IEEE HPSR), 2019,
  • [6] A Longest Prefix Matching Method using Rectangular-Tree
    Bahrami, Fatemeh
    Ahmadi, Mahmood
    Bahrambeigy, Bahram
    2015 5TH INTERNATIONAL CONFERENCE ON COMPUTER AND KNOWLEDGE ENGINEERING (ICCKE), 2015, : 212 - 217
  • [7] CompactDFA: Scalable Pattern Matching Using Longest Prefix Match Solutions
    Bremler-Barr, Anat
    Hay, David
    Koral, Yaron
    IEEE-ACM TRANSACTIONS ON NETWORKING, 2014, 22 (02) : 415 - 428
  • [8] Multi-packet signature detection using prefix bloom filters
    Artan, NS
    Chao, HJ
    GLOBECOM '05: IEEE GLOBAL TELECOMMUNICATIONS CONFERENCE, VOLS 1-6: DISCOVERY PAST AND FUTURE, 2005, : 1811 - 1816
  • [9] Route Prefix Caching Using Bloom Filters in Named Data Networking
    Kim, Junghwan
    Ko, Myeong-Cheol
    Kim, Jinsoo
    Shin, Moon Sun
    APPLIED SCIENCES-BASEL, 2020, 10 (07):
  • [10] Clustering IP addresses using longest prefix matching and nearest neighbor algorithms
    Karim, A
    Jami, SI
    Ahmad, I
    Sarwar, M
    Uzmi, Z
    PRICAI 2004: TRENDS IN ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 2004, 3157 : 965 - 966