Fast address lookups using controlled prefix expansion

Author:

Srinivasan V.1,Varghese G.1

Affiliation:

1. Washington Univ., St. Louis, MO

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 and updates can be made faster using a set of 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 algirthms. 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.

Publisher

Association for Computing Machinery (ACM)

Subject

General Computer Science

Reference32 articles.

1. Trading packet headers for packet processing

2. CORMEN T. H. LEISERSON C. E. AND RIVEST R. L. 1990. Introduction to Algorithms. MIT Press Cambridge MA.]] CORMEN T. H. LEISERSON C. E. AND RIVEST R. L. 1990. Introduction to Algorithms. MIT Press Cambridge MA.]]

3. DEERING S. AND HINDEN R. 1995. Internet protocol version 6 (IPv6) specification. RFC 1883. Internic.]] DEERING S. AND HINDEN R. 1995. Internet protocol version 6 (IPv6) specification. RFC 1883. Internic.]]

Cited by 187 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. MaP: Increasing node capacity of programmable cloud gateways;Computer Networks;2024-09

2. TAR: Traffic Adaptive IPv6 Routing Lookup Scheme;Proceedings of the 8th Asia-Pacific Workshop on Networking;2024-08-03

3. Heuristic Binary Search: Adaptive and Fast IPv6 Route Lookup with Incremental Updates;Proceedings of the 7th Asia-Pacific Workshop on Networking;2023-06-29

4. Improved IP lookup technology for trie-based data structures;Journal of Computer and System Sciences;2023-05

5. Go-to-Controller is Better: Efficient and Optimal LPM Caching with Splicing;Proceedings of the ACM on Measurement and Analysis of Computing Systems;2023-02-27

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3