From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Thu, 07 Oct 2004 14:29:27 +0000 Subject: Re: [LARTC] What is the reccomended minimum rate for leaf htb classfor Message-Id: <416552C7.5020802@dsl.pipex.com> List-Id: References: <20041006073827.5C1826CB7C7@mail.caucasus.net> In-Reply-To: <20041006073827.5C1826CB7C7@mail.caucasus.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org mjoachimiak@poczta.onet.pl wrote: > >>mjoachimiak@poczta.onet.pl wrote: >> >>>Your gues is right. To get HTB work correctly you must know rate > > parameter > >>>for your connection also known as CIR. >>>Coud you tell what minimum rate your clients have? >> >>My worst HTB class has rate&ceil 778bps. >> >>I guess the lower the rate, the less accurate the result. It can't be >>accurate, because the class already exceeds it's limit by sending just >>one single packet. > > I agree. As far as I know average MTU is 1500bytes. I have rate > 13kbit/825bytes so the limit should not be reached. Maybe there is > overhead on ppp link and with this overhead clients gets congested? > What do you think? > Any ideas? Low rates seem OK for me. I don't think relating packet size to rate in kbit/sec is the right way to think about things. A class with a low rate will send a packet and then not be able to send again for an amount of time which is (pre)calculated from packet size and rate. The time may be > 1 second, so things work out in the end. Andy. > >>Maybe it's more accurate in the long run, but I don't have any >>statistics to prove that. Anyway, the traffic for that class is damn >>slow, and that's all I need to know. ;-) >> >>Andreas _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/