Weighted fair queuing

from Wikipedia, the free encyclopedia

Weighted fair queuing ( German  weighted fair queuing , WFQ) is an algorithm for a network scheduler and a variant of fair queuing .

As with fair queuing, the primary goal of weighted fair queuing is fair treatment of the sources of the transmission component. Since some sources have a higher priority than others or some data flows require a higher bandwidth than others, WFQ also takes the priority of sources or flows into account during the queuing process and thus combines the characteristics of priority queuing and fair queuing.

realization

A weighting is assigned to each data flow. The queues are queried in a round robin fashion.

Bandwidth

The weighting of a data flow determines the number of bytes that are taken from the queue and sent per tick in the round robin procedure.

Bandwidth for flow i

Weighting of flow i

Number of rivers

Total bandwidth of the line

In words:

Bandwidth for flow i = ((weighting of flow i) / (total weight of all flows)) * (total bandwidth of the line).

See also