[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq 569] Re: Packets dropped.
Ping Yuan wrote:
> I'm using altq-cbq to set link capacity 2M, but, I
> found that packets would be dropped even if only 1.8M
> was measured. Am I doing something wrong?
> ***** 1200 is the largest value I can set for
Ah, the queue size is limited up to 200 packets in the CBQ code.
You can remove the check in cbq_add_class() in sys-altq/altq/altq_cbq.c
or change CBQ_MAXQSIZE in sys-altq/altq/altq_cbq.h.
> Class 0 on Interface de0:
> priority: 1 depth: 0 offtime: 9750 [us]
> wrr_allot: 509 bytes
> nsPerByte: 4000 (2.00 Mbps),
> Measured: 1.73 [Mbps]
> pkts: 66639, bytes: 17589254
> overs: 4021, overactions: 4017
> borrows: 0, delays: 4017
> drops: 7588, drop_bytes: 2003232
> QCount: 199, (qmax: 200)
> AvgIdle: 499 [us],
> (maxidle: 3171 minidle: -6000 [us])
> How can I get a low rate of dropped packets?
Fix your application to adjust the sending rate :)