Based on your requirements I would use HTB.
Ceil (the maximum borrowed rate) HTTP traffic to 80% of your bandwidth
in one class. In the other class ceil rate to 20%. If HTTP needs more
bandwidth or SMTP they can borrow between each other.
Example:
40% SMTP
60% HTTP
- HTTP class will loan its additional bandwith to the SMTP class based
on the parent class rate.
initial parent 100 kbps Borrowing
class 1 - 80 kbps - 40
class 2 - 20 kbps - 60
Hope this helps.
Jon Flechsenhaar
Boeing WNW Team
Network Services
(714)-762-1231
202-E7
________________________________
From: Ehud Shabtai [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 18, 2007 3:02 AM
To: [email protected]
Subject: [LARTC] Modifying traffic shaping rates according to the amount
ofactive users
Hi,
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?
Thanks,
--
Ehud Shabtai
http://www.freemap.co.il/map/
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc