From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Marcus Felipe Pereira" Date: Wed, 04 May 2005 22:56:10 +0000 Subject: [LARTC] HTB rate miscalculation Message-Id: <029901c550fc$77524c30$1f00a8c0@Micro1> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi, I've migrated my tc configuration from CBQ to HTB. One problem appeared. Htb seems to miscalculate the bandwidth for classes with greater rates. For rates below 2Mbit there is almost no difference between the configured and the measured rate. For large ones the problem starts. My root class has 10Mbit rate and when the interface has heavy trafic the measured bandwidth coudn't get more then 8.5Mbit. "# tc -s class show ...." shows that the root class has about the 10Mbit, but the link stats shows mutch less. The solution was to put the htb ceil on about 12Mbit. Then I can get to the 10Mbit. When using CBQ I didn't have this problem. Is there any parameter that I can change to correct the rate calculation? Any one has similar problem? Marcus Pereira _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc