> 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? It should not be. I used it too. But I don't know variable-HZ patch - it might affect something of course. devik