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 peak
> 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 classes.
> Somewhere I saw quantum = (link in Kbit) * 1024 / ( 8 * 1500) so I tried 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 ceil
> 9mbit  (this is the main class)
Your quantum is too low.  
http://www.docum.org/stef.coene/qos/faq/cache/31.html

Stef

-- 
[EMAIL PROTECTED]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to