Introduces UCMP minimum integer ratios and explains the core idea and technical context. Highlights the main characteristics and usage guidance needed before configuration.
UCMP minimum integer ratios are UCMP minimum integer ratio topics that explain the UCMP Minimum Integer Ratio feature saves hardware resources when programming UCMP, by using an optimized number of buckets.
Additional details
To calculate the UCMP minimum integer ratio, find the greatest common divisor (GCD) and divide all the calculated normalized weights.
In these Figure, we have three configured weights 40, 50, and 40, with GCD as 10. To calculate the normalized weight, divide the configured weight by GCD. In this example, we need to divide 40 by 10, 50 by 10, and 40 by 10, which is 4, 5, and 4 respectively. Therefore 4, 5, and 4 are the new normalized weights.
New normalized weights are: 40/10 = 4, 50/10 = 5, and 40/10 = 4
If GCD is 1, then Normalized Weight = (Path weight/Total weight) * Maximum bucket size