| To: | "Ehud Shabtai" <eshabtai@gmail.com>, <lartc@mailman.ds9a.nl> |
|---|---|
| Subject: | RE: [LARTC] Modifying traffic shaping rates according to the amount ofactive users |
| From: | "Flechsenhaar, Jon J" <Jon.J.Flechsenhaar@boeing.com> |
| Date: | Mon, 19 Feb 2007 09:02:23 -0800 |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | lartc-list@securepoint.com |
| Delivered-to: | lartc@outpost.ds9a.nl |
| In-reply-to: | <b8dc1f520702180301r4331e292l1bab33f47b44d33@mail.gmail.com> |
| List-archive: | <http://mailman.ds9a.nl/pipermail/lartc> |
| List-help: | <mailto:lartc-request@mailman.ds9a.nl?subject=help> |
| List-id: | "Mailinglist of the Linux Advanced Routing & Traffic Control project" <lartc.mailman.ds9a.nl> |
| List-post: | <mailto:lartc@mailman.ds9a.nl> |
| List-subscribe: | <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe> |
| List-unsubscribe: | <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe> |
| References: | <b8dc1f520702180301r4331e292l1bab33f47b44d33@mail.gmail.com> |
| Sender: | lartc-bounces@mailman.ds9a.nl |
| Thread-index: | AcdTTDfZ/QZ9xVPiRiquAAdhSFNSVgA+O2aw |
| Thread-topic: | [LARTC] Modifying traffic shaping rates according to the amount ofactive users |
|
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 From: Ehud Shabtai [mailto:eshabtai@gmail.com] Sent: Sunday, February 18, 2007 3:02 AM To: lartc@mailman.ds9a.nl Subject: [LARTC] Modifying traffic shaping rates according to the amount ofactive users 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 LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: [LARTC] prio not seeming to work, Flechsenhaar, Jon J |
|---|---|
| Next by Date: | Re: [LARTC] Two ADSL links and one gateway only, Manish Kathuria |
| Previous by Thread: | Re: [LARTC] Modifying traffic shaping rates according to the amount of active users, Ehud Shabtai |
| Next by Thread: | [LARTC] prio not seeming to work, Bob Puff |
| Indexes: | [Date] [Thread] [Top] [All Lists] |