CHAPTER 10. QoS
204
© SAMSUNG Electronics Co., Ltd.
Congestion Management on Output Queues
In the iBG2016 system, RED(Random Early Detect) will be used to do
congestion avoidance on output queues. RED is the de facto standard for
congestion management in the internet today. The basic philosophy of RED is
to detect the onset of congestion and start dropping packets in a random
fashion before queue overflow leads to tail drops. Random drops not only
improves throughput of adaptive applications using TCP but is also more
suitable than tail drops for voice and streaming audio/video. Random drops
result in less perceptible degradation of voice/audio/video quality than
consecutive drops.
The intent of RED is detect persistent congestion but allow transient or
momentary bursts. In that sense, it behaves like a low pass filter.
RED therefore uses the ‘average queue’ size and not the ‘current queue size’
to determine congestion. The average queue size is calculated as an EWMA
(Exponential Weighted Moving Average) of the current queue size.
Simply put, the average queue size is a ‘smoothened-out’ version of the
instantaneous queue size.
The average queue size is compared against the ‘minimum threshold’ or
‘minth’ and ‘maximum threshold’ or ‘maxth’. When the average queue size is
less than minth, all packets are queued. When it is between minth and maxth,
packets are dropped based on the calculated drop probability. This drop
probability increases in direct proportion with the average queue size.
When the average queue size equals or exceeds maxth, all packets are dropped.
The intention here is to maintain the average queue size between minth and maxth.
The average queue size is calculated using the formula:
Qaverage = (1 - w) * Qa w * Qcurrent
Where, w is the weighting factor. It is a very small quantity and is configured
as a negative power of 2 for efficiency in calculation.
The drop probability when the average queue size equals ‘maxth’ is known as
the Mark Probability. Mark Probability = 1/MPD, where MPD is the Mark
Probability Denominator. MPD is configured as a power of 2 for efficiency in
Average Queue Size Calculation
Summary of Contents for Ubigate iBG2016
Page 1: ......
Page 16: ...INTRODUCTION XIV SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Page 34: ......
Page 62: ...CHAPTER 4 System Logging 28 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Page 70: ......
Page 108: ......
Page 140: ...CHAPTER 4 RIP 104 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Page 156: ...CHAPTER 6 BGP 120 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Page 180: ...CHAPTER 8 VRRP 144 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Page 264: ...CHAPTER 10 QoS 228 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Page 272: ......
Page 298: ...CHAPTER 3 Firewall NAT 248 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Page 356: ...CHAPTER 5 IPSEC 306 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Page 358: ......
Page 744: ...EQBD 000071 Ed 00 ...