On Monday 23 February 2004 21:05, pasika11@xxxxxxxxxxxxxxx wrote: > Good evening, everybody! > > I have a simple question about shaping bursty www-traffic using > htb. Sorry if such question sounded before. > > I have got a task to limit bulk www downloads but still to show > good speed for small pages. > I think it something like this: rate should be defined dynamically > from > maximum speed - 64 kbit/s to minimum speed - 12 kbit/s, > average speed - 16 kbit/s. > > Question - how can I regulate this average parameter ? > > All I decided is > tc class add dev $DEV parent 1:0 classid 1:122 htb rate 12kbit ceil > 16kbit burst 64k prio 3 > > Is it what I meant ? > > But sometimes when I look the statistics of shaping I find that this > class has negative tokens or ctokens values. > Is it due to very low rate and big burst? Yes. Stef -- stef.coene@xxxxxxxxx "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/