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 the current interface has four queues, and the weights are 10, 10, 10, and 50 respectively, the bandwidth ratio is 10/80 when the weight value of the queue is 10, and the bandwidth ratio is 50/80 when the queue's weight value is 50.