![]() | |||||||||||||
Messages in this thread |
-------------------------------------------------- From: "Jarek Poplawski" <jarkao2@gmail.com> Sent: Friday, May 16, 2008 4:16 AM To: "Patrick McHardy" <kaber@trash.net> Cc: "Kingsley Foreman" <kingsley@internode.com.au>; "Eric Dumazet" <dada1@cosmosbay.com>; "Andrew Morton" <akpm@linux-foundation.org>; <linux-kernel@vger.kernel.org>; <netdev@vger.kernel.org> Subject: Re: NET_SCHED cbq dropping too many packets on a bonding interface > On Thu, May 15, 2008 at 08:32:44PM +0200, Patrick McHardy wrote: >> Jarek Poplawski wrote: >>> On Thu, May 15, 2008 at 06:09:36PM +0200, Patrick McHardy wrote: >>> ... >>>> Do things improve if you set txqueuelen to a larger value >>>> *before* configuring the qdiscs? >>> >>> BTW, I hope it was *before*, but since pfifo_fast_enqueue() uses >>> "qdisc->dev->tx_queue_len" does it really matter? (Until it's >>> before the test of course...) >> >> >> Yes, CBQ uses pfifo, not pfifo_fast. pfifo uses txqueuelen >> to inialize q->limit, but thats whats used during ->enqueue(). > > ...My bad! I missed this and this (only!?) seems to explain this > puzzle. So, I hope it was really because *not before* (and not only > size matters...) > > Thanks, > Jarek P. > running tc qdisc add dev bond0 root pfifo limit 1000 or tc qdisc add dev bond0 root handle 1: cbq bandwidth 2000Mbit avpkt 1000 cell 0 tc qdisc add dev bond0 parent 1: pfifo limit 1000 doesn't appear to be dropping packets. | ||||||||||||
| Last update: 2008-05-15 23:31 [W:0.404 / U:0.050 seconds] ©2003-2008 Jasper Spaans | |||||||||||||