From: Stef Coene Date: Sat, 07 Feb 2004 19:40:31 +0000 Subject: Re: [LARTC] Packet Loss !! Message-Id: <200402072040.31761.stef.coene@docum.org> List-Id: References: <001f01c3ed91$48ae2900$0100a8c0@ekanta4ey6dw38> In-Reply-To: <001f01c3ed91$48ae2900$0100a8c0@ekanta4ey6dw38> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Saturday 07 February 2004 16:44, Bikrant Neupane wrote: > We have been using HTB for last 10-11 months without any problem. But from > last few days we have been facing huge packet loss when we turn on traffic > shaping using HTB. I upgraded to 2.4.24 kernel (without any htb patch), > still there is same problem. Avg. traffic is around 2Mbps and 4Mbps at pe= ak > hours. There are around 110 HTB classes and SFQ attached to each class. We > are using 4 port Tulip (only 2 ports in use) card and a 3Com 59x card. > Previously I was using default quantum and r2q values for all the classe= s. > Somewhere I saw quantum =3D (link in Kbit) * 1024 / ( 8 * 1500) so I trie= d by > increasing the qntm. value of the main class (and other classes with rate > above 512K) still there is no improvement. > > tc qdisc add dev eth2 root handle 3: htb default 256 > tc class add dev eth2 parent 3: classid 3:1 htb quantum 786 rate 9mbit ce= il > 9mbit (this is the main class) Your quantum is too low. =20 http://www.docum.org/stef.coene/qos/faq/cache/31.html Stef --=20 stef.coene@docum.org =A0"Using Linux as bandwidth manager" =A0 =A0 =A0http://www.docum.org/ =A0 =A0 =A0#lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/