电子文档交易市场
安卓APP | ios版本
电子文档交易市场
安卓APP | ios版本
换一换
首页 金锄头文库 > 资源分类 > PDF文档下载
分享到微信 分享到微博 分享到QQ空间

一种基于重叠位图的路由查找算法

  • 资源ID:45727364       资源大小:1.05MB        全文页数:14页
  • 资源格式: PDF        下载积分:10金贝
快捷下载 游客一键下载
账号登录下载
微信登录下载
三方登录下载: 微信开放平台登录   支付宝登录   QQ登录  
二维码
微信扫一扫登录
下载资源需要10金贝
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
如填写123,账号就是123,密码也是123。
支付方式: 支付宝    微信支付   
验证码:   换一换

 
账号:
密码:
验证码:   换一换
  忘记密码?
    
1、金锄头文库是“C2C”交易模式,即卖家上传的文档直接由买家下载,本站只是中间服务平台,本站所有文档下载所得的收益全部归上传人(卖家)所有,作为网络服务商,若您的权利被侵害请及时联系右侧客服;
2、如你看到网页展示的文档有jinchutou.com水印,是因预览和防盗链等技术需要对部份页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有jinchutou.com水印标识,下载后原文更清晰;
3、所有的PPT和DOC文档都被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;下载前须认真查看,确认无误后再购买;
4、文档大部份都是可以预览的,金锄头文库作为内容存储提供商,无法对各卖家所售文档的真实性、完整性、准确性以及专业性等问题提供审核和保证,请慎重购买;
5、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据;
6、如果您还有什么不清楚的或需要我们协助,可以点击右侧栏的客服。
下载须知 | 常见问题汇总

一种基于重叠位图的路由查找算法

