Fast address lookups using controlled prefix expansion

被引:251
|
作者
Srinivasan, V [1 ]
Varghese, G [1 ]
机构
[1] Washington Univ, Dept Comp Sci, Comp & Commun Res Ctr, St Louis, MO 63130 USA
来源
ACM TRANSACTIONS ON COMPUTER SYSTEMS | 1999年 / 17卷 / 01期
关键词
Binary Search on Levels; controlled prefix expansion; expanded tries; Internet address lookup; longest-prefix match; multibit tries; router performance;
D O I
10.1145/296502.296503
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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 lockups and updates can be made faster using a set of transformation techniques. Our main technique, controlled prefix expansion, transforms a set of prefixes into an equivalent set with fewer prefix lengths, In addition, we use optimization techniques based on dynamic programming, and local transformations of data structures to improve cache behavior. When applied to trie search, our techniques provide a range of algorithms (Expanded Tries) whose performance can be tuned. For example, using a processor with 1MB of L2 cache, search of the MaeEast database containing 38000 prefixes can be done in 3 L2 cache accesses. On a 300MHz Pentium II which takes 4 cycles for accessing the first word of the L2 cacheline, this algorithm has a worst-case search time of 180 nsec., a worst-case insert/delete time of 2.5 msec., and an average insert/delete time of 4 usec. Expanded tries provide faster search and faster insert/delete times than earlier lookup algorithms. When applied to Binary Search on Levels, our techniques improve worst-case search times by nearly a factor of 2 (using twice as much storage) for the MaeEast database. Our approach to algorithm design is based on measurements using the VTune tool on a Pentium to obtain dynamic clock cycle counts. Our techniques also apply to similar address lookup problems in other network protocols.
引用
收藏
页码:1 / 40
页数:40
相关论文
共 50 条
  • [1] Update-aware Controlled Prefix Expansion for Fast IP Lookups
    Chang, Yeim-Kuan
    Lin, Yung-Chieh
    Ho, Kuan-Ying
    [J]. HPSR: 2009 INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE SWITCHING AND ROUTING, 2009, : 166 - 171
  • [2] Parallelisation of trie-based longest prefix matching for fast IP address lookups
    Park, J
    Jang, IY
    [J]. ELECTRONICS LETTERS, 2002, 38 (25) : 1757 - 1759
  • [3] PBC: Effective Prefix Caching for Fast Name Lookups
    Zhang, Chuwen
    Feng, Yong
    Song, Haoyu
    Zhang, Beichuan
    Wang, Yi
    Wan, Ying
    Xu, Wenquan
    Liu, Bin
    [J]. 2020 IFIP NETWORKING CONFERENCE AND WORKSHOPS (NETWORKING), 2020, : 440 - 448
  • [4] Novel hardware architecture for fast address lookups
    Mehrotra, P
    Franzon, PD
    [J]. HPSR 2002: WORKSHOP ON HIGH PERFORMANCE SWITCHING AND ROUTING, PROCEEDINGS: MERGING OPTICAL AND IP TECHNOLOGIES, 2002, : 105 - 110
  • [5] Novel hardware architecture for fast address lookups
    Mehrotra, P
    Franzon, PD
    [J]. IEEE COMMUNICATIONS MAGAZINE, 2002, 40 (11) : 66 - 71
  • [6] A scalable and small forwarding table for fast IP address lookups
    Jean, S
    Chung, SH
    Cho, JW
    Yoon, H
    [J]. 2001 INTERNATIONAL CONFERENCE ON COMPUTER NETWORKS AND MOBILE COMPUTING, PROCEEDINGS, 2001, : 413 - 418
  • [7] LayeredTrees: Most Specific Prefix-Based Pipelined Design for On-Chip IP Address Lookups
    Chang, Yeim-Kuan
    Kuo, Fang-Chen
    Kuo, Han-Jhen
    Su, Cheng-Chien
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 2014, 63 (12) : 3039 - 3052
  • [8] Greedy Prefix Cache for IP Routing Lookups
    Huang, Zhuo
    Liu, Gang
    Peir, Jih-Kwon
    [J]. 2009 10TH INTERNATIONAL SYMPOSIUM ON PERVASIVE SYSTEMS, ALGORITHMS, AND NETWORKS (ISPAN 2009), 2009, : 92 - 97
  • [9] On the design of fast prefix-preserving IP address anonymization scheme
    Zhang, Qianli
    Wang, Jilong
    Li, Xing
    [J]. INFORMATION AND COMMUNICATIONS SECURITY, PROCEEDINGS, 2007, 4681 : 177 - 188
  • [10] Bounded prefix expansion and compression in support of fast TCAM updating
    Wang, Gesan
    Tzeng, Nian-Feng
    [J]. 2007 FOURTH INTERNATIONAL CONFERENCE ON BROADBAND COMMUNICATIONS, NETWORKS & SYSTEMS, VOLS 1 AND 2, 2007, : 854 - +