Configuration prerequisites

The algorithm for queue scheduling to be used and the related parameters are determined.

Configuration procedure

Follow these steps to configure SP queue scheduling algorithm:

To do…

Use the command…

Remarks

Enter system view

system-view

 

 

 

 

 

Optional

Configure SP queue

undo queue-scheduler [ queue-id]

By default, SP queue scheduling

scheduling algorithm

&<1-8>

algorithm is adopted on all the

 

 

output queues of a port.

 

 

 

Follow these steps to configure SDWRR queue scheduling algorithm:

To do…

Use the command…

Remarks

Enter system view

system-view

 

 

 

Configure SDWRR

queue-scheduler wrr { group1

Required

{ queue-id queue-weight } &<1-8>

By default, SP queue scheduling

queue scheduling

group2 { queue-id queue-weight }

algorithm is adopted on all the

algorithm

&<1-8> }*

output queues of a port.

 

 

 

 

A port on a device can accommodate up to eight output queues. You can configure to use SP queue scheduling algorithm, SDWRR queue scheduling algorithm, or combine the two as required.

z

z

With SDWRR queue scheduling algorithm adopted, the output queues of a port can be assigned to group 1 and group 2. The two groups are scheduled using SP algorithm. For example, you can assign queue 0, queue 1, queue 2, and queue 3 to group 1, and assign queue 4, queue 5, queue 6, and queue 7 to group 2. The queues in group 2 are scheduled preferentially using WRR queue scheduling algorithm. Queues in group 1 are scheduled using WRR queue scheduling algorithm only when all the queues in group 2 are empty.

With both SP and SDWRR queue scheduling algorithms adopted, groups are scheduled using SP algorithm. Assume that queue 0 and queue 1 are scheduled using SP algorithm; queue 2, queue 3, and queue 4 are assigned to group 1; queue 5, queue 6, and queue 7 are assigned to group 2. The queues in group 2 are scheduled preferentially using WRR queue scheduling algorithm. When all the queues in group 2 are empty, queues in group 1 are scheduled using WRR queue scheduling algorithm. Then, queue 1 is scheduled, and then queue 0.

When using SDWRR or SP+SDWRR combination for queue scheduling, you are recommended to assign queues with successive queue numbers to the same scheduling group.

1-26

Page 387
Image 387
3Com WX3000 operation manual Undo queue-scheduler queue-id, Queue-scheduler wrr group1, Queue-id queue-weight &1-8