beautypg.com

Configuring traffic scheduling – Brocade Multi-Service IronWare QoS and Traffic Management Configuration Guide (Supporting R05.6.00) User Manual

Page 69

background image

Multi-Service IronWare QoS and Traffic Management Configuration Guide

55

53-1003037-02

Scheduling traffic for forwarding

3

Configuring traffic scheduling

Traffic scheduling can be configured on a per-port basis. It affects the outgoing traffic on the
configured port when bandwidth congestion occurs on that port. The following sections describe
how to configure each of the traffic scheduling schemes:

“Configuring strict priority-based traffic scheduling”

This option is the default traffic scheduling

method if traffic scheduling is not configured on a port.

“Calculating the values for WRR weight-based traffic scheduling”

“Configuring WRR weight-based traffic scheduling”

“Configuring mixed strict priority and weight-based scheduling”

Configuring strict priority-based traffic scheduling

To configure strict priority-based scheduling use a command such as the following.

Brocade(config)# interface ethernet 1/1

Brocade(config-if-e1000-1/1)# qos scheduler strict

Syntax: [no] qos scheduler strict

This is the default when traffic scheduling is not configured.

Calculating the values for WRR weight-based traffic scheduling

WRR (Weighted Round Robin) scheduling is configured to be a percentage of available bandwidth
using the following formula. Remember weight is a relative value.

Weight of q (x) = the calculated weight as a percentage of the port’s total bandwidth.
For example if you assign the following values to queues 0 to 7:

Queue 0 =10, Queue 1 = 15, Queue 2 = 20, Queue 3 = 25, Queue 4 = 30, Queue 5 = 35,
Queue 6 = 40, and Queue 7 = 45

Where:

q (x) = The value of the queue that you want to determine the weight for. It can be the value of any
queue (0 - 7).

q0 - q7 = the assigned values of the eight queues.

Weight of q (x) = the calculated weight as a percentage of the port’s total bandwidth.

Determining the correlation between weight and bandwidth example

To determine the correlation between weight and bandwidth use following calculation example.

Example

If you assign the following values to queues 0 to 7:

q (x)

Weight of q (x) =

-----------------------------------------

q0 + q1 + q2 +q3+ q4 + q5 +q6 +q7