From: Patrick Nagelschmidt <dto@gmx.net>
To: lartc@vger.kernel.org
Subject: [LARTC] CBQ and excess bandwidth
Date: Sat, 27 Oct 2001 18:47:35 +0000 [thread overview]
Message-ID: <marc-lartc-100420845824110@msgid-missing> (raw)
i've got a problem with bounded and unbounded classes using cbq. i want to create
two classes for my outbound network connection, one for the normal data and one
only for ack-packets:
tc qdisc add dev ppp0 root handle 1: cbq bandwidth 10Mbit avpkt 1000 mpu 64
tc class add dev ppp0 parent 1:0 classid 1:1 cbq bandwidth 10Mbit rate 768kbit allot 1514 weight 76.8kbit prio 8 maxburst 20 avpkt 1000 bounded
tc class add dev ppp0 parent 1:1 classid 1:2 cbq bandwidth 10Mbit rate 16kbit allot 1514 weight 16kbit prio 1 maxburst 20 avpkt 1000
tc class add dev ppp0 parent 1:1 classid 1:3 cbq bandwidth 10Mbit rate 112kbit allot 1514 weight 11.2kbit prio 7 maxburst 20 avpkt 1000 [bounded]
[...]
with 1:3 set to bounded this works perfectly and i get ~90kb/s downstream with an
upload running at the same time. BUT i dont want to limit class 1:3 if class 1:2
has excess bandwidth. i thought it should be enough to remove the 'bounded' from
class 1:3 to share excess bandwidth from class 1:2.
but if i do so, class 1:3 uses bandwidth of class 1:2 even if no excess bandwidth
is available from 1:2. 1:3 is simply 'stealing'. without the 'bounded' i get ~25kb/s
downstream if i upload. and this means not all ack-packets have been sent as fast
as possible, regardless that the ack-class has the highest priority.
anyone got an idea what i've done wrong?
thanks in advance
Patrick Nagelschmidt
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
reply other threads:[~2001-10-27 18:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=marc-lartc-100420845824110@msgid-missing \
--to=dto@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox