From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Fernando Lemos de Mello" Date: Fri, 30 Aug 2002 20:52:38 +0000 Subject: [LARTC] TBF to limit bandwidth, Should I change #define HZ? Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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: send a 1000 bytes packet -> wait 10ms -> send a 1000 bytes packet -> wait 10ms .... 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? Thanks again, Fernando. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/