Andy Furniss wrote: > Patrick McHardy wrote: > >>> HTB default qlen is that of the device or 3 if it is less. Maybe it >>> should be increased 30? 3 is pretty useless for thoughput, but means >>> that people who don't specify/get default lengths on sub queues get a >>> half working setup. >> >> >> >> That only affects the "direct queue" for unclassified packets, doesn't >> it? > > > > tc qdisc add dev ppp0 handle 1:0 root htb > tc class add dev ppp0 classid 1:1 htb rate 220kbit > tc filter add dev ppp0 protocol ip u32 match u32 0 0 classid 1:1 > > gives a 3 pkt queue I think each class gets 3 if there are more classes
That is because you use it on a ppp device and the default txqueuelen is 3. I guess it would make sense to increase the queue len of the default queues with HTB (and HFSC), I'm just not sure how what value would be appropriate. txqueuelen * 10? That would be quite a lot on ethernet devices. Ideally it should depend on the fraction of the reserved bandwidth .. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html