Re: HTB has 2 bucket?

Linux Advanced Routing and Traffic Control

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greetinsg Thossapron,

 : in HTB use 2 bucket for manage 2 rate??? first bucket -> keep 
 : token for sending with rate second bucket -> keep ctoken for 
 : sending with ceil rate Is it true?? may be i'm misunderstand 
 : about token/bucket thoery

Yes, there are two different buckets used.  One bucket is for 
tokens, another bucket is for ctokens.  Brief picture of 
association of parameters:

  rate:  burst, tokens
  ceil:  cburst, ctokens

See the upper right corner of this diagram [0].  In particular, I 
should warn you that the SFQ qdisc in this diagram is the one which 
is granted the dequeue opportunity, so although packets mostly flow 
from left to right in this diagram, the SFQ is displayed to the left 
of the HTB rate/ceil buckets, even though logically this is 
reversed.

Good luck,

- -Martin

 [0] http://linux-ip.net/traffic-control/htb-class.png

- -- 
Martin A. Brown
http://linux-ip.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: pgf-0.72 (http://linux-ip.net/sw/pine-gpg-filter/)

iD8DBQFFL4zmHEoZD1iZ+YcRAm1mAJ42tQy4cRL88JnuwR2/YR3zrRoTOACfbLtu
ccrh3V/7eBzDlpRvWTgOtZs=
=RqAV
-----END PGP SIGNATURE-----
_______________________________________________
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