Weighted Round Robin

Weighted round robin (WRR) is a best-effort connection scheduling discipline. It is the simpliest emulation of generalized processor sharing (GPS) discipline. While GPS serves infinitesimal amount of data from each nonempty connection, WRR serves a number of packets for each nonempty connection (number = normalized(weight / mean packet size) ). To obtain normalized set of weights a mean packet size must be known. Only then WRR correctly emulates GPS. It is the best to know this parameter in advance. But that's really uncommon in IP networks so it has to be estimated which may be in practice quite hard (in terms of good GPS approximation). Another problem with WRR is that in a scale of one round WRR doesn't provide fair link sharing. WRR mechanism (pseudo-code):
 //calculate number of packets to be served each round by connections  for (each connection) 
    connectioni.normalized_weight = connectioni.weight / connectioni.mean_packet_size; 
min = findSmallestNormalizedWeight(); for (each connection)
    connectioni.packets_to_be_served = connectioni.normalized_weight / min; 
// main loop while (true) {
    for (each non-empty connection)       for (j=0; j< min(connectioni.packets_to_be_served, connectioni.packets_waiting); j++)          servePacket (connectioni.getPacket()); 
}
There's a modified version of WRR called deficit round robin (DRR) which is able to properly handle packets of different size without knowing their mean size of each connection in advance. There are more effective scheduling disciplines which handles both of these problems mentioned above (e.g. weighted fair queuing (WFQ)).

See also

 

<< PreviousWord BrowserNext >>
waccamaw river
john beatty
the trip
minquiers and ecrhous
kidnapped
gex
bouncy techno
vendor lock out
parity transformation
enchanted rock
afm
audience
york st john college
rudolf von ribbentrop
edward macdowell
antisymmetric tensor
high north alliance
john beatty (illustrator)
pagan kennedy
list of current monarchs by country
eatonia
walking stick
nanocompetition
matrix model
little ben
maakies
thomas bee
counter melody
winslow hall
serca
blastitude
bridal veil falls (niagara falls)
wrestlemania 2000
eugene lee hamilton
loie fuller
ruth st. denis
scott speicher
alexander island
dwayne schintzius
ted shawn
summerslam
charles weidman
william bingham
silhara dynasty