Re: Split bandwidth equally per IP

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 04 December 2003 21:44, Mihai Vlad wrote:
> I left out the burst parameter so that HTB would compute it.
>
> The 80k burst parameter was my approach to prioritze somehow page browsing
> against heavy downloads. I said that 80 kilos is the average size of a html
> page.
>
> Is there any other way to accomplish this task. Is there a way to tell page
> browing from downloads?
You can use a burst 80kbit.  But.  If you use that burst, you need some time 
to regain the burst I again.  By that I mean the class has to stop sending 
packets so you can refill the token bucket.
So if you have a 10 rate and a 80 burst and you use all that burst, you have 
to stop sending packets for 8 seconds to refill the bucket and to reuse the 
burst.

> Attached are my script and the output as they are quite long.
I was interested in the output to see if the filters are working.  And they do 
because some classs have send packets.

Also try to add quantum 1500 or higher (10000) or so to the leaf classes.  A 
leaf class is the last class in the tree so it has no child classes.  The 
default quantum is based on the rate and that's too low.

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/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux