LARTC
[Top] [All Lists]

Re: [LARTC] Modifying traffic shaping rates according to the amount of a

To: Ehud Shabtai <eshabtai@gmail.com>
Subject: Re: [LARTC] Modifying traffic shaping rates according to the amount of active users
From: Andrew Beverley <andy@andybev.com>
Date: Sun, 18 Feb 2007 11:58:34 +0000
Cc: lartc@mailman.ds9a.nl
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 &amp; 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
> 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

<Prev in Thread] Current Thread [Next in Thread>