Are There Any Requirements for Weights Assigned to Queues for WFQ Scheduling, and Do I Have to Ensure That the Sum of All Weights Is 100?
In weighted fair queuing (WFQ) scheduling, the value of the weight for each queue is 1–100. Generally, the sum of all weights is set to 100 to facilitate calculation. However, this is not mandatory.
The bandwidth ratio occupied by each queue = the weight of the queue/the sum of all weights.
For example, if there are four queues on an interface and the weights are 10, 10, 10, and 50 respectively, the bandwidth ratio is 10/80 for the queues with the weight 10 and is 50/80 for the queue with the weight 50.