Re: imprecision in bandwidth measurement

Linux Advanced Routing and Traffic Control

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

 



On Friday 05 December 2003 18:23, Tilman Giese (Global View) wrote:
> Stef Coene wrote:
> >Can you post us your tc commands ?
>
> # tc qdisc add dev eth0 root handle 1: cbq bandwidth 10MBit allot 1514
> cell 8 avpkt 1000 mpu 64
> # tc filter add dev eth0 parent 1:0 prio 5 protocol ip u32
>
> # tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 10MBit rate
> 10MBit allot 1514 cell 8 weight 1MBit prio 5 maxburst 20 avpkt 1000 bounded
> # tc class add dev eth0 parent 1:1 classid 1:2 cbq bandwidth 750KBit
> rate 750KBit avpkt 1000 cell 8 prio 5 allot 1514 weight 75KBit maxburst
> 21 bounded
> # tc class add dev eth0 parent 1:2 classid 1:3 cbq bandwidth 750KBit
> rate 50KBit avpkt 1000 cell 8 prio 5 allot 1514 weight 5KBit maxburst 21
>
> # tc filter add dev eth0 parent 1: prio 5 u32 match ip src
> 192.168.0.33/32 flowid 1:3
I don't see any error in your scripts.  I did some tests myself and this is 
the result :
http://docum.org/stef.coene/qos/tests/cbq/bounded/bounded.html
I had the same result.  The bandwidth you get is a bit more then the 
configured rate.

Stef

-- 
stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

_______________________________________________
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