CHAPTER 10. QoS
202
© SAMSUNG Electronics Co., Ltd.
To start off with, we allocate(10 * BCR) bytes of buffering for the entire
interface. This provides a decent amount of burst tolerance of(9 * Ts = 45) ms.
the allocation in terms of buffers would be(10 * BCR / average_packet_size),
where average_packet_size = 100 bytes. Since the sum(bcr) of all classes
makes up the BCR of the interface, each class will have an average of(10 * bcr
/average_packet_size) buffers.
A class needs at least bcr bytes of buffering to support the CR and bbr bytes to
support BR. We reserve(6 * bcr) bytes or(6 * bcr / average_packet_size)
buffers, so that the class can not only support its CR but also has quite a few
extra buffers that can provide burst tolerance or, support excess bandwidth up
to 6 times the CR. However, we limit the amount of reserved buffers for a
class to(2 * bbr / average_packet_size), because this amount is not only
enough to support the BR but also provides a 100% burst tolerance at Burst
Rate. If a class is configured with a very low CR, it is possible that(6 * bcr
/average_packet_size) results in a very low value, for example, 2 buffers.
To handle this, we always a reserve a minimum of QOS_MIN_RES_
CLASS_Q_SIZE(which is 5 in the current code version) buffers.
The expression below summarizes the above logic for calculating the number
of reserved buffers for a traffic class.
buffers1 = (2 * bbr) / average_packet_size; /* 2*bbr */
buffers2 = (4 * bcr) / average_packet_size; /* 4*bcr */
buffers3 = (6 * bcr) / average_packet_size; /* 6*bcr */
reserved_buffers_for_class = MAX(MIN(buffers3, MAX(buffers1, buffers2)),
QOS_MIN_RES_CLASS_Q_SIZE);
Where, QOS_MIN_RES_CLASS_Q_SIZE is 5.
As explained above, a maximum of(6 * BCR / average_packet_size) buffers
will be used up, in total, for the reserved buffer pools of all the classes on the
interface. The remaining amount of(4 * BCR / average_packet_size) is used to
create the shared buffer pool. On the other hand the minimum guaranteed
number of reserved buffers is not less than(4 * BCR) for all classes on the
interface. The remaining amount of(6 * BCR / average_packet_size) is used to
create the shared buffer pool.
Содержание 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 ...