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

Page 70

Advertising
background image

56

Multi-Service IronWare QoS and Traffic Management Configuration Guide

53-1003037-02

Scheduling traffic for forwarding

3

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,

To determine the weight of q3

The weight of q3 is 11.4%. Consequently, q3 will get 11.4% of the port’s total bandwidth.

The values of the remaining queues are calculated to be the following: q7 = 20.5%, q6 = 18.2%, q5
= 15.9%, q4 = 13.6%, q3 = 11.4%, q2 = 9.1%, q1 = 6.8%, and q0 = 4.5%

NOTE

The easiest way to calculate the correlation between weight and bandwidth is to have the total
weight of all queues sum up to 100, then the weight itself will be the % bandwidth available for that
queue.

Configuring WRR weight-based traffic scheduling

To configure WRR weight-based scheduling use a command such as the following at the global
configuration level.

Brocade(config)# qos scheduler profile MIXED0 mixed 20 30 15 5 10

Syntax: qos scheduler profile name weighted queue7-weight queue6-weight queue5-weight

queue4-weight queue3-weight queue2-weight queue1-weight queue0-weight]

The weighted variable defines the weighted scheduler.

The mixed variable defines the mixed scheduler.

The queue7-weight variable defines the relative value for queue7 in calculating queue7’s allocated
bandwidth.

The queue6-weight variable defines the relative value for queue6 in calculating queue6’s allocated
bandwidth.

The queue5-weight variable defines the relative value for queue5 in calculating queue5’s allocated
bandwidth.

The queue4-weight variable defines the relative value for queue4 in calculating queue4’s allocated
bandwidth.

The queue3-weight variable defines the relative value for queue3 in calculating queue3’s allocated
bandwidth.

The queue2-weight variable defines the relative value for queue2 in calculating queue2’s allocated
bandwidth.

The queue1-weight variable defines the relative value for queue1 in calculating queue1’s allocated
bandwidth.

The queue0-weight variable defines the relative value for queue0 in calculating queue0’s allocated
bandwidth

Refer to

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

for information on

assigning queue0-weight to queue4-weight values.

25

Weight of q3 =

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

10 + 15 + 20 + 25 + 30 + 35 + 40 + 45

Advertising