Re: Htb queueing problem

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andreas Hasenack wrote:
On Wed, Mar 01, 2006 at 02:48:18PM +0000, Andy Furniss wrote:

than bulk. Also remember when setting rates that htb will see ip packets as ip length + 14 when used on ethX


Could you elaborate on this a bit?
I suppose you also meant this in an earlier message when you mentioned
that the overhead was not included in the bw calculations.

Maybe maybe not - There are even more overheads than 14 on eth and I may also have meant dsl overheads which you need to allow for using patches because everything gets padded out to a whole number of ATM cells.

As for the IP length + 14, it's because htb uses skb->len and on eth thats ip+14 on ppp it's just ip length - I don't know about other interfaces, you can use HTBs counters to test it.

For eth I often see people use 10 or 100mbit as ceils without adding overheads to HTB - which you can (38-14=24 I suppose), but even then in practice you need to ceil at slightly less than 10/100mbit.

Andy.
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux