Chinaunix首页 | 论坛 | 博客
  • 博客访问: 246473
  • 博文数量: 8
  • 博客积分: 3010
  • 博客等级: 中校
  • 技术积分: 725
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-03 23:15
文章分类

全部博文(8)

文章存档

2008年(8)

我的朋友

分类: 系统运维

2008-03-12 21:30:36

FIFO

One potential problem of FIFO is that the small packets must wait in line for the larger packets to get dispatched.

The smallest packet is actually ready to leave before the largest packet is finished arriving. However, because the largest packet started to arrive at the interface first, it gets to leave the interface first. This actually causes gaps between data on the wire, which decreases efficiency.



Round-Robin Queue

No prioritization in RR queuing. Scheduler will cycle through all queues in a round-robin fashion, usually from top to bottom. Each queue will get an opportunity to send out a packet.

Weighted Round-Robin Queue

In WRR, packets are accessed round-robin style, but queues can be given priorities called “weights.”

Some implementations of the WRR algorithm provide prioritization by dispatching a configurable number of bytes each round rather than a number of packets. The Cisco custom queuing (CQ) mechanism is an example of this implementation.

Bear in mind, it services the queues by cycling through them in round-robin fashion, sending the portion of allocated bandwidth for each queue before moving to the next queue. If one queue is empty, the router will send packets from the next queue that has packets ready to send.

Fair Queue

Fair Queuing is a methodology that allows packets that are ready to be transmitted to leave, even if they started to arrive after another packet. (This overcomes the shortage of FIFO.) Note that FQ is not an option in Cisco routers, but understanding FQ will help you to understand WFQ.



阅读(2741) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:LAN Switching - Ethernet Basics

给主人留下些什么吧!~~