From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Mon, 19 May 2003 08:44:34 +0000 Subject: Re: [LARTC] How to be decided default burst , cburst value ? 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 Monday 19 May 2003 05:16, openings wrote: > Hi. > > I know that quantum value is decided by rate/r2q. > > but, I don't know how to be decided burst, cburst value. > > How to be decided default burst and cburst value? If you don't specify the burst/cburst on the command line, htb will calculate the minimum bandwidth for you. You can always a bigger value if you want a bigger burst/cburst. >From the tc source : /* compute minimal allowed burst from rate; mtu is added here to make sure that buffer is larger than mtu and to have some safeguard space */ if (!buffer) buffer = opt.rate.rate / HZ + mtu; if (!cbuffer) cbuffer = opt.ceil.rate / HZ + mtu; So it also depends on your timer resolution (Hz). The higher the resolution, the lower the burst can be. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/