From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Rossato Date: Tue, 10 Dec 2002 15:59:26 +0000 Subject: Re: [LARTC] tbf : rate and effective speed (newbie) 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 Paolo Poletti wrote: > # tc qdisc add dev eth0 root tbf rate 10kbit latency 50ms burst 1000 > > Then i've tried to transfer a big (20 Mbyte) file onto my lan, using ftp > and the client (ncftp) is saying that the average transfer speed is > 39.71 kB ( around 400 kbit). What i'm missing ? you are shaping outgoing traffic: so if you want to give it a try you must upload! to shape incoming traffic you need either ingress qdisc or IMQ : have a look at LARTC. you are downloading at 300kbit, by the way: 39.71*8 bye andrea _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/