The IQE PIC operates at the queue level as well as at the logical unit level. This section discusses how the IQE PIC derives hardware values from the user configuration parameters. First, the default behavior without explicit configuration is investigated, along with the rules used to derive hardware parameters from the scheduler map configuration of the transmit rate, shaping rate, and excess rate. For more information about configuring schedulers and scheduler maps, see Overview of Schedulers.
When you do not configure any class-of-service parameters , a default scheduler map is used to establish four queues: best-effort, expedited-forwarding, assured-forwarding, and network-control. Each queue has the default transmit rate, shaping rate, and excess rate shown in Table 77.
Table 77: Default Queue Rates on the IQE PIC
|
Queue |
Transmit Rate |
Shaping Rate |
Excess Rate |
|---|---|---|---|
|
best-effort (Q0) |
95% |
100% |
95% |
|
expedited-forwarding (Q1) |
0% |
100% |
0% |
|
assured-forwarding (Q2) |
0% |
100% |
0% |
|
network-control (Q3) |
5% |
100% |
5% |
When you configure a scheduler map to change the defaults, the IQE PIC hardware derives the values for each of the three major parameters: transmit rate, shaping rate, and excess rate.
The transmit rate is determined as follows:
If a transmit rate is configured, then:
The shaping rate is determined as follows:
If a shaping rate is configured:
The excess rate is determined as follows:
If an excess rate is configured on a queue, the value is used to derive an excess weight used by the IQE PIC hardware. The excess weight determines the proportional share of the excess bandwidth for which each queue can contend. The excess rate can be:
If an excess rate is not configured on a queue, then the default excess rate is one of the following: