From owner-freebsd-net@FreeBSD.ORG Wed Jul 2 09:38: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 AB3D237B401 for ; Wed, 2 Jul 2003 09:38:49 -0700 (PDT) Received: from mail.svzserv.kemerovo.su (mail.svzserv.kemerovo.su [213.184.65.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B3BD43F3F for ; Wed, 2 Jul 2003 09:38:48 -0700 (PDT) (envelope-from eugen@grosbein.pp.ru) Received: from main.svzserv.kemerovo.su (root@hq.svzserv.kemerovo.su [213.184.65.65])h62GchPZ059126; Thu, 3 Jul 2003 00:38:44 +0800 (NKZS) (envelope-from eugen@grosbein.pp.ru) Received: from grosbein.pp.ru (D00015.dialonly.kemerovo.su [213.184.66.105]) h62GccwQ054324; Thu, 3 Jul 2003 00:38:39 +0800 (NKZS) (envelope-from eugen@grosbein.pp.ru) Received: from grosbein.pp.ru (eugen@localhost [127.0.0.1]) by grosbein.pp.ru (8.12.9/8.12.9) with ESMTP id h62Gaq0i002376; Thu, 3 Jul 2003 00:36:52 +0800 (KRAST) (envelope-from eugen@grosbein.pp.ru) Received: (from eugen@localhost) by grosbein.pp.ru (8.12.9/8.12.9/Submit) id h62Gaq5h002375; Thu, 3 Jul 2003 00:36:52 +0800 (KRAST) Date: Thu, 3 Jul 2003 00:36:52 +0800 From: Eugene Grosbein To: Luigi Rizzo Message-ID: <20030703003651.A2262@grosbein.pp.ru> References: <3F02E5F2.4090407@tenebras.com> <20030702235442.A1757@grosbein.pp.ru> <20030702091848.A76558@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030702091848.A76558@xorpc.icir.org>; from rizzo@icir.org on Wed, Jul 02, 2003 at 09:18:48AM -0700 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:38:50 -0000 On Wed, Jul 02, 2003 at 09:18:48AM -0700, Luigi Rizzo 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 ? It seems so. > Reordering packets based on precedence/priority > typically makes sense at the bottleneck, not elsewhere. My prioritized traffic is VoIP that is low volume but intolerate to delays. > And your bottleneck is probably your ISP, not your local router. This traffic originates, passes and terminates inside our heterogeneous network completely. > 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). Sadly, I really have slow media (overloaded 2Mbit WaveLan) but it is served by standalone router (not bridge) that is capable to rearrange packets using IP precedence. My FreeBSD is connected using 10Mbit ethernet with that WaveLan router (that's name is Revolution) and this 10Mbit segment is loaded too. So if FreeBSD could rearrange queues using IP precedence, that would be pretty useful. Can it? Eugene