- Weighted fair queuing
Weighted fair queuing (WFQ) is a
data packet scheduling technique allowing different scheduling priorities to statistically multiplexed data flows.WFQ is a generalization of
fair queuing (FQ). Both in WFQ and FQ, each data flow has a separateFIFO queue. In FQ, with a link data rate of , at any given time the active data flows (the ones with non-empty queues) are serviced simultaneously, each at an average data rate of . Since each data flow has its own queue, an ill-behaved flow (who has sent larger packets or more packets per second than the others since it became active) will only punish itself and not other sessions.Contrary to FQ, WFQ allows different sessions to have different service shares. If data flows currently are active, with weights data flow number will achieve an average data rate of
It can be proved [cite journal |title=Latency-rate servers: a general model for analysis of traffic scheduling algorithms | author=Stiliadis, D. and Varma, A. |journal=IEEE/ACM Transactions on Networking (TON) | volume=6 | issue=5 | pages=611–624 | date=1998 | publisher=IEEE Press Piscataway, NJ, USA] that when using a network with WFQ switches and a data flow that is
leaky bucket constrained, an end-to-end delay bound can be guaranteed. By regulating the WFQ weights dynamically, WFQ can be utilized for controlling thequality of service , for example to achieve guaranteed data rate.Proportional fairness can be achieved by setting the weights to , where is the cost per data bit of data flow . For example inCDMA spread spectrum cellular networks, the cost may be the required energy (the interference level), and in dynamic channel allocation systems, the cost may be the number of nearby base station sites that can not use the same frequency channel, in view to avoid co-channel interference.References
See also
*
Statistical multiplexing
* Computingscheduling disciplines
*Scheduling algorithm
*Deficit round robin
*Weighted round robin
*Fair Queuing
*Max-min fairness
*Proportional fairness
Wikimedia Foundation. 2010.