作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (2): 4-5,9. doi: 10.3969/j.issn.1000-3428.2009.02.002

• 博士论文 • 上一篇    下一篇

BGP路由查表算法的分析与改进

马海龙1, 郭云飞1, 陈乐然2   

  1. (1. 国家数字交换系统工程技术研究中心,郑州 450002;2. 解放军信息工程大学理学院,郑州 450001)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-01-20 发布日期:2009-01-20

Analysis and Improvement of BGP Route Lookup Algorithm

MA Hai-long1, GUO Yun-fei1, CHEN Le-ran2   

  1. (1. National Digital Switching System Engineering & Technological R & D Center, Zhengzhou 450002; 2. Science Institute, PLA Information Engineering University, Zhengzhou 450001)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-01-20 Published:2009-01-20

摘要: Default-Free Zone内的路由器拥有巨大的路由表项,为了方便实现,大多数开发者在实现过程中均采用路径压缩树的数据结构对边界网关协议路由进行存储。计算机仿真分析发现,采用路径压缩树算法会引起路由搜索时间抖动严重、存储空间利用率低,路径压缩树性能受BGP路由前缀的分布特性影响。引入AVL算法解决存在的问题,可以较好地提高路由查表的性能。

关键词: 边界网关协议, 路径压缩树, AVL算法

Abstract: There are vastly routes in Border Gateway Protocol(BGP) router located in the Default-Free Zone. Many developers adopt Path Compressed Tree(PCT) to store the BGP routes. It is found that the performance of PCT algorithm is not so good. The lookup time fluctuates and the store memory is wasted. The performances of PCT are mostly influenced by the character of data source. In order to solve those problems, AVL algorithm is introduced. Comparison results of these two algorithms manifest that the AVL algorithm can improve the lookup performance.

Key words: Border Gateway Protocol(BGP), Path Compressed Tree(PCT), AVL algorithm

中图分类号: