All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] CBQ problem
@ 2003-03-13  4:49 Liu Zhiyong
  2003-03-13 10:19 ` Liu Zhiyong
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Liu Zhiyong @ 2003-03-13  4:49 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-07-28 18:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-13  4:49 [LARTC] CBQ problem Liu Zhiyong
2003-03-13 10:19 ` Liu Zhiyong
2003-03-13 15:59 ` Stef Coene
2004-07-28 18:57 ` [LARTC] CBQ Problem Ricardo

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.