From: Marcus Fritzsch <marcus.fritzsch@gmx.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] limiting bandwidth on iface
Date: Thu, 24 Mar 2005 12:14:31 +0000 [thread overview]
Message-ID: <4242AF27.7050407@gmx.net> (raw)
In-Reply-To: <4241700E.40800@gmx.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Brian Carrig wrote:
| I'm a little confused. Downstream is 1mbit and upstream is 128kbit but
the root limit
| in your code is 1mbit. Surely this could be the cause of your problem?
| [...]
|>~ 27 # shapiung class of root --> not more than 1mbit bandwidth
|>~ 28 $tc class add dev $tun parent 1: classid 1:1 htb rate 1mbit \
|>~ burst 0 cburst 128
As i'm really new to this topic... I did understand that if in that case
my downstream is 'full' (ie ~1mbit) and I do want to send data upstream,
these two will not get their maximum but slow down to a sum of 1mbit...
This is not the right behaviour ;) - but is not my problem...
Well, in the meantime, i did some new tests with the script and
discovered, that it is always running at only half speed... ie when I do a
ping flood the bandwidth seems to be 128kbit - but _not_ in upstream,
these 128kbit are up- and downstream together...
So my current situation is: it does not peak to the double upstream
bandwith every minute, but it runs at half speed and peaks to full speed
each minute of 45 to 50 seconds...
I really don't know why it does so
best regards, Marcus
- --
~ s(c,t){return isalpha(c)&&t?/*
Marcus Fritzsch <marcus.fritzsch@gmx.net> ICQ:53118621 WWW:fritschy.de
~ GnuPG: gpg --keyserver sks.keyserver.penguin.de --recv-keys 98A1D365
*/s(65-c&&97-c?--c:c+25,--t):c;}main(){for(;;)putchar(s(getchar(),13));}
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCQq8m8lT6s5ih02URAiBYAJ90JSIRdqTanAChPJxIADvkxKTDWQCgv2tP
KHpEggdHbExkxg7nEb3rc+8=Ey/f
-----END PGP SIGNATURE-----
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2005-03-24 12:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-23 13:33 [LARTC] limiting bandwidth on iface Marcus Fritzsch
2005-03-23 16:08 ` Brian Carrig
2005-03-24 12:14 ` Marcus Fritzsch [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4242AF27.7050407@gmx.net \
--to=marcus.fritzsch@gmx.net \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.