Skip to contentSkip to conversation

How to be decided default burst , cburst value ?

LARTC openings 3 participants 3 messages May 19, 2003

lore
Share & tools
lore

openings

author
#0 lore raw

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?

ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿË™¨¥Šx%ŠË,S ùšŠYšŸ÷lõ¯ç–m§ÿÿ™¨¥™©ÿvÏZşy™¨¥™©ÿ–+-ŠwèşV«µÁÎY3ÿ†Ûiÿÿåj»\şŠà

#1 lore raw

You should use the following formula. I did some
tests and it works.

for rate 30Mbit/s use burst/cburst = 18k. Use that as a starting point. For other rate just
calculate the ratio and it hould give you the most accurate values.

Example: Rate 15Mbit/s use 9k ( 30/15 = 2 --> 18/2
= 9).

All the best.

Quoted 11 lines · --- openings

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?

,S

f¢–)à–+-ü°L)šŠYš�Û=jya¶Úşf¢–f§vÏZ�_æj)fjåŠËb�ú?•ªíps–Lèm¶Ÿÿ•ªírŠà

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to openings
Quoted 7 lines · openings

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

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/