From owner-freebsd-ipfw@FreeBSD.ORG Mon May 23 18:14:46 2005 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 548A016A41C for ; Mon, 23 May 2005 18:14:46 +0000 (GMT) (envelope-from ovidiue@unixware.ro) Received: from mail3.dr.myx.net (ns3.dr.myx.net [217.10.193.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE92443D48 for ; Mon, 23 May 2005 18:14:44 +0000 (GMT) (envelope-from ovidiue@unixware.ro) Received: by mail3.dr.myx.net (mydomain.myx.net, from userid 48) id C9E3A3B84AB; Mon, 23 May 2005 21:14:42 +0300 (EEST) Received: from 83.103.223.26 ([83.103.223.26]) by webmail.unixware.ro (Webmail) with HTTP for ; Mon, 23 May 2005 21:14:42 +0300 Message-ID: <1116872082.42921d92b020d@webmail.unixware.ro> Date: Mon, 23 May 2005 21:14:42 +0300 From: ovidiue@unixware.ro To: freebsd-ipfw@freebsd.org References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: MyDomain Webmail X-Originating-IP: 83.103.223.26 Subject: RE: QoS and guaranteed bandwidth X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 18:14:46 -0000 I must have two different values for every user: guaranteed bandwidth and maximum bandwidth Citat "Alexandre D." : > The best way to assign guaranteed bandwidth is to play with dummynet. > 1) you create a pipe for each user defining the bandwidth limit (burst) > 2) you do not assign more bandwidth than the available bandwidth. > > In fact, the burst is a real value (technical value), while the "guaranteed > bandwidth" is a theorical value (total guaranteed bandwidth divided by > number of users). > For example, if I have 4 users with different burst limits: > -A: 128k > -B: 128k > -C: 256k > -D: 512k > > In the case of a 1024k total guaranteed bandwidth, the guaranteed bandwidth > per user would be: > -A: 128k > -B: 128k > -C: 256k > -D: 512k > > But for 512k, the guaranteed bandwidth per user would be: > -A: 64k > -B: 64k > -C: 128k > -D: 512k > > You can play to assign more bandwidth per user (for example 64k for user A > and 128k for user B), but this is a bit more difficult. In this case, you > must use WFQ (Weighted Fair Queueing). > > Cheers > > Alex > > > > -----Message d'origine----- > De : owner-freebsd-ipfw@freebsd.org > [mailto:owner-freebsd-ipfw@freebsd.org]De la part de ovidiue@unixware.ro > Envoyé : lundi 23 mai 2005 15:32 > À : freebsd-ipfw@freebsd.org > Objet : QoS and guaranteed bandwidth > > > Hello guys > > What is the best sollution (and also simple) to guarantee a bandwidth? > > For example if I have an 1024 kbps conection and i want to share > this to 30 users and also guarantee 32 kbps to every user so if > one of them is doing intense FTP the others to easely browse the > net what should I use for that? I am looking for a solution like > (and better then) HBT on Linux. > > I've googled for a while but there are not so many resources on that. > > Best Regards, > ovidiu > _______________________________________________ > freebsd-ipfw@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org" > >