计 算 机 学 报 2017 年在线发布 CHINESE JOURNAL OF COMPUTERS 2017 Online 本课题得到国家自然科学基金(61432009, 61373143, 61602271)、博士后面上基金(016M591182)、教育部博士学科点专项科研基金(0130002110084)资助. 刘斌, 男, 1964年生, 博士, 教授, 中国计算机学会(CCF)专业会员(22229M), 主要研究领域为高性能交换机/路由器、网络处理器、命名数据网络、软件定义网络等. E-mail: liubmail.tsinghua.edu.cn. 张楚文(通讯作者), 男, 1992年生, 博士研究生, 主要研究领域为高性能交换机/路由器、命名数据网络、车联网等. E-mail: chuwen1992gmail.com. 一种基于重叠位图的路由查找算法 刘斌 张楚文 (清华大学计算机系, 北京 100084) 摘 要 路由查找是路由器的核心功能之一,可分为基于硬件和基于软件的查找算法两大类。前者使用专用的可并行硬件实现高速的查找性能,比如 FPGA 算法、GPU 算法和 TCAM 算法。后者可以部署在通用 CPU 上,具有更高的灵活性、更低的功耗和成本优势,并且可以利用 CPU 的 Cache 实现快速查找。因此,基于软件的路由查找算法已成为软件定义网络和网络功能虚拟化中的关键技术之一。尽管软件查找算法具有很大的优势,它也面临着许多新的挑战。首先,当今骨干网路由器的路由表项数目已达到 600K,并且每年保持大约 15%的增长率,给路由查找和存储带来了巨大压力。同时,路由表更新速度也逐年稳定增长,并且峰值更新速率已超过 10K 更新/秒,这就要求路由查找算法具有高速的更新性能。基础的树结构软件查找算法能够支持快速更新,但是过多的访存次数导致查找速度较低,而且其存储开销已经超过 16MB,远远高于一般路由器中 CPU 的 Cache 大小,进一步影响了查找速度。以 Lulea 算法为代表的传统的位图压缩方法虽然降低了数据结构的存储开销,但是会导致更新困难,复杂而低效的更新操作也会在一定程度上影响查找性能。本文提出了一种基于重叠位图压缩的软件路由查找算法,它通过层次遍历构造重叠式位图结构,比具有高压缩率的 Lulea 算法占用的更小的存储空间(提高Cache 的命中率,从而进一步提高查找速度) 。而且,本算法使用位图分割和多种更新优化技术实现快速的增量更新。实验结果表明本算法能够把包含 600K 条前缀的路由表压缩到 2.3MB, 平均比 Lulea 算法减少 26%的存储空间, 只有树结构的 1/8左右。而且本算法具有良好的拓展性,从 2008 年的 5.06 字节/前缀降低到 2016 年的 3.94 字节/前缀。实际流量下,本算法平均查找速度达到111.41M查找/秒, 是Lulea算法查找速度的2.5倍。 同时, 在保证10100K更新/秒的前提下, 实现90M100M查找/秒的查找速度。 关键词 路由查找;位图压缩;增量更新;层次遍历;重叠位图 中图法分类号 TN915 An Overlay Bitmap-based Routing Lookup Scheme LIU Bin ZHANG Chu-Wen (Department of Computer Science, Tsinghua University, Beijing 100084) Abstract Routing lookup is one of the key functions of network routers, which can be divided into hardware-based and software-based algorithm. The former, such as FPGA-based, TCAM-based and GPU-based algorithms, uses dedicated and parallelizable hardware to achieve high lookup speed. The latter, which can be deployed on a commodity CPU, is more flexible, more energy-saving and cheaper, and the lookup performance can also be improved by exploiting the CPU cache. Therefore, it has become one of the key technologies in SDN (software defined network) and NFV (network functional virtualization). While software-based routing lookup algorithm is attractive, it faces some new challenges. Nowadays, Backbone route tables maintain an annual growth rate of around 15% and the number of route table prefixes has reached up to 600K. The drastic expansion of the route table brings enormous pressure on lookup speed and storage space. Meanwhile, the update rate grows steadily and reaches a peak update rate at10K updates per second, which requires the advent of algorithms with high-speed update performance. The binary trie is the basic software-based routing lookup algorithm. Although it 计算机学报2 计 算 机 学 报 2017 can support fast updates, its lookup speed is slow because of too many times of memory access. And its storage space has exceeded 16 MB to store a route table of 600K prefixes, much higher than the CPU cache size in the line-card of a general router, which will decrease the slow lookup speed further. The traditional bitmap-based routing lookup schemes represented by Lulea algorithm can compress storage redundancy and build small data structure to fit into caches. However, they usually aggravate the incremental update and cannot meet the requirement of update speed in real networks. Their inefficient update will also interrupt the normal lookup and thus decrease the lookup throughput. In this paper, we propose an overlay bitmap-based software routing lookup scheme. It constructs overlay bitmap structures through hierarchical traversal, which can eliminate the horizontal redundancy in traditional bitmap and achieve even smaller storage than the high compressed bitmap-based scheme Lulea (increasing the cache hit rate and thus boosting lookup speed further). In addition, it performs fast incremental update using bitmap segmentation and a variety of update optimization techniques. Experimental results show that our scheme can compress a route table of 600K prefixes to a 2.3 MB data structure, reducing 26% storage space than Lulea algorithm on average, which is only about 1/8 of the binary trie. Besides, the storage space of our scheme is more scalable, decreasing from 5.06 bytes per prefix in 2008 to 3.94 bytes per prefix in 2016. Under the real network traffic, its average lookup speed can reach up to 111.41 MSPS (million searches per second), about 2.5 times as fast as that of Lulea algorithm, benefiting from the smaller memory footprint and higher cache hit rate. Tests on update performance show that it can sustain up to 1.82 million updates per second. And it can achieve a fast lookup up to 90100 MSPS with the ability to handle 10100K updates per second at the same time. Key words routing lookup; bitmap compression; incremental update; level traversal; overlay bitmap 1 引言 路由查找是路由器根据路由表为网络流量选 择路径的过程。路由查找算法的功能包括将路由表 存储为高效的数据结构,并实现查找和更新。路由 查找算法的性能在很大程度上决定了路由器的性 能,故其研究意义重大。 路由查找算法可以分为基于硬件的查找算法 和基于软件的查找算法两大类。

注意事项

本文(一种基于重叠位图的路由查找算法)为本站会员(ldj****22)主动上传,金锄头文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即阅读金锄头文库的“版权提示”【网址:https://www.jinchutou.com/h-59.html】,按提示上传提交保证函及证明材料,经审查核实后我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




关于金锄头网 - 版权申诉 - 免责声明 - 诚邀英才 - 联系我们
手机版 | 川公网安备 51140202000112号 | 经营许可证(蜀ICP备13022795号)
©2008-2016 by Sichuan Goldhoe Inc. All Rights Reserved.