All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] How to be decided default burst , cburst value ?
@ 2003-05-19  3:16 openings
  2003-05-19  6:14 ` Yaron Benita
  2003-05-19  8:44 ` Stef Coene
  0 siblings, 2 replies; 3+ messages in thread
From: openings @ 2003-05-19  3:16 UTC (permalink / raw)
  To: lartc

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?

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] How to be decided default burst , cburst value ?
  2003-05-19  3:16 [LARTC] How to be decided default burst , cburst value ? openings
@ 2003-05-19  6:14 ` Yaron Benita
  2003-05-19  8:44 ` Stef Coene
  1 sibling, 0 replies; 3+ messages in thread
From: Yaron Benita @ 2003-05-19  6:14 UTC (permalink / raw)
  To: lartc

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 910 bytes --]


 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.

--- openings <openings@palgong.knu.ac.kr> 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?
> 
> ,\x04S
>
f¢–)à–+-ü°\x11L)šŠYšÛ=jya¶Ú\x7fþf¢–f§vÏZž_æj)fj\x7fåŠËbú?•ªíps–Lèm¶Ÿÿ•ªírŠà


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] How to be decided default burst , cburst value ?
  2003-05-19  3:16 [LARTC] How to be decided default burst , cburst value ? openings
  2003-05-19  6:14 ` Yaron Benita
@ 2003-05-19  8:44 ` Stef Coene
  1 sibling, 0 replies; 3+ messages in thread
From: Stef Coene @ 2003-05-19  8:44 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-19  8:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-19  3:16 [LARTC] How to be decided default burst , cburst value ? openings
2003-05-19  6:14 ` Yaron Benita
2003-05-19  8:44 ` Stef Coene

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.