From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mindaugas Riauba" Date: Mon, 30 Dec 2002 08:21: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 > > 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. Yes. You are right. If I set HZ to 1024 everything worked OK. > 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. Well I'd prefer to leave that to professionals :). Who is packet filters maintainer? Alexey Kuznetsov? Mindaugas _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/