TBF to limit bandwidth, Should I change #define HZ?

Linux Advanced Routing and Traffic Control

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

 



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/

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