From mboxrd@z Thu Jan 1 00:00:00 1970 From: devik Date: Fri, 27 Dec 2002 09:19:58 +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 > Setting HZ back to 100 fixed the problem. > > Is this some bug in HTB or HZ has to be set to 100? ehh other thought - htb is tested with HZ24 or HZ0. You said that you use HZ 1000. In include/net/pkt_sched.h: #if HZ = 100 #define PSCHED_JSCALE 13 #elif HZ = 1024 #define PSCHED_JSCALE 10 #else #define PSCHED_JSCALE 0 #endif I'm not sure if variable-HZ patch repaired this too. Simply QoS subsystem is not aware what to do with this HZ rate. You might try to redefine PSCHED_JSCALE to be 10 for your case. Also try to set PSCHED_CLOCK_SOURCE to PSCHED_CPU in the same file. It might help. devik _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/