[Contents] [Prev] [Next] [Index] [Report an Error]

Excess Bandwidth Basic Example

This basic example illustrates the interaction of the guaranteed rate, the shaping rate, and the excess rate applied to four queues. The same concepts extend to logical interfaces (units) and cases in which the user does not configure an explicit value for these parameters (in that case, the system uses implicit parameters).

In this section, the term “not applicable” (NA) means that the feature is not explicitly configured. All traffic rates are in megabits per second (Mbps).

The hardware parameters derived from the configured rates are relatively straightforward except for the excess weight. The excess rate is translated into an absolute value called the excess weight. The scheduler for an interface picks a logical unit first, and then a queue within the logical unit for transmission. Logical interfaces and queues that are within their guaranteed rates are picked first, followed by those in the excess region. If the transmission rate for a logical interface or queue is more than the shaping rate, the scheduler skips the logical interface or queue. Scheduling in the guaranteed region uses straight round-robin, while scheduling in the excess region uses weighed round-robin (WRR) based on the excess weights. The excess weights are in the range from 1 to 127, but are transparent to the user and subject to change with implementation. The weights used in this example are for illustration only.

This example uses a logical interface with a transmit rate (CIR) of 10 Mbps, a shaping rate (PIR) of 10 Mbps. The user has also configured values of transmit rate (CIR), shaping rate (PIR), and excess rate as shown in Table 70.

Table 70: Basic Example of Excess Bandwidth

Queue

Transmit Rate (CIR)

Shaping Rate (PIR)

Excess Rate

Traffic Sent To Queue

Q0

5%

5%

10%

10 Mbps

Q1

30%

80%

50%

10 Mbps

Q2

10%

15%

30%

10 Mbps

Q3

15%

35%

30%

10 Mbps

The values used by the hardware based on these parameters are shown in Table 71.

Table 71: Hardware Use of Basic Example Parameters

Queue

Transmit Rate (CIR)

Shaping Rate (PIR)

Excess Weight

Expected Traffic Rate

Q0

0.5 Mbps

0.5 Mbps

10

0.5 Mbps

Q1

3 Mbps

8 Mbps

50

5.19 Mbps

Q2

1 Mbps

1.5 Mbps

30

1.5 Mbps

Q3

1.5 Mbps

3.5 Mbps

30

2.81 Mbps

Totasl:

6 Mbps

13.5 Mbps

120

10 Mbps (maximum output)

There are a number of important points regarding excess bandwidth calculations:


[Contents] [Prev] [Next] [Index] [Report an Error]