From owner-freebsd-ipfw@FreeBSD.ORG Wed Jun 13 00:22:54 2007 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2624916A46E for ; Wed, 13 Jun 2007 00:22:54 +0000 (UTC) (envelope-from Mark.Martinec@ijs.si) Received: from mail.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id CE80F13C469 for ; Wed, 13 Jun 2007 00:22:53 +0000 (UTC) (envelope-from Mark.Martinec@ijs.si) Received: from localhost (localhost.ijs.si [127.0.0.1]) by mail.ijs.si (Postfix) with ESMTP id D103A192843 for ; Wed, 13 Jun 2007 02:22:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; d=ijs.si; s=ja-200610; t=1181694172; bh=qeq0GX+xWT6gUsb2+3jaVwTnPcY=; h=X-Virus-Scanned: Received:Received:Received:From:Organization:To:Subject:Date: User-Agent:References:In-Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-Disposition:Message-Id; b=S2mSCQ 8uWp8xg/UT+/EoynKNosXJ6ztUUaoHxXvzXhsS2Hmhdo8mHeCd7B8A0bfALH1qlw8c6 zWSIg3HZY5LVIIVeRl00y99np45iGSSYAwHSbCuldYK1aSE8OHL4oeh X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([193.2.4.66]) by localhost (mail.ijs.si [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ZcfwQjtFJJkg for ; Wed, 13 Jun 2007 02:22:51 +0200 (CEST) Received: from edina.ijs.si (edina.ijs.si [193.2.4.3]) by mail.ijs.si (Postfix) with ESMTP id 96A29192838 for ; Wed, 13 Jun 2007 02:22:51 +0200 (CEST) Received: from sleepy.ijs.si (clj15-145.dial-up.arnes.si [212.235.133.145]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by edina.ijs.si (Postfix) with ESMTP id 47F13511CA for ; Wed, 13 Jun 2007 02:22:51 +0200 (CEST) From: Mark Martinec Organization: J. Stefan Institute To: freebsd-ipfw@freebsd.org Date: Wed, 13 Jun 2007 02:22:49 +0200 User-Agent: KMail/1.9.6 References: <937e203f0706121655s226351e2q2000288a454218fb@mail.gmail.com> In-Reply-To: <937e203f0706121655s226351e2q2000288a454218fb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706130222.49828.Mark.Martinec@ijs.si> Subject: Re: ipfw, pipes, queues, weights and managing an Internet connection 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, 13 Jun 2007 00:22:54 -0000 Lubomir, > > pipe 2 config queue 4500bytes bw 3300Kbit/s > > This is something which I have searched for in the manpages before - what > does the queue argument do when it's in the config line of the pipe > instance? It says 4500bytes - any ideas? It is the size of a queue for packets in dummynet. It should not be too short so that a couple of packets fit in to give traffic shaper some headroom for its decisions. It should not be too long so that packets are not delayed for too long. In my case 4500 bytes / 3300Kbit/s = 11 ms, which is still good enough for VoIP and NTP. Mark