On Sunday 20 June 2004 09:16, Ed Wildgoose wrote: > Jason Boxman wrote: > >On Friday 18 June 2004 07:45, Ed Wildgoose wrote: > >>OK, here it is. Near perfect bandwidth calculation for ADSL users. > >>Patch iproute2 with the HTB stuff and then this: > > > >Did I miss this the first time around? There's a patch to sch_htb.c as > > well, or not? If there is, I haven't applied it which would explain why > > the original tc patch did not have any effect for me. > > Nope, it's just a case of patching the TC prog. Make sure it is all up > to date with the latest HTB patches first though (not the HTB 2 stuff > for example). Interesting. > It works by changing the "rate" calculations which are then later used > in the HTB, policer and CBQ modules. I haven't tested the effect in > anything other than HTB though, and it seems to be pretty reliable. I > *think* it might be a hack because now "rates" are measured correctly, > but bytes per bucket are measured in the original units. However, it > seems to be very accurate, so I think it is "good enough" So does it just let you be honest about your rated speed, or is there an added performance bonus from being able to specify your true ATM rate? <snip> -- Jason Boxman Perl Programmer / *NIX Systems Administrator Shimberg Center for Affordable Housing | University of Florida http://edseek.com/ - Linux and FOSS stuff _______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/