I read the CBWFQ document regarding of average queue size.
The average queue size is based on the previous average and the current size of the queue. The formula
is as follows, where n is the exponential weight factor, a user-configurable value:
average = (old_average * (1-1/2^n)) + (current_queue_size * 1/2^n)
My question is that, how can I know the current queue size in advance? Is there any command can show it? Do you have any idear.
Any experience or insight info is appreciated.
Class-map: dscp_AF2x (match-any)
18930447 packets, 12209444772 bytes
30 second offered rate 0 bps, drop rate 0 bps
Match: ip dscp cs2 (16) af21 (18) af22 (20) af23 (22)
18930442 packets, 12209444772 bytes
30 second rate 0 bps
Output Queue: Conversation 139
Bandwidth remaining 16 (%)
(pkts matched/bytes matched) 0/0
(depth/total drops/no-buffer drops) 0/0/0
exponential weight: 9
mean queue depth: 0
I've highlighted the average WRED queue depth stat.
By the way, do you have any idear and experience about to set Minimum and Maximum threshold value regarding to ethernet bandwidth?
You might begin with 1/2 of (max as BDP and min 1/3 max). This also assumes TCP traffic.