Re: [LARTC] CBQ problem

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some one told me that "bounded", and "isolated" don't work sometimes, is it
true?

----- Original Message -----
From: "Liu Zhiyong" <liuzhiyo@xxxxxxxxxxxxxxx>
To: <lartc@xxxxxxxxxxxxxxx>
Sent: Thursday, March 13, 2003 12:49 PM
Subject: [LARTC] CBQ problem


> 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@xxxxxxxxxxxxxxx
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux