Re: HTB: ¿how do burst/cburst work exactly?

Linux Advanced Routing and Traffic Control

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

 



Hello,

 : I´ve read all the definitions of burst and cburst and I´ve tried 
 : playing with the parameters and graphing the output of the filter 
 : to see its effects, but STILL I can´t figure out how the 
 : parameters work exactly.
 :
 : Could anyone give a better explanation than the manpage? 

Have you tried Stef's site?  He has a good page [0] that talks about 
the various tests he did while experimenting with HTB burst and 
cburst parameters?

Some time ago, I took a stab at creating a visual representation [1] 
of a hypothetical HTB configuration [2].  In order to understand 
when cburst is used, look for the diamond-shaped boxes in the 
diagram which talk about tokens and ctokens.

Every HTB class has two buckets.

  rate bucket is of burst size, traffic uses tokens
  ceil bucket is of cburst size, traffic uses ctokens

My diagram may give you the framework to understand exactly how they 
are used if it's still unclear to you, but Stef's site will give you 
much better detail on the results of using burst and cburst.  Of the 
scenarios he describes, I like the results of Test 7 the best.  The 
only guideline that struck me after reading his results was to 
prefer burst and cburst usage on parent classes.

Good luck,

-Martin

 [0] http://www.docum.org/docum.org/tests/htb/burst/
 [1] http://linux-ip.net/traffic-control/htb-class.png
 [2] http://linux-ip.net/traffic-control/diagram.html

-- 
Martin A. Brown --- Wonderfrog Enterprises --- martin@xxxxxxxxxxxxxx
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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