Adaptation rule for queues

The adaptation rule provides the QoS provisioning system with the ability to adapt specific CIR and PIR defined administrative rates to the underlying capabilities of the hardware where the queue is created to derive the operational rates. The administrative CIR and PIR rates are translated to actual operational rates enforced by the hardware queue. The rule provides a constraint used when the exact rate is not available as a result of hardware implementation trade-offs.

For the CIR and PIR parameters individually, the system attempts to find the best operational rate, depending on the defined constraint. The supported constraints are:

Depending on the hardware on which the queue is provisioned, the actual operational CIR and PIR settings used by the queue depend on the method the hardware uses to implement and represent the mechanisms that enforce the CIR and PIR rates.

The 7210 SAS uses a single rate step value to define the granularity for both the CIR and PIR rates. The adaptation rule controls the method the system uses to choose the rate step based on the administrative rates defined by the rate command.

Table: Supported hardware rates and CIR/PIR values for 7210 SAS-T and 7210 SAS-Sx/S 1/10GE devices lists the supported hardware rate steps that correspond to the CIR and PIR ranges between 0 and 1 Gb/s on 7210 SAS-T and 7210 SAS-Sx/S 1/10GE devices. Table: Supported hardware rates and CIR/PIR values for 7210 SAS-Mxp lists the supported hardware rate steps that correspond to the CIR and PIR range values between 0 to 1 Gb/s for the 7210 SAS-Mxp. Table: Supported hardware rates for CIR and PIR values for 7210 SAS-R6 and 7210 SAS-R12 lists the supported hardware rate steps that correspond to the CIR and PIR range values between 0 to 1 Gb/s for the 7210 SAS-R6 and 7210 SAS-R12. Table: Supported hardware rates and CIR/PIR values for 10-Gig port for all platforms lists the supported hardware rate steps that correspond to the CIR and PIR ranges between 0 to 10 Gbps on 10-Gig ports on all platforms. Table: Supported hardware rates and CIR/PIR values for 7210 SAS-Sx 10/100GE lists the supported hardware rate steps that correspond to the CIR and PIR range values between 0 to 1 Gb/s for the 7210 SAS-Sx 10/100GE.

Table: Supported hardware rates and CIR/PIR values for 7210 SAS-T and 7210 SAS-Sx/S 1/10GE devices
Hardware rate steps Rate range

8 kbps

0 to 16770 kbps

16 kbps

16780 to 33540 kbps

32 kbps

33550 to 67090 kbps

64 kbps

67100 to 134180 kbps

128 kbps

134190 to 268360 kbps

256 kbps

268370 to 536730 kpbs

512 kbps

536740 to 1000000 kbps

Table: Supported hardware rates and CIR/PIR values for 7210 SAS-Mxp
Hardware rate steps Rate range

8 kbps

0 to 16383 kbps

16 kbps

16384 to 32767 kbps

32 kbps

32768 to 65535 kbps

64 kbps

65536 to 131071 kbps

128 kbps

131072 to 262143 kbps

256 kbps

262144 to 524287 kpbs

512 kbps

524288 to 1000000 kbps

Table: Supported hardware rates for CIR and PIR values for 7210 SAS-R6 and 7210 SAS-R12
Hardware rate steps Rate range

8 kbps

0 to 2047 kbps

8 kbps

2048 to 4095 kbps

8 kbps

4096 to 8191 kbps

8 kbps

8192 to 16383 kbps

16 kbps

16384 to 32767 kbps

32 kbps

32768 to 65535 kbps

64 kbps

65536 to 131071 kbps

128 kbps

131072 to 262143 kbps

256 kbps

262144 to 524287 kbps

512 kbps

524288 to 1048575 kbps

1024 kbps

1048576 to 2097151 kbps

2048 kbps

2097152 to 4194303 kbps

4096 kbps

4194304 to 8388607 kbps

8192 kbps

8388608 to max

Table: Supported hardware rates and CIR/PIR values for 10-Gig port for all platforms
Hardware rate steps Rate range

8 kbps

0 to 16383 kbps

16 kbps

16384 to 32767 kbps

32 kbps

32768 to 65535 kbps

64 kbps

65536 to 131071 kbps

128 kbps

131072 to 262143 kbps

256 kbps

262144 to 524287 kpbs

512 kbps

524288 to 1048575 kbps

1024 kbps

1048576 to 2097151 kbps

2048 kbps

2097152 to 4194303 kbps

4096 kbps

4194304 to 8388607 kbps

8192 kbps

8388608 to 10000000 kbps

Table: Supported hardware rates and CIR/PIR values for 7210 SAS-Sx 10/100GE
Hardware rate steps Rate range

8 kbps

8 to 16777208 kbps

16 kbps

16777209 to 33554416 kbps

32 kbps

33554417 to 67108832 kbps

64 kbps

67108833 to 134217664 kbps

128 kbps

134217665 to 268435328 kbps

256 kbps

268435329 to 536870656 kpbs

512 kbps

536870657 to 1073741312 kbps

1024 kbps

1073741313 to 2147482624 kbps

To illustrate how the adaptation rule constraints of minimum, maximum, and closest are evaluated in determining the operational CIR or PIR for the 7210 SAS, assume there is a queue where the administrative CIR and PIR values are 90 Kbps and 150 Kbps, respectively.

If the adaptation rule is minimum, the operational CIR and PIR values are 96 Kbps and 152 Kbps respectively, as the native hardware rate is greater than or equal to the administrative CIR and PIR values.

If the adaptation rule is maximum, the operational CIR and PIR values are 88 Kbps and 144 Kbps.

If the adaptation rule is closest, the operational CIR and PIR values are 88 Kbps and 152 Kbps, respectively, as those are the closest matches for the administrative values that are even multiples of the 8 Kbps rate step.