Re: [LARTC] qdisc unbounding question

Linux Advanced Routing and Traffic Control

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

 



Hi,

> > tc class add dev eth0 parent 1:170 classid 1:30 cbq bandwidth 200Kbit
> > rate 30Kbit weight 3Kbit prio 6 allot 1514 cell 8 maxburst 20 avpkt 1000
> 
> Shouldn't the parent class be 1:1 instead of 1:170 ??
> 
> I believe in the current scheme, 1:170 is child from 1:1 and 1:30 a child
> from 1:170. I think you want both 1:170 as 1:30 to be children from 1:1.
> 

I agree with this.

Also, shouldn't root qdisc 1:0 have full interface bandwidth? and then root
class 1:1 have "bandwidth $TOTAL rate 200kbit bounded" ?

Something else, isn't it necesary to have a qdisc for each interface? Right now
it's 1:0 for eth0 and 1:0 for eth1, I don't know if this works, I've always
done it using (for example) 1:0 for eth0 and 2:0 for eth1.

If I'm off track please tell me =)

Cheers,

Rodrigo



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