免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1545 | 回复: 0
打印 上一主题 下一主题

FIFO, Round-Robin Queue, Weighted RR, Fair Queue [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-03-12 21:30 |只看该作者 |倒序浏览
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.

               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/42903/showart_494823.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP