From owner-freebsd-ipfw@FreeBSD.ORG Wed Mar 4 21:48:53 2009 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA32C106564A for ; Wed, 4 Mar 2009 21:48:53 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from smtp.sd73.bc.ca (smtp.sd73.bc.ca [142.24.13.140]) by mx1.freebsd.org (Postfix) with ESMTP id 999688FC1D for ; Wed, 4 Mar 2009 21:48:53 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from localhost (localhost [127.0.0.1]) by localhost.sd73.bc.ca (Postfix) with ESMTP id 0DD9F1A000B14 for ; Wed, 4 Mar 2009 13:18:51 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at smtp.sd73.bc.ca Received: from coal.localnet (unknown [192.168.0.10]) by smtp.sd73.bc.ca (Postfix) with ESMTP id 8B6071A000B0B for ; Wed, 4 Mar 2009 13:18:23 -0800 (PST) From: Freddie Cash To: freebsd-ipfw@freebsd.org Date: Wed, 4 Mar 2009 13:18:22 -0800 User-Agent: KMail/1.10.4 (Linux/2.6.26-1-686; KDE/4.1.4; i686; ; ) References: <49AED3B1.1060209@net.t-labs.tu-berlin.de> <49AEED31.8060801@net.t-labs.tu-berlin.de> <20090304211409.GA29824@onelab2.iet.unipi.it> In-Reply-To: <20090304211409.GA29824@onelab2.iet.unipi.it> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903041318.23083.fjwcash@gmail.com> Subject: Re: ipfw (dummynet) adds delay, but not configured to do so 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, 04 Mar 2009 21:48:54 -0000 On March 4, 2009 1:14 pm Luigi Rizzo wrote: > On Wed, Mar 04, 2009 at 10:05:53PM +0100, Sebastian Mellmann wrote: > > > On Wed, Mar 04, 2009 at 08:17:05PM +0100, Sebastian Mellmann wrote: > > > the delay that a packet experiences corresponds to len/bandwidth, > > > often rounded up to the next clock tick (1ms is the default). > > > You get one delay inbound, one delay outbound, so that's 2ms. > > > > Is there any chance to change this clock tick to a lower value? > > I think it's the 'HZ=' option in the kernel config isn't it? > > yes. i believe there is a tunable (so you don't need to rebuild > the kernel) but i do not remember exactly which one. kern.hz in /boot/loader.conf -- Freddie fjwcash@gmail.com