From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Sat, 23 Mar 2002 19:55:26 +0000 Subject: Re: [LARTC] Simple example of bandwidth management 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 > tc qdisc del dev eth0 root handle 1:0 cbq bandwidth 33600bps avpkt 1000 tc qdisc del dev eth0 root will also work > tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 33600bps avpkt 1000 > > tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 33600bps rate > 10000bps allot 1514 maxburst 20 avpkt 1000 prio 3 > > tc filter add dev eth0 protocol ip parent 1:0 prio 1 handle 1 fw classid > 1:1 ******************************************************** > > My problem is that I cannot see any bandwidth reduction, I download from > 10.0.0.33 to 10.0.0.34 with same speed as before (normal ethernet speed). > Maybe there exists some file under /proc fs to modify? Bandwidth in each command = ethernet bandwidth. And make the class bounded if you want to bound it :) Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/