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/