Are there any requirements for weights assigned to queues for WFQ scheduling, and does the AR need 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�?00. 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.

Scroll to top