> > During my tests I'm starting to feel stupid :). Traffic > shaping works quite on its own. > > System: RedHat 7.3, RedHat kernel 2.4.18-18.7.xsmp, HTB > version 3.6, interfaces eth0 and eth1 are acting as bridge br0. > > If TCP shaping almost works, it just exceeds limits UDP > is not shaped. Traffic flows PC=>eth0=>eth1=>PC. Statistics > shown is for just UDP traffic (1mbit of small udp packets). > What strange is that I do not see dropped or overlimits > packets. > It seems that I found the cause. I downloaded and installed vanilla Linux kernel 2.4.20 and everything went fine. Then I installed variable HZ patch from http://www.kernel.org/pub/linux/kernel/people/rml/variable-HZ/v2.4/ and set HZ to 1000. Shaping started to act not as I wanted. Setting HZ back to 100 fixed the problem. Is this some bug in HTB or HZ has to be set to 100? Mindaugas