From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Sat, 25 Feb 2006 11:53:06 +0000 Subject: Re: [LARTC] userlevel should not need to know about HZ? Message-Id: <44004522.8030100@dsl.pipex.com> List-Id: References: <20060223202145.GL3411@mandriva.com> In-Reply-To: <20060223202145.GL3411@mandriva.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Andreas Hasenack wrote: > Em Qui 23 Fev 2006 19:47, Andreas Klauer escreveu: > >>>So, how do we reliably calculate the minimum value for >>>buffer/burst/maxburts? >> >>Trial & Error, not that I ever had much luck with TBF though... > > > From my experiments, the minimum seems to be either MTU plus a few bytes or > the result of rate/HZ, whichever is higher. Both the buffers need to be at least MTU and if you shape on eth MTU+14. You should set the limit buffer to the length of queue you want - 1*MTU(+14) is pretty useless for a limit but OK for burst. I am not sure about tbf and Hz if it's like htb you need to set burst big enough so its size * HZ can fill the link. Andy. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc