From mboxrd@z Thu Jan 1 00:00:00 1970 From: Denis Ovsienko Date: Wed, 04 Jan 2006 23:00:05 +0000 Subject: Re: [LARTC] TC/CBQ shaping problems Message-Id: <20060105020005.015b26aa.linux@pilot.org.ua> 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 [...] > RATE1a4400000 tc(8) manpage extract: UNITS All parameters accept a floating point number, possibly followed by a unit. Bandwidths or rates can be specified in: kbps Kilobytes per second mbps Megabytes per second kbit Kilobits per second mbit Megabits per second bps or a bare number Bytes per second [...] > tc qdisc add $DEV root handle 10: cbq bandwidth 100mbit avpkt 1000 Bandwidth is 100 Megabits per second. > # 60 Mbit/s class > tc class add $DEV parent 10:0 classid 10:1 cbq bandwidth 100mbit rate > $RATE1 $OPTION $PRIO borrow Rate is 614400000 Bytes per second, roughly about 6 Gigabits per second. I hope it helps. -- DO4-UANIC _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc