Let us know what you think.

Do you have time for a two-minute survey?

# Calculated Weights Mapped to Hardware Weights

The calculated weight in a traffic control profile is mapped to hardware weight, but the hardware only supports a limited WFQ profile. The weights are rounded to the nearest hardware weight according to the values in Table 1.

Table 1: Rounding Configured Weights to Hardware Weights

Traffic Control Profile Number

Number of Traffic Control Profiles

Weights

Maximum Error

1–16

16

1–16 (interval of 1)

50.00%

17–29

13

18–42 (interval of 2)

6.25%

30–35

6

45–60 (interval of 3)

1.35%

36–43

8

64–92 (interval of 4)

2.25%

44–49

6

98–128 (interval of 6)

3.06%

50–56

7

136–184 (interval of 8)

3.13%

57–62

6

194–244 (interval of 10)

2.71%

63–63

1

255–255 (interval of 11)

2.05%

As shown in Table 1, the calculated weight of 18.9 is mapped to a hardware weight of 18, because 18 is closer to 18.9 than 20 (an interval of 2 applies in the range of 18 to 42).