* [LARTC] Modifying traffic shaping rates according to the amount of
@ 2007-02-18 11:01 Ehud Shabtai
2007-02-18 11:58 ` [LARTC] Modifying traffic shaping rates according to the Andrew Beverley
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Ehud Shabtai @ 2007-02-18 11:01 UTC (permalink / raw)
To: lartc
[-- Attachment #1.1: Type: text/plain, Size: 571 bytes --]
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/
[-- Attachment #1.2: Type: text/html, Size: 671 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] Modifying traffic shaping rates according to the
2007-02-18 11:01 [LARTC] Modifying traffic shaping rates according to the amount of Ehud Shabtai
@ 2007-02-18 11:58 ` Andrew Beverley
2007-02-18 12:25 ` [LARTC] Modifying traffic shaping rates according to the amount Ehud Shabtai
2007-02-19 17:02 ` Flechsenhaar, Jon J
2 siblings, 0 replies; 4+ messages in thread
From: Andrew Beverley @ 2007-02-18 11:58 UTC (permalink / raw)
To: lartc
> 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@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] Modifying traffic shaping rates according to the amount
2007-02-18 11:01 [LARTC] Modifying traffic shaping rates according to the amount of Ehud Shabtai
2007-02-18 11:58 ` [LARTC] Modifying traffic shaping rates according to the Andrew Beverley
@ 2007-02-18 12:25 ` Ehud Shabtai
2007-02-19 17:02 ` Flechsenhaar, Jon J
2 siblings, 0 replies; 4+ messages in thread
From: Ehud Shabtai @ 2007-02-18 12:25 UTC (permalink / raw)
To: lartc
On 2/18/07, Andrew Beverley <andy@andybev.com> wrote:
> > 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.
--
Ehud Shabtai
http://www.freemap.co.il/map/
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [LARTC] Modifying traffic shaping rates according to the amount
2007-02-18 11:01 [LARTC] Modifying traffic shaping rates according to the amount of Ehud Shabtai
2007-02-18 11:58 ` [LARTC] Modifying traffic shaping rates according to the Andrew Beverley
2007-02-18 12:25 ` [LARTC] Modifying traffic shaping rates according to the amount Ehud Shabtai
@ 2007-02-19 17:02 ` Flechsenhaar, Jon J
2 siblings, 0 replies; 4+ messages in thread
From: Flechsenhaar, Jon J @ 2007-02-19 17:02 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 206 bytes --]
--===============0665465123==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C75447.B98264AC"
This is a multi-part message in MIME format.
[-- Attachment #2: Type: text/plain, Size: 1474 bytes --]
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: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
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/
[-- Attachment #3: Type: text/html, Size: 4265 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-02-19 17:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-18 11:01 [LARTC] Modifying traffic shaping rates according to the amount of Ehud Shabtai
2007-02-18 11:58 ` [LARTC] Modifying traffic shaping rates according to the Andrew Beverley
2007-02-18 12:25 ` [LARTC] Modifying traffic shaping rates according to the amount Ehud Shabtai
2007-02-19 17:02 ` Flechsenhaar, Jon J
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.