From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Coutelier Date: Wed, 04 Dec 2002 11:00:20 +0000 Subject: [LARTC] CBQ or HTP accuracy Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hello, I am rate limiting traffic going to some IP addresses using CBQ (and want to change to HTB sometime). While testing with different packet sizes I found out that I could go above= the rate limit I set. (even with HTB) The values I use are: rate: 768kbit weight 77kbit allot 10000 avpkt 1512 I did not change the cell or other parameters. My root qdisc is set to 40MBit. With those values I am able to go up to 840kbit/s with packets sizes of 612= or 1224. With other values it's less except for very low values. Changing the allot value (If I understood well allot*weight=3Dmax packets p= er round) it only gets worst (tested with 1000 and 50000). AVPKT is only used for maxidle so it should not change anything ? What values should I tweak to have the max rate never exeeded and still be = able to come very near my max-rate using 1460 bytes packets ? Would HTB be more accruate ? Thanks for the HELP. --=20 Thierry Coutelier /'\ ASCII Ribbon Campaign http://www.linux.lu \ / No HTML/RTF in email . =D7 No Word docs in email . / \ Respect for open standards _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/