From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tilman Giese (Global View)" Date: Fri, 05 Dec 2003 17:23:24 +0000 Subject: Re: [LARTC] imprecision in bandwidth measurement Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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 Tilman _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/