From: Liu Zhiyong <liuzhiyo@comp.nus.edu.sg>
To: lartc@vger.kernel.org
Subject: [LARTC] CBQ problem
Date: Thu, 13 Mar 2003 04:49:31 +0000 [thread overview]
Message-ID: <marc-lartc-104753105416470@msgid-missing> (raw)
this is my CBQ configuration:
DEV=eth1
tc qdisc del dev $DEV root
tc qdisc add dev $DEV root handle 1: cbq avpkt 100 bandwidth 10Mbit cell 8
tc class add dev $DEV parent 1: classid 1:1 cbq rate 10kbit allot 1500 prio
1 cell 8 bounded isolated
tc class add dev $DEV parent 1:1 classid 1:10 cbq rate 1Mbit allot 1500 prio
2 avpkt 15 bounded isolated
tc class add dev $DEV parent 1:1 classid 1:20 cbq rate 7Mbit allot 1500 prio
2 avpkt 60 bounded isolated
tc class add dev $DEV parent 1:1 classid 1:30 cbq rate 200kbit allot 1500
prio 2 avpkt 60 bounded isolated
tc qdisc add dev $DEV parent 1:10 handle 10: sfq perturb 10
tc qdisc add dev $DEV parent 1:20 handle 20: sfq perturb 10
tc qdisc add dev $DEV parent 1:30 handle 30: sfq perturb 10
tc filter add dev $DEV parent 1: protocol ip prio 1 u32 match u8 0x00 0x00
at 0 flowid 1:30
tc filter add dev $DEV parent 1: protocol qroute_uni prio 2 u32 match u8
0x40 0xff at 14 flowid 1:20
tc filter add dev $DEV parent 1: protocol qroute_multi prio 3 u32 match u8
0x40 0xff at 14 flowid 1:20
tc filter add dev $DEV parent 1: protocol qroute_uni prio 4 u32 match u8
0x00 0x00 at 14 flowid 1:10
tc filter add dev $DEV parent 1: protocol qroute_multi prio 5 u32 match u8
0x00 0x00 at 14 flowid 1:10
I want to shape class 1:1 to 10kbit, but it is not successfull. As I know
when class 1:1 is shaped to 10Kbits, its children, can not exceed it, even
if the child's rate is more than class 1:1. But After I applied this tc
configuration, I notice that the bandwidth of class 1:30 is around 200Kbit
(not shape to less than 10Kbit). anyone can help me?
-----------------------------------------
This email was sent using SquirrelMail.
"Webmail for nuts!"
http://squirrelmail.org/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2003-03-13 4:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-13 4:49 Liu Zhiyong [this message]
2003-03-13 10:19 ` [LARTC] CBQ problem Liu Zhiyong
2003-03-13 15:59 ` Stef Coene
2004-07-28 18:57 ` [LARTC] CBQ Problem Ricardo
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-104753105416470@msgid-missing \
--to=liuzhiyo@comp.nus.edu.sg \
--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.