Re: CBQ is not limiting bandwidth!!!

From: Deepika Kakrania (deepika@sasken.com)
Date: Fri Jul 27 2001 - 01:43:16 EST


 Thanks a lot for the reply. Now it's working fine. But I have another
problem.

 If I set all these rules with bandwith parameter set to 100Mbit, then
results are near to expected results. But when I set bandwidth parameter
to 10Mbit with all other parameters unchanged it doesn't give correct
results.

The results I got for both cases are following.

 BANDWITH RATE WEIGHT Throughput (as seen using
                                                 netperf)

 10 Mbit 4 Mbit 400 Kbit 6.38 Mbps
 10 Mbit 5 Mbit 500 Kbit 7.31 Mbps

 100 Mbit 4 Mbit 400 Kbit 4.08 Mbps
 100 Mbit 5 Mbit 500 Kbit 5.11 Mbps.

Can anyone explain what could be the reason for this? Why I don't get
correct results when I set bandwidth to 10 Mbit?

Thanks in advance.

regards,
Deepika

On Thu, 26 Jul 2001, [windows-1250] Lubomír Bulej wrote:

> Hi,
>
> > I am defining only one class at m/c router on interface eth1. The tc
> > rules set up for doing so are following.
> >
> > tc qdisc add dev eth1 root handle 1: cbq bandwidth 10Mbit cell 8 avpkt
> > 1000 mpu 64
> >
> > tc class add dev eth1 parent 1:0 classud 1:1 cbq bandwidth 10Mbit rate
> > 1kbit allot 1514 cell 8 weigth 100bit prio 5 maxburst 20 avpkt 1000
>
> Add "bounded" at the end of the command... Otherwise the class borrows
> bandwidth from its parent.
>
>
> Regards,
> Lubomir
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:30 EST