From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mindaugas Riauba" Date: Tue, 24 Dec 2002 11:48:46 +0000 Subject: Re: [LARTC] Semi-shaped traffic Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org > > 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 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/