• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2007, Vol. 29 ›› Issue (8): 25-29.

• 论文 • 上一篇    下一篇

基于路由器的随机早期检测算法的分析与优化

王鑫   

  • 出版日期:2007-08-01 发布日期:2010-06-02

  • Online:2007-08-01 Published:2010-06-02

摘要:

因特网的迅速发展使网络拥塞问题目益得到人们的重视,近年来提出了许多基于路由器的拥塞控制机制。本文详细分析了基于路由器的随机早期检测(RED)拥塞控制机制的设计思想、实现原理和优缺点。针对RED算法存在的缺陷提出了一种新的改进算法——SQRED算法,即当平均队列长度在最小和最大闲值之间时,使丢包概率采用一种平滑的增
长机制来代替线性增长。通过在Linux中使用NS-2设计网络仿真实验,对RED和SQ-RED算法的性能和实现进行了对比。仿真结果表明,SQ-RED算法能够获得更好的网络性能。

关键词: 拥塞控制机制 路由器 随机早期检测 NS-2

Abstract:

With the rapid growth of the Internet, much attention has been drawn to congestion control problems. Many network congestion control mechanisms which   are used in routers have been proposed in recent years. The thesis first analyses the design principle and algorithm implementation of the random early  detection (RED) congestion control mechanism which is used in routers,points out the weaknesses of RED and proposes an improved algorithm SQ-RED. When  n the average queue length is between the min-threshold and the max-threshold, the drop probability rises with a slow speed instead of with a linear rat  e. Then the performance and implementation of the two algorithms are compared by using Network Simula- tion Version 2 under the Red Hat Linux 9.0. The s  imulation results show that the SQ-RED algorithm can achieve better network performance than the RED algorithm.

Key words: congestion control mechanism, router, random early detection, NS-2