All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arne Van Theemsche <arnevt@office.xs4all.be>
To: lartc@vger.kernel.org
Subject: [LARTC] 2 subclasses use more bandwidth then the rootclass has been allocated
Date: Mon, 17 Jun 2002 12:23:15 +0000	[thread overview]
Message-ID: <marc-lartc-102431667511148@msgid-missing> (raw)


Hi

I have the rootdevice allocated 512k bandwidth (with the htb qdisc), then 
I have 2 subclasses each 384k (1 ceiled to 384k, 1 burstable to 512k).

both work fine, but the problem is, that when they both start a download, 
they both get 384k, together more then 512k (the rate of the root-class)

this is my setup

./tc qdisc add dev eth1 root handle 1: htb default 30
./tc class add dev eth1 parent 1: classid 1:1 htb rate 512kbit ceil 512kbit burst 15k
./tc class add dev eth1 parent 1:1 classid 1:10 htb rate 384kbit ceil 512kbit burst 15k
./tc class add dev eth1 parent 1:1 classid 1:20 htb rate 384kbit ceil 384kbit burst 15k

./tc qdisc add dev eth1 parent 1:10 handle 10: sfq perturb 10
./tc qdisc add dev eth1 parent 1:20 handle 20: sfq perturb 10

./tc filter add dev eth1 parent 1: protocol ip prio 1 handle 1 fw classid 1:10
./tc filter add dev eth1 parent 1: protocol ip prio 1 handle 2 fw classid 1:20

I mark my packets with iptables (which works just fine, limitting both 
classes to the amount given)

I tried a similar setup with cbq, resulting in the same effect

I use 2.4.18 (self-compiled), with the htb (v2) module attached to it, on 
a redhat 7.2, the tc-binarie is htb-aware, but i don't think this is the 
problem, since when i use the cbq-class, i use the original tc binarie 
included in redhat 7.2

does anybody has a clue?

thx
Arne

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2002-06-17 12:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-17 12:23 Arne Van Theemsche [this message]
2002-06-17 14:38 ` [LARTC] 2 subclasses use more bandwidth then the rootclass has been allocated Stef Coene

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-102431667511148@msgid-missing \
    --to=arnevt@office.xs4all.be \
    --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.