Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 2008 00:55:58 -0800
From:      "Ted Mittelstaedt" <tedm@toybox.placo.com>
To:        <freebsd@top-consulting.net>, <freebsd-questions@freebsd.org>
Subject:   RE: FreeBSD Traffic Shaping
Message-ID:  <BMEDLGAENEKCJFGODFOCGEIOCFAA.tedm@toybox.placo.com>
In-Reply-To: <20080402032721.62016mpa11vodpc0@mail.top-consulting.net>

next in thread | previous in thread | raw e-mail | index | archive | help


> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of
> freebsd@top-consulting.net
> Sent: Tuesday, April 01, 2008 11:27 PM
> To: freebsd-questions@freebsd.org
> Subject: RE: FreeBSD Traffic Shaping
> 
> 
> I gave port 80 as an example but I need this configuration for  
> limiting other services as well.
> 
> If you have a 100mbps connection and only one client, you want him to  
> only use 50kbps, not the full pipe. If you have 200 clients, they  
> still get 50kbps each.
> 
> Is this feature that I need so complicated that it can't be  
> implemented easily into FreeBSD or is it that not many people need it  
> ? It sounds quite useful to me :)
> 

It isn't that it's complicated or cannot be implemented easily.

It is that it's impossible to limit INCOMING bandwidth from the
Internet.

The vast majority of people out there have asymmetrical bandwidth
limiting needs - that is, they have a pipe to the Internet and
have a lot more data coming from the Internet to them, than data
going from them to the Internet.  Their desire is to somehow make
it so that certain kinds of incoming data meeting certain criteria
are limited.  Their problem is that since they don't have control of
the end sending the data to them, they can't do this.

The fewer number of people not in this boat are quite often looking
to run bandwidth restrictions on private T1s - and the routers needed
for these kinds of circuits usually have limiting code built in.  Since
they have control of both ends of the pipe they can use the limit code.

And the people not falling into these groups are mostly website
hosters looking to restrict outbound bandwidth - and for that, they
use an apache mod file (bandwidth_mod, http://www.ivn.cl/apache/ for
example) that works much better.

In short, the bandwidth limiting code really has little practical
value when implemented in FreeBSD that is why few do it.

Ted



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BMEDLGAENEKCJFGODFOCGEIOCFAA.tedm>