If I create a cbq qdisc as a leaf of a cbq class, the bandwith rate is the same of the root cbq qdisc or the rate of the cbq class? Does exist the parameter rate on the "tc qdisc add" for cbq command? tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 10mbit avpkt 1000 cell 8 tc class add dev eth0 parent 1:0 classid 1:3 cbq bandwidth 10mbit rate 50kbit allot 1514 cell 8 maxburst 20 avpkt 1000 isolated bounded tc qdisc add dev eth0 parent 1:3 handle 3:0 cbq bandwidth 10mbit rate 50kbit avpkt 1000 cell 8
On Thursday 30 May 2002 22:33, Leandro Stasi wrote:> If I create a cbq qdisc as a leaf of a cbq class, the bandwith rate is > the same of the root cbq qdisc or the rate of the cbq class?It''s not recommended to add a cbq qdisc on a cbq class. It''s better to bound the first class and add the class to the bounded class in stead of adding a second qdisc. Cbq (and htb) are not made (designed) to be attached on a leaf class. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" docum.org #lartc @ irc.openprojects.net
only note, as of HTB 3.6 it detects non-work conserving discipline as leaf and should work ok (only will eat more cpu). devik On Thu, 30 May 2002, Stef Coene wrote:> On Thursday 30 May 2002 22:33, Leandro Stasi wrote: > > If I create a cbq qdisc as a leaf of a cbq class, the bandwith rate is > > the same of the root cbq qdisc or the rate of the cbq class? > It''s not recommended to add a cbq qdisc on a cbq class. It''s better to bound > the first class and add the class to the bounded class in stead of adding a > second qdisc. Cbq (and htb) are not made (designed) to be attached on a leaf > class. > > Stef > > -- > > stef.coene@docum.org > "Using Linux as bandwidth manager" > docum.org > #lartc @ irc.openprojects.net > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: lartc.org > >