Operation Manual – QoS-QoS Profile
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 1
QoS Configuration
1-10
2) WFQ queueing
Packets sent via this interf ace
queue1 weight1
queue2 weight2
Classify
Packets sent
queueN -1 weightN-1
queueN weightN
Sendi
……
ng queue
Dequeue
Packets sent via this interf ace
queue1 weight1
queue2 weight2
Classify
Packets sent
queueN -
1 weightN
-
1
queueN weightN
Sendi
……
ng queue
Dequeue
Packets sent via this interf ace
queue1 weight1
queue2 weight2
Classify
Packets sent
queueN -1 weightN-1
queueN weightN
Sendi
……
ng queue
Dequeue
Packets sent via this interf ace
queue1 weight1
queue2 weight2
Classify
Packets sent
queueN -
1 weightN
-
1
queueN weightN
Sendi
……
ng queue
Dequeue
Packets sent via this interf ace
queue1 weight1
queue2 weight2
Classify
Packets sent
queueN -1 weightN-1
queueN weightN
Sendi
……
ng queue
Dequeue
Packets sent via this interf ace
queue1 weight1
queue2 weight2
Classify
Packets sent
queueN -1 weightN-1
queueN weightN
Sendi
……
ng queue
Dequeue
Packets sent via this interf acePackets sent via this interf ace
queue1 weight1
queue2 weight2
Classify
Packets sent
queueN -
1 weightN
-
1
queueN weightN
Sendi
……
ng queue
Dequeue
queue1 weight1
queue2 weight2
Classify
Packets sent
queueN -
1 weightN
-
1
queueN weightN
Sendi
……
ng queue
Dequeue
Packets sent via this interf ace
queue1 weight1
queue2 weight2
Classify
Packets sent
queueN -1 weightN-1
queueN weightN
Sendi
……
ng queue
Packets sent via this interf ace
queue1 weight1
queue2 weight2
Classify
Packets sent
queueN -1 weightN-1
queueN weightN
Sendi
……
ng queue
DequeueDequeue
Packets sent via this interf ace
queue1 weight1
queue2 weight2
Classify
Packets sent
queueN -
1 weightN
-
1
queueN weightN
Sendi
……
ng queue
Dequeue
Figure 1-6 Diagram for WFQ
Before WFQ is introduced, you must understand fair queuing (FQ) first. FQ is designed
for the purpose of sharing network resources fairly and optimizing the delays and delay
jitters of all the flows. It takes the interests of all parties into account, such as:
z Different queues are scheduled fairly, so the delay of each flow is balanced
globally.
z Both short and long packets are scheduled fairly. When there are multiple long
packets and short packets to be sent among different queues, the short packets
must be scheduled preferentially, so that the delay jitters of packets of each flow is
reduced globally.
Compared with FQ, WFQ takes the priority into account when calculating the
scheduling sequence of packets. Statistically speaking, WFQ assigns more scheduling
chances to high priority packets than those to low priority packets. WFQ can classify the
traffic automatically according to the session information of traffic including the protocol
types, source and destination TCP or UDP port numbers, source and destination IP
addresses, and priority bits in the TOS field. WFQ also provide as many queues as
possible to accommodate each traffic evenly. Thus, the delay of each traffic is balanced
globally. When the packets dequeue, WFQ assigns the bandwidth to each traffic on the
egress according to the traffic precedence or DSCP precedence. The lower the traffic
precedence is, the less bandwidth the traffic gets. The higher the traffic precedence is,
the more bandwidth the traffic gets. Finally, each queue is polled and the corresponding
number of packets are taken out to be sent according to the proportion of bandwidth.
You can use the WFQ algorithm to assign bandwidth to queue 0 to queue 7, and then
decide which queue a traffic flows into according to the mapping between the COS
value of the traffic and the queue, and also deicide how much bandwidth is to be
assigned to each traffic.
3) WRR queueing