* [LARTC] total bandwidth ocupied
@ 2002-12-16 2:25 Adi Nugroho
2002-12-16 10:41 ` Stef Coene
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Adi Nugroho @ 2002-12-16 2:25 UTC (permalink / raw)
To: lartc
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?
* how to make the bandwidth are limited exacly at "x" kbps?
--
Regards,
Adi Nugroho
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] total bandwidth ocupied
2002-12-16 2:25 [LARTC] total bandwidth ocupied Adi Nugroho
@ 2002-12-16 10:41 ` Stef Coene
2002-12-16 17:06 ` Catalin Bucur
2002-12-17 4:12 ` Adi Nugroho
2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2002-12-16 10:41 UTC (permalink / raw)
To: lartc
On Monday 16 December 2002 03:25, 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?
> * how to make the bandwidth are limited exacly at "x" kbps?
I did some "stream" tests with htb. I generated a lot of tcp traffic with tcp
and recorded the shaped bandwidth. The result is allmost perfect. (results
can be found on www.docum.org on the test pages).
But in a real world scenario, you also have bursts in the traffic. Maybe you
allow bursts (you always have some minimal bursts) so the average bandwidth
may be higher then the configured bandwith.
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] 4+ messages in thread
* Re: [LARTC] total bandwidth ocupied
2002-12-16 2:25 [LARTC] total bandwidth ocupied Adi Nugroho
2002-12-16 10:41 ` Stef Coene
@ 2002-12-16 17:06 ` Catalin Bucur
2002-12-17 4:12 ` Adi Nugroho
2 siblings, 0 replies; 4+ messages in thread
From: Catalin Bucur @ 2002-12-16 17:06 UTC (permalink / raw)
To: lartc
-----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 kbit. 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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] total bandwidth ocupied
2002-12-16 2:25 [LARTC] total bandwidth ocupied Adi Nugroho
2002-12-16 10:41 ` Stef Coene
2002-12-16 17:06 ` Catalin Bucur
@ 2002-12-17 4:12 ` Adi Nugroho
2 siblings, 0 replies; 4+ messages in thread
From: Adi Nugroho @ 2002-12-17 4:12 UTC (permalink / raw)
To: lartc
Pada hari Selasa, 17 Desember 2002 01:06, Catalin Bucur menulis:
> | * 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
Thank you very much.
This calculation is very helpfull.
--
Salam,
Adi Nugroho
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-12-17 4:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-16 2:25 [LARTC] total bandwidth ocupied Adi Nugroho
2002-12-16 10:41 ` Stef Coene
2002-12-16 17:06 ` Catalin Bucur
2002-12-17 4:12 ` Adi Nugroho
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.