From: Ratel <ratel@post.pl>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] class exceeds its ceil
Date: Tue, 27 Dec 2005 17:08:31 +0000 [thread overview]
Message-ID: <43B1750F.7040800@post.pl> (raw)
In-Reply-To: <43B134A8.5000202@post.pl>
Jody Shumaker wrote:
> Andreas Klauer wrote:
>
>Uh... huh? Your P2P class has 100kbit rate with a 5600kbit ceil,
>but you say you don't want it to borrow bandwidth from other classes.
>However, to go over the 100kbit rate, it _has_ to borrow.
>
Oh yes, my mistake - I've confused ceil with rate. Anyway, the thing I
wanted to achieve was to allow
p2p class to use even 5600kbit of my bandwidth, but without guarantees
like rate. So guarantee a minimum bandwidth to a class - about 100kbit,
but allow it to reach 5600kbit or more e.g. when there's no other trafic
present. (Now I know I did it wrong)
>So, if you don't want it to borrow like you said, the solution would
>be to set the ceil of the P2P class to 100kbit as well. The other
>classes will still be able to borrow from it if the P2P class is not
>using it's bandwidth.
>
>
Are you sure? In my previous post I was refering to this example
http://mailman.ds9a.nl/pipermail/lartc/2002q2/003958.html
which says this class won't be able to exchange any bandwidth at all.
> Jody Shumaker wrote:
> What are you basing this on? the P2P app or tc -s class show dev ---- ?
I simply block p2p traffic for some time and see that bandwidth usage
(according to iptraf) falls down to ~20% of total link's "capacity" +
classes that are supposed to send p2p traffic send nothing. (I also get
feedback that indeed p2p apps aren't working) After allowing p2p
through, bandwidth usage jumps to ~100% of the total available bandwidth.
> Are you using thee CONNTRACK module? It's simple to block P2P without
> CONNTRACK but if you want to shape it, you need it. Otherwise you'll
> only be marking the first packets for p2p connections, and not the rest.
I am aware of that, but didn't you mean CONNMARK target (module)?
W
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2005-12-27 17:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-27 12:33 [LARTC] class exceeds its ceil Ratel
2005-12-27 12:57 ` Andreas Klauer
2005-12-27 14:27 ` Jody Shumaker
2005-12-27 17:08 ` Ratel [this message]
2005-12-27 22:34 ` Jody Shumaker
2005-12-27 23:03 ` Andreas Klauer
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=43B1750F.7040800@post.pl \
--to=ratel@post.pl \
--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.