Ubigate iBG2016 Configuration Guide/Ed.00
© SAMSUNG Electronics Co., Ltd.
195
For understanding of CBQ operation, let us first consider all classes to be of
equal priority. The scheduler runs every 5 msec to service the queues on each
interface.(Each leaf class is associated with a queue). In every scheduling
interval, the scheduler makes two passes on the classes of each interface.
In the first pass, it transmits bcr bytes from each class in the scheduler list,
where bcr of a class is the number of bytes it can send in one scheduling
interval(5 ms) proportional to its CR. If the packet to be sent is greater than
bcr bytes, it is not sent and the class is given a credit of bcr bytes which it can
use the next time it is serviced.(In other words, the class has a deficit of bcr
bytes). Later, when the( bcr) for the class equals or exceeds the size of
the packet(at the queue head), it is transmitted.
Packets are transmitted from a queue as long as the(bytes sent + current packet
size) does not exceed( bcr). When no more packets can be sent, the
credit is updated to( bcr - bytes sent). During the first pass, if a class
has more packets to send even after using bcr bytes, and its BR > CR, the class
is added to the tail of the ‘xs-bw-list’. Therefore, the ‘xs-bw-list’ consists of
classes that need to send bytes in excess of the amount permitted by their CR
and are permitted to do so by their BR. Let us define Bc as the total number of
bytes that can be sent on an interface in one scheduling interval(5 ms)
proportional to its bandwidth. If the total number of bytes sent or credited in
the first pass is less than Bc, it means additional bytes can still be transmitted.
This excess bandwidth can be given to the classes that still have packets to
send and whose BR > CR. For this, a second pass is done, through a ‘xs-bw-
list’. In the second pass, the excess bytes are first offered to the first class in
this list, then to the second class if some are still available and so on until the
excess bytes are exhausted or all classes in the ‘xs-bw-list’ have been satisfied.
The excess bytes available to a class cannot exceed(bbr - bcr), where bbr is the
maximum bytes that a class can send in a scheduling interval(5 ms)
proportional to its BR. Again, packets from a queue can be sent only as long
as(excess bytes sent + current packet size) does not exceed(excess bytes
ava credit). When packets can no longer be sent, any deficit equal
to(excess bytes ava credit - excess bytes sent) is credited to the class.
If all packets from the queue could be transmitted, the credit is set to 0.
The remaining excess bytes(Total excess bytes available - excess bytes offered
to this class) are then offered to subsequent classes in the ‘xs-bw-list’.
To sum up, the scheduler makes two passes for each interface every
scheduling interval. In the first pass, enough bytes are sent from each class to
guarantee its CR and a second pass is done to distribute any excess bandwidth
available.
Содержание Ubigate iBG2016
Страница 1: ......
Страница 16: ...INTRODUCTION XIV SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 34: ......
Страница 42: ...CHAPTER 1 Basic Configuration 8 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 62: ...CHAPTER 4 System Logging 28 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 70: ......
Страница 108: ......
Страница 126: ...CHAPTER 1 Layer 2 Switching 90 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 140: ...CHAPTER 4 RIP 104 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 156: ...CHAPTER 6 BGP 120 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 176: ...CHAPTER 7 MultiCast Protocols 140 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 180: ...CHAPTER 8 VRRP 144 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 264: ...CHAPTER 10 QoS 228 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 270: ...CHAPTER 11 VLAN forwarding with QoS 234 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 272: ......
Страница 278: ...CHAPTER 1 Authentication Authorization Accounting 228 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 298: ...CHAPTER 3 Firewall NAT 248 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 356: ...CHAPTER 5 IPSEC 306 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 358: ......
Страница 390: ...CHAPTER 2 VoIP Gateway Management 336 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 514: ...CHAPTER 4 H 323 Gateway Management 460 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 670: ...CHAPTER 8 Routing and Digit Manipulation 616 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 744: ...EQBD 000071 Ed 00 ...