Re: burst question

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 22 November 2004 00:17, richard lucassen wrote:
> On Thu, 18 Nov 2004 22:50:17 +0100
> Stef Coene <stef.coene@xxxxxxxxx> wrote:
>
> [..]
>
> > > Q4: I want this class to be able to allow 400Kbit burst during 3
> > > seconds. What value should I give to the burst parameter? Is this
> > > 400/160*1803=4507b?
> >
> > 400kbit * 3s = 1200kbit.
> > You can try this, but htb burst is not made for this.  It is made for
> > burst of a few k.
>
> So a burst of 20k means the next 20kbit waiting in the queue will be
> sent in one burst before switching to another queue. This also means
> that this block of 20kbit is sent full speed over the line and it is not
> limited by any ceiling or whatsoever.
>
> Right or wrong?
Wrong.  There are 2 bursts: a burst for the rate and a cburst for the ceil.  
So if you have a burst, it's still checked against the ceil.
Check out
http://www.docum.org/docum.org/tests/htb/burst/
for some tests.

Stef

-- 
stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux