From owner-freebsd-net@FreeBSD.ORG Wed Jul 2 09:18:49 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 834C437B401 for ; Wed, 2 Jul 2003 09:18:49 -0700 (PDT) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id E702143FA3 for ; Wed, 2 Jul 2003 09:18:48 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.8p1/8.12.3) with ESMTP id h62GImkN076666; Wed, 2 Jul 2003 09:18:48 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.8p1/8.12.3/Submit) id h62GImgr076665; Wed, 2 Jul 2003 09:18:48 -0700 (PDT) (envelope-from rizzo) Date: Wed, 2 Jul 2003 09:18:48 -0700 From: Luigi Rizzo To: Eugene Grosbein Message-ID: <20030702091848.A76558@xorpc.icir.org> References: <3F02E5F2.4090407@tenebras.com> <20030702235442.A1757@grosbein.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030702235442.A1757@grosbein.pp.ru>; from eugen@grosbein.pp.ru on Wed, Jul 02, 2003 at 11:54:42PM +0800 cc: net@freebsd.org Subject: Re: ipprecedence X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2003 16:18:49 -0000 On Wed, Jul 02, 2003 at 11:54:42PM +0800, Eugene Grosbein wrote: > > It seems to me you could use dummynet/ipfw2 to provide a > > stronge PREFERENCE for packets w/non-zero precedence -- ... > And what bandwidth of pipe should I use? > Note that I do not need traffic shaping, > I need to rearrange queues only. Are you really sure that you are seeing significant queueing in your system ? Reordering packets based on precedence/priority typically makes sense at the bottleneck, not elsewhere. And your bottleneck is probably your ISP, not your local router. If, on the contrary, you have some kind of "slow" interface, such as various kinds of serial lines etc. you might in principle put a call to "if_tx_rdy()" in the 'transmit complete' interrupt service routine of the device driver, and put pipe ... config bw foo0 where foo0 is the name of your device (I introduced this in 3.x times, though no device supports it). cheers luigi