The hardware supports meter rates in the multiples of 8 kb/s for CIR or PIR rates on 1G ports supported on the device. The system identifies the best operational rate depending on the defined constraint. The following constraints are supported for 1G ports:
minimum
The system finds the next multiple of 8 kb/s that is equal to or greater than the specified rate.
maximum
The system finds the next multiple of 8 kb/s that is less than or equal to the specified rate.
closest
The system finds the next multiple of 8 kb/s that is closest to the specified rate.
The following table lists information for calculating the hardware-supported meter step size for all supported ranges of rate values and burst step sizes for all supported ranges of burst values for 10G ports.
Rate (kb/s) |
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 16384 |
1024000 |
524288 |
The configured burst size affects the rate step-size used by the system. The system uses the step size to ensure that both the burst size and rate parameter constraints are met. For example, if the rate specified is less than 4 Gb/s but the configured burst size is 17 Mb, then the system uses rate step size of 16 Kb and burst step size of 8192 bits (see Table: Supported hardware rates and burst step sizes for CIR and PIR values for 7210 SAS-Dxp, 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.