From owner-freebsd-questions@FreeBSD.ORG Wed Apr 2 11:32:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EA031065674 for ; Wed, 2 Apr 2008 11:32:22 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 0D05C8FC29 for ; Wed, 2 Apr 2008 11:32:21 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 3E5AA1CD60; Wed, 2 Apr 2008 03:32:21 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Wed, 2 Apr 2008 13:32:18 +0200 User-Agent: KMail/1.9.7 References: <20080401181836.13596owuuxf9az48@mail.top-consulting.net> <003301c89474$efde4e60$cf9aeb20$@Org> <20080402032721.62016mpa11vodpc0@mail.top-consulting.net> In-Reply-To: <20080402032721.62016mpa11vodpc0@mail.top-consulting.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804021332.19454.fbsd.questions@rachie.is-a-geek.net> Cc: freebsd@top-consulting.net Subject: Re: FreeBSD Traffic Shaping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2008 11:32:22 -0000 On Wednesday 02 April 2008 09:27:21 freebsd@top-consulting.net wrote: > 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 as useful as you think. I can easily generate 200 clients being only one person. That's why the focus in bandwidth shapers lies on the type of traffic and the origin/destination rather then the state and they divide the bandwidth within those pipes between the states. Secondly - bit besides the point, but not many people think about it - if you have 100% available and limit a single person to 5%, you're more likely to end up at the 100%, simply because it takes more time for that person to get what he wants. So if there's no financial/legal issues involved, it's better to get rid of the clients as fast as possible. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.