From: "Gavin" <gavin@raha.com>
To: lartc@vger.kernel.org
Subject: [LARTC] htb ceiling
Date: Fri, 05 Apr 2002 08:19:05 +0000 [thread overview]
Message-ID: <marc-lartc-101799477322990@msgid-missing> (raw)
Hello,
I'm using HTB (through htb.init :) and it's nearly perfect, but the CEIL
directive seems to have no effect.
The relevant lines are:
tc qdisc add dev eth1 root handle 1 htb default 10 r2q 100
tc class add dev eth1 parent 1: classid 1:2 htb rate 5Mbit burst 15k
tc class add dev eth1 parent 1:2 classid 1:40 htb rate 256Kbit ceil 512Kbit
burst 15k
tc qdisc add dev eth1 parent 1:40 handle 40 sfq perturb 10
tc filter add dev eth1 parent 1:0 protocol ip prio 100 u32 match ip dst
10.0.0.2 classid 1:40
- this allows 10.0.0.2 to download at 256Kbit, even when it is the only
machine doing any downloading. I can affect this speed by changing the
$rate, but changing $ceil has no effect whatsoever.
Platform:
RH7.2, 2.4.9-31 (patched for htb)
tc patched for htb
iproute2-ss001007 (Tried the patch for htb, but compilation failed with
/usr/include/arpa/inet.h:74: warning: data definition has no type or storage
class
/usr/include/arpa/inet.h:78: parse error before `__net'
)
Is there something wrong with the above commands?
Thanks,
Gavin
http://www.raha.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2002-04-05 8:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-05 8:19 Gavin [this message]
2002-04-05 8:42 ` [LARTC] htb ceiling Stef Coene
2002-04-05 9:01 ` Gavin
2002-04-05 10:40 ` Martin Devera
2002-04-05 11:58 ` Gavin
2002-04-05 12:10 ` Martin Devera
2002-04-05 12:26 ` Stef Coene
2002-04-05 12:26 ` Stef Coene
2002-04-05 12:41 ` Gavin
2002-04-05 13:09 ` Martin Devera
2002-04-05 15:52 ` Stef Coene
2002-04-07 17:52 ` Gavin
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-101799477322990@msgid-missing \
--to=gavin@raha.com \
--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.