Re: Modifying traffic shaping rates according to the amount of active users

Linux Advanced Routing and Traffic Control

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

 



> I'm trying to divide my bandwidth between different services, but I'd
> like to take into account the number of active users.
> 
> For example, l want divide my bandwidth between HTTP and SMTP and
> guarantee HTTP 80% of the bandwidth. 
> 
> However, I have many users on my system (tens of thousands) and if
> only 1% of my active users are using HTTP (and the other 99% SMTP),
> I'd like somehow to change the HTTP rate to a lower limit.
> 
> Is there any way to do it automatically, assuming that each user has a
> different IP? 

How about use HTB? Set the HTTP guaranteed rate to 80%, and the upper
(ceil) limit of other classes to 100%. This then means that if HTTP is
not using 80% of your link, then the spare bandwidth not used will be
shared between the other classes.

Andy Beverley


_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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