From owner-freebsd-ipfw@FreeBSD.ORG Wed Aug 31 14:59:59 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 8810D16A41F for ; Wed, 31 Aug 2005 14:59:59 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C0E543D45 for ; Wed, 31 Aug 2005 14:59:59 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix3-1.free.fr (Postfix) with ESMTP id AA6481734D4; Wed, 31 Aug 2005 16:59:57 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id C2792405A; Wed, 31 Aug 2005 17:00:15 +0200 (CEST) Date: Wed, 31 Aug 2005 17:00:15 +0200 From: Jeremie Le Hen To: vladone Message-ID: <20050831150015.GI659@obiwan.tataz.chchile.org> References: <1236974368.20050831134724@spaingsm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1236974368.20050831134724@spaingsm.com> User-Agent: Mutt/1.5.9i Cc: freebsd-ipfw@freebsd.org Subject: Re: about queue size 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: Wed, 31 Aug 2005 14:59:59 -0000 Hi, > How i can calculate (or best aproximate) queue size? It depends on what you are targeting. For example a big queue will likely drop less packets than a small one but OTOH, this could add a big latency because of numerous packets being queued. Small queues will drop more packets but latency will be reduced. Generally I would advice to use small queues when used for interactive traffic such as a ssh session or even HTTP requests. IIRC big queues will maximize bandwidth, but some network guy may precise these rules, I would be glad to. The rules to compute queue sizes are deductible from the ipfw(8) manual page, DUMMYNET section (see "queue {slots | sizeKbytes}"). Hope this helps. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >