beautypg.com

Introduction to queue scheduling profile, Configuring a queue scheduling profile, Hardware congestion management with – H3C Technologies H3C S12500 Series Switches User Manual

Page 59: Queue scheduling profiles

background image

50

Configuring hardware congestion management

with queue scheduling profiles

Introduction to queue scheduling profile

In a queue scheduling profile, you can configure scheduling parameters for each queue. By applying the
queue scheduling profile to an interface, you can implement congestion management on the interface.

You can modify the scheduling parameters in a queue scheduling profile already applied to an interface.
Queue scheduling profiles support the following queue scheduling algorithms: SP and WRR. In a queue

scheduling profile, you can configure either of the two queue scheduling algorithms or a mix of them.
When both scheduling algorithms are configured, SP queues and WRR groups are scheduled in the

descending order of queue ID. In a WRR priority group, queues are scheduled based on their weights.

If SP and WRR are configured in a queue scheduling profile, the scheduling order is as shown in

Figure

14

.

Figure 14 Queue scheduling profile configured with both SP and WRR

Queue 7 is of the highest priority. Its packets are sent preferentially.

Queue 6 is of second highest priority. Packets in queue 6 are sent when queue 7 is empty.

Queue 3, queue 4, and queue 5 are scheduled according to their weights. When both queue 6
and queue 7 are empty, WRR group 0 is scheduled.

Queue 1 and queue 2 are scheduled according to their weights. WRR group 1 is scheduled when
queue 7, queue 6, queue 5, queue 4, and queue 3 are all empty.

Queue 0 is of the lowest priority, and it is scheduled when all the other queues are empty.

Configuring a queue scheduling profile

To configure a queue scheduling profile, create the queue scheduling profile first, and then enter the

queue scheduling profile view to configure its queue scheduling parameters. At last, apply the queue

scheduling profile to the specified interface.
To configure a queue scheduling profile:

Step

Command

Remarks

1.

Enter system view.

system-view N/A