From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Mon, 30 May 2005 15:08:29 +0000 Subject: Re: [LARTC] bandwidth control on htb Message-Id: <429B2C6D.6000605@dsl.pipex.com> List-Id: References: <103339c8050528083767284c8b@mail.gmail.com> In-Reply-To: <103339c8050528083767284c8b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Fatih D=FCzova wrote: > Hi, > I implemented queues on some ports with htb by filtering. and to have > a constant bw, i defined rate and ceil the same. But while watching > the bw's, I ve realized they may sometimes exceed the defined value > for short periods. How are you measuring this and what rates do you use? > How could I avoid this situation? I thought that > implementing a leaky bucket'd be fine but i m not sure about this and > how to do it on tc. > I would be glad if anyone could help me. Thanks, There are a few things you can do - I don't know if you really need to. You could specify burst 10b cburst 10b quantum 1500 on the leaf classes. There is also a setting - HYSTERESIS in the defines in=20 net/sched/sch_htb.c that when changed to 0 (need to recompile=20 kernel/module) makes htb a bit more accurate - though I never noticed it=20 affecting rates as such. Andy. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc