From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sami Farin Date: Fri, 07 Dec 2001 16:57:39 +0000 Subject: Re: [LARTC] HTB not that exact 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 On Thu, Dec 06, 2001 at 08:48:11PM +0100, bert hubert wrote: > On Thu, Dec 06, 2001 at 08:28:07PM +0100, Stefan Rompf wrote: ... > > tbf seems not to be able to do exact rate limiting, too. Anything wrong > > in my configuration, or am I just taking false statistics? > > Both I think. There are some indications that raising HZ may not work, as it > may not raise the resolution of the timers in the Linux Kernel - I am > investigating this! So try keeping HZ stable, and raising the size of your > bucket. would it make any difference if you do... --- linux/include/net/pkt_sched.h.bak Sun Nov 19 20:14:10 2000 +++ linux/include/net/pkt_sched.h Sun Nov 19 20:20:34 2000 @@ -5,7 +5,7 @@ #define PSCHED_JIFFIES 2 #define PSCHED_CPU 3 -#define PSCHED_CLOCK_SOURCE PSCHED_JIFFIES +#define PSCHED_CLOCK_SOURCE PSCHED_CPU #include #include I didn't see PSCHED_CLOCK_SOURCE in the 2.4routing docs... Can you tell more about PSCHED_CLOCK_SOURCE ? -- Safari - safari@iki.fi - PGP key 0x427E7914 - http://www.iki.fi/safari/ The UNIX Guru's View of Sex: "unzip ; strip ; touch ; finger ; \ mount ; fsck ; more ; yes ; umount ; sleep" _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/