From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Wed, 14 May 2003 18:08:39 +0000 Subject: [LARTC] Re: why so fast? 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 On Wednesday 14 May 2003 20:03, sun reflex4 wrote: > Hi, > corresponding to my previous, I've tested with it all the time, but it is > not working. Although the packets go through the specified class, but the > class does exceed the given ceil, see what the "tc -s -d class show dev > eth0" shows: > > class htb 1:10 parent 1:1 prio 0 quantum 1000 rate 1bps ceil 1bps burst > 1023b/8 mpu 0b cburst 1599b/8 0b level 0 > Sent 11794081 bytes 7847 pkts (dropped 0, overlimits 0) > rate 285518bps 189pps > lended 7847 borrowed:0 giants:0 > tokens: -59999999 ctokens: -59999999 > > When the rate & ceil for 1:10 are 1bps, how does it send with much higher > rate? Argh. You have 10bps. That means 10bytes per second ! That's way too low. No wonder htb can't shape that. The minimium shapable rate is 4kbps or so. So plz, do your tests with a higher rate and ceil, 10kbps or so. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/