首页 | 本学科首页   官方微博 | 高级检索  
     

一种基于网络处理器的动态带宽分配算法
引用本文:李金库,高磊,王磊,张德运. 一种基于网络处理器的动态带宽分配算法[J]. 西安交通大学学报, 2005, 39(12): 1323-1326
作者姓名:李金库  高磊  王磊  张德运
作者单位:西安交通大学电子与信息工程学院,710049,西安
基金项目:国家高技术研究发展计划项目资助(2003AA148010);西安交通大学Inter “IXA大学计划”合作资助项目.
摘    要:针对基于优先级队列(CBQ)机制中带宽分配算法的不足,以Intel IXP2400 为平台,设计并实现了一种基于网络处理器的动态带宽分配算法.该算法以令牌为介质,采用“生产者-消费者”模式,将每个优先级队列看作是一个独立的实体并为其设置一个令牌桶.令牌发放器作为“生产者”,根据队列的预分配带宽,按照特定的速率将令牌放入令牌桶中,调度器作为“消费者”,从令牌桶中取出令牌.某个优先级队列的令牌如果不够用,允许向其他优先级队列借用令牌,或收回借出的令牌,从而实现带宽的动态分配.在IXP2400微引擎上的实验表明,无论高优先级队列数据包速率高于还是低于传统CBQ带宽分配算法中设置的阈值,所提算法的转发速率均高于传统算法.

关 键 词:动态带宽分配 网络处理器 令牌 优先级队列
文章编号:0253-987X(2005)12-1323-04
收稿时间:2005-03-04
修稿时间:2005-03-04

Dynamic Bandwidth Allocation Algorithm Based on Network Processor
Li Jinku,Gao Lei,Wang Lei,Zhang Deyun. Dynamic Bandwidth Allocation Algorithm Based on Network Processor[J]. Journal of Xi'an Jiaotong University, 2005, 39(12): 1323-1326
Authors:Li Jinku  Gao Lei  Wang Lei  Zhang Deyun
Abstract:To solve the deficiency of bandwidth allocation algorithm in CBQ(class based queue) mechanism,using Intel IXP2400 as platform,a dynamic bandwidth allocation algorithm based on network processor(DBAA-NP) is designed and implemented.It uses the token as a medium,adopts producer-consumer pattern and sets up a token bucket for each class queue.Token dispatcher puts tokens into buckets as "producer" according to the pre-allocated bandwidth;scheduler takes out tokens from buckets as "consumer".If one queue's tokens are not enough,it can borrow some from other queues,or take back the ones it has lent out;this can realize dynamic bandwidth allocation.The algorithm has been implemented on two micro engines of IXP2400,and experiments show that the forwarding rate of DBAA-NP algorithm is higher than the conventional CBQ bandwidth allocation algorithm,whatever the rate of high priority queue packets is higher or lower than the threshold of conventional CBQ algorithms.
Keywords:dynamic bandwidth allocation   networh processor   token   class based queue
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号