On Fri, Aug 30, 2002 at 06:00:37PM -0300, Fernando Lemos de Mello wrote: > Dear friends, > > thanks for the last advices about TBF. > > After reading the tbf.pdf document I got a better insight of the problems I > had trying to limit the bandwith on my testbed with a high resolution. > > The question I have now is: > Would I get an immediatly better resolution result if I change the #define > HZ to 1000 for my Linux box? I have a Pentium Celeron 700 MHz, and I would > like to see the tbf working like: You don't need to change HZ, for most purposes, it suffices to just raise the burst size, which means 'send some packets' 'wait 10 ms' 'send some more packets'. This will even out just fine. > So if I change the file /usr/src/linux/include/asm-i386/param.h: #define HZ > 100 to #define HZ 1000 and simply recompile the kernel, would tc work with > better resolution? Yes. Kind regards, bert hubert -- http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk http://lartc.org Linux Advanced Routing & Traffic Control HOWTO _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/