Adaptation rule for meters

The adaptation rule provides the QoS provisioning system with the ability to adapt the administrative rates provisioned for CIR and PIR, to derive the operational rates based on the underlying capabilities of the hardware. The administrative CIR and PIR rates are translated to actual operational rates enforced by the hardware meter. The rule provides a constraint when the exact rate is not available as a result of hardware capabilities.

The following table lists the hardware rate step-size for the 7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE, and 7210 SAS-T.

Table: Supported hardware rates and burst step sizes for CIR and PIR values on the 7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE, and 7210 SAS-T
Rate (kbits_sec) Burst (kbits_burst) Rate step size (bits) Burst step size (bits)

0 to 4194296

0 to 16773

8000

4096

4194297 to 8388592

16774 to 33546

16000

8192

8388593 to 16777184

33547 to 67092

32000

16384

16777185 to 33554368

67093 to 134184

64000

32768

33554369 to 67108736

134185 to 268369

128000

65536

67108737 to 134217472

268370 to 536739

256000

131072

134217473 to 268434944

536739 to 1073479

512000

262144

268434945 to 536869888

1073480 to 2146959

1024000

524288

The following table lists the hardware rate step-size for the 7210 SAS-Sx 10/100GE.

Table: Supported hardware rates and burst step sizes for CIR and PIR values on the 7210 SAS-Sx 10/100GE
Rate (kbits_sec) Burst (kbits_burst) Rate step size (kb/s) Burst step size (bits)

8 to 16777208

4 to 16773

8

4096

16777209 to 33554416

16774 to 33546

16

8192

33554417 to 67108832

33547 to 67092

32

16384

67108833 to 134217664

67093 to 134184

64

32768

134217665 to 268435328

134185 to 268369

128

65536

268435329 to 536870656

268370 to 536739

256

131072

536870657 to 1073741312

536739 to 1073479

512

262144

1073741313 to 2147482624

1073480 to 2146959

1024

524288

The system attempts to find the best operational rate depending on the defined constraint. The supported constraints are the following:

The following table lists the rate values configured in the hardware when different PIR or CIR rates are specified in the CLI.

Table: Administrative rate example
Administrative rate Operation rate (min) Operation rate (max) Operation rate (closest)

8

8

8

8

10

16

8

8

118085

11808

11800

11808

46375

46376

46368

46376

If the user has configured any value greater than 0 and less than 648, the operation rate configured on hardware is 648 kbps, regardless of the constraint used.

Note:

The configured burst size affects the rate step-size used by the system. The system uses the step size so that both the burst-size and rate parameter constraints are met. For example, if the rate specified is less than 4 Gbps but the configured burst size is 17 Mbits, the system uses a rate step size of 16 Kbits and a burst step size of 8192 bits (see Table: Supported hardware rates and burst step sizes for CIR and PIR values on the 7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE, and 7210 SAS-T, row 2).

If the meter is a srTCM meter, both rate and burst constraints specified for both CBS and MBS are considered together to determine the step-size to use for CIR, CBS, and MBS parameters.

If the meter is a trTCM1 meter, the CIR rate and CBS burst parameters are considered together to determine the step-size to use for CIR and CBS parameters, and the PIR rate and MBS burst parameters are considered together to determine the step-size to use for PIR and MBS parameters.

If the meter is a trTCM2 meter, the CIR rate and CBS burst parameters are considered together to determine the step-size to use for CIR and CBS parameters, and the PIR (EIR) rate and MBS (EBS) burst parameters are considered together to determine the step-size to use for PIR (EIR) and MBS (EBS) parameters.