Modifying traffic shaping rates according to the amount of
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,
Signature · 2 lines
Ehud Shabtai http://www.freemap.co.il/map/
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Re: [LARTC] Modifying traffic shaping rates according to the
Quoted 6 lines
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.
Quoted 6 lines
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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Re: [LARTC] Modifying traffic shaping rates according to the amount
In reply to Ehud ShabtaiQuoted 7 lines · Andrew Beverley
Quoted 2 lines
I'm trying to divide my bandwidth between different services, but I'd like to take into account the number of active users.
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.
I'm trying to avoid a situation where a small group of users get most of the bandwidth. If just 1% of my active users are using HTTP, then I'd like to set its rate to 10%. If 10% of the active users are using HTTP than limit HTTP to 50%, etc' up to 80%.
I'm trying to set dynamic rate limits according to the distribution of IP addresses.
Signature · 6 lines
Ehud Shabtai http://www.freemap.co.il/map/ _______________________________________________ LARTC mailing list [email protected] http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
RE: [LARTC] Modifying traffic shaping rates according to the amount
In reply to Ehud ShabtaiBased 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,
Signature · 2 lines
Ehud Shabtai http://www.freemap.co.il/map/