From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Wed, 01 Mar 2006 20:16:08 +0000 Subject: Re: [LARTC] Htb queueing problem Message-Id: <44060108.1090000@dsl.pipex.com> List-Id: References: <44043A85.6080302@gmail.com> In-Reply-To: <44043A85.6080302@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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$ I suppose), but even then in practice you need to ceil at slightly less than 10/100mbit. Andy. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc