From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 14:19:23 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7183B16A4CE; Sat, 20 Mar 2004 14:19:23 -0800 (PST) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D22343D3F; Sat, 20 Mar 2004 14:19:23 -0800 (PST) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.9p1/8.12.8) with ESMTP id i2KMJNRS007676; Sat, 20 Mar 2004 14:19:23 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id i2KMJMks007675; Sat, 20 Mar 2004 14:19:22 -0800 (PST) (envelope-from rizzo) Date: Sat, 20 Mar 2004 14:19:22 -0800 From: Luigi Rizzo To: Vincent Poy Message-ID: <20040320141922.B7314@xorpc.icir.org> References: <20040320011336.C8264-100000@oahu.WURLDLINK.NET> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20040320011336.C8264-100000@oahu.WURLDLINK.NET>; from vince@oahu.wurldlink.net on Sat, Mar 20, 2004 at 01:14:38AM -1000 cc: freebsd-ipfw@freebsd.org cc: questions@freebsd.org Subject: Re: Latency problem with traffic shaping (ipfw/dummynet) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 22:19:23 -0000 cannot comment on the reason for the huge delay (but one way to check what is going on is to change the pipe's bandwidth and see if anything changes), but i see a big misunderstanding on weights vs. priorities in your configuration: > # Define our upload pipe > ${fwcmd} pipe 1 config bw 480Kbit/s > # Define a high-priority queue > ${fwcmd} queue 1 config pipe 1 weight 100 > # Define a medium-high-priority queue > ${fwcmd} queue 2 config pipe 1 weight 99 > # Define a medium-low-priority queue > ${fwcmd} queue 3 config pipe 1 weight 98 > # Define a low-priority queue > ${fwcmd} queue 4 config pipe 1 weight 97 the above configuration means that if queue 1 is getting a bandwidth X, then queue 2 will get 0.99X, queue 3 will get 0.98X, queue 4 will get 0.97X. Hardly matching any reasonable definition of high-mid-low priority! cheers luigi