Re: total bandwidth ocupied

Linux Advanced Routing and Traffic Control

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

 



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

Adi Nugroho wrote:
| Dear sir/madam,
|
| I discover that bandwidth usage which is limited using htb is about 5
to 10%
| higher than the rate/ceil we set, if we monitor it using iptraf.
|
| I become more confused since I saw, the grafic in HTB homepage are
also show
| more bandwidth than the setting.
|
| My question is:
| * what is the exac value of this over bandwidth?

It depends of burst and cburst values that you (or tc) set. In Devik's
user guide says: "Latest tc tool will compute and set the smallest
possible burst when it is not specified". This means:
minimal_burst=max_rate*timer_resolution
So, for 2Mbit bandwidth on i386, minimal_burst=2Mbit*10ms=20kbit. This
says the theory, but in real world I saw that this minimal_burst
calculated by tc could be up to 64kbit. Am I missing something?

| * how to make the bandwidth are limited exacly at "x" kbps?

Set a lower value for ceil and a value for cburst thus:
ceil+cburst=limited_bandwidth

- --
Catalin Bucur      mailto:cata@geniusnet.ro
NOC @ Genius Network SRL - Galati - Romania

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9/ggIpDe20wwI9oIRApcqAJ94Z53bvrGpAvCUVPO8mmI3eHIV2gCfcwXK
pALs5TiT9dbZf42GNtVBHOc=
=JRkQ
-----END PGP SIGNATURE-----

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
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