220
C
HAPTER
27: Q
O
S C
ONFIGURATION
The disadvantage of SP queue is that: if there are packets in the queues with higher
priority for a long time in congestion, the packets in the queues with lower priority
will be “starved to death” because they are not served.
2
WRR queue
Figure 70
Diagram for WRR
3
WRR queue-scheduling algorithm schedules all the queues in turn and every queue
can be assured of a certain service time. Assume there are 8 priority queues on the
port. WRR configures a weight value for each queue, which are w7, w6, w5, w4, w3,
w2, w1, and w0. The weight value indicates the proportion of obtaining resources.
On a 100M port, configure the weight value of WRR queue-scheduling algorithm to
50, 50, 30, 30, 10, 10, 10 and 10 (corresponding to w7, w6, w5, w4, w3, w2, w1,
and w0 in order). In this way, the queue with the lowest priority can get 5Mbps
bandwidth at least, and the disadvantage of SP queue-scheduling that the packets in
queues with lower priority may not get service for a long time is avoided. Another
advantage of WRR queue is that: though the queues are scheduled in order, the
service time for each queue is not fixed, that is to say, if a queue is empty, the next
queue will be scheduled. In this way, the bandwidth resources are made full use of.
SDWRR queue
Comparing with WRR queue, SDWRR queue further optimizes the delay and variation
for different queues.
For example, configure the weight value of queue0 and queue1 to 5 and 3
respectively. The processing procedures of WRR and SDWRR are as follows:
■
WRR: The packets whose weight value is 3 in queue1 are scheduled only after the
packets whose weight value is 5 in the queue0 are scheduled. If there is a wide
difference between the weight values of two queues, the queue with high weight
value will cause great delay and variation for the queue with low weight value.
■
SDWRR: Two queues are scheduled in turn. Packets whose weight value is 1 in
queue0 are scheduled first, and then packets whose weight value is 1 in queue1
are scheduled. The procedure is repeated until the scheduling for one queue is
over, and then SDWRR will schedule packets with the left weight values in the
other queue. The detailed scheduling sequence is described in Table 187.
Packets sent via this interface
queue1 weight1
queue2 weight2
Classify
Packets sent
queueN-1 weightN
-1
queueN weightN
Sending queue
……
Dequeue
Packets sent via this interface
queue1 weight1
queue2 weight2
Classify
Packets sent
queueN-1 weightN
-1
queueN weightN
Sending queue
……
Dequeue
Summary of Contents for 3CR17660-91
Page 10: ...8 CONTENTS ...
Page 14: ...4 ABOUT THIS GUIDE ...
Page 46: ...32 CHAPTER 5 LOGGING IN THROUGH WEB BASED NETWORK MANAGEMENT SYSTEM ...
Page 48: ...34 CHAPTER 6 LOGGING IN THROUGH NMS ...
Page 60: ...46 CHAPTER 9 VLAN CONFIGURATION ...
Page 64: ...50 CHAPTER 10 MANAGEMENT VLAN CONFIGURATION ...
Page 80: ...66 CHAPTER 13 GVRP CONFIGURATION ...
Page 98: ...84 CHAPTER 15 LINK AGGREGATION CONFIGURATION ...
Page 112: ...98 CHAPTER 18 MAC ADDRESS TABLE MANAGEMENT ...
Page 126: ...112 CHAPTER 19 LOGGING IN THROUGH TELNET ...
Page 162: ...148 CHAPTER 20 MSTP CONFIGURATION ...
Page 274: ...260 CHAPTER 29 IGMP SNOOPING CONFIGURATION ...
Page 276: ...262 CHAPTER 30 ROUTING PORT JOIN TO MULTICAST GROUP CONFIGURATION ...
Page 298: ...284 CHAPTER 33 SNMP CONFIGURATION ...
Page 304: ...290 CHAPTER 34 RMON CONFIGURATION ...
Page 338: ...324 CHAPTER 36 SSH TERMINAL SERVICES ...
Page 356: ...342 CHAPTER 38 FTP AND TFTP CONFIGURATION ...
Page 365: ...Information Center Configuration Example 351 S4200G terminal logging ...
Page 366: ...352 CHAPTER 39 INFORMATION CENTER ...
Page 378: ...364 CHAPTER 40 BOOTROM AND HOST SOFTWARE LOADING ...
Page 384: ...370 CHAPTER 41 Basic System Configuration and Debugging ...
Page 388: ...374 CHAPTER 43 NETWORK CONNECTIVITY TEST ...
Page 406: ...392 CHAPTER 45 CONFIGURATION OF NEWLY ADDED CLUSTER FUNCTIONS ...