From owner-freebsd-ipfw@FreeBSD.ORG Wed Jan 3 16:32:17 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 3046416A417 for ; Wed, 3 Jan 2007 16:32:17 +0000 (UTC) (envelope-from lists@wm-access.no) Received: from lakepoint.domeneshop.no (smtp01.domeneshop.no [194.63.248.15]) by mx1.freebsd.org (Postfix) with ESMTP id A585613C4A6 for ; Wed, 3 Jan 2007 16:32:16 +0000 (UTC) (envelope-from lists@wm-access.no) Received: from [192.168.0.100] (225.0.33.65.cfl.res.rr.com [65.33.0.225]) (authenticated bits=0) by lakepoint.domeneshop.no (8.13.8/8.13.8) with ESMTP id l03FtIpr026108 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 3 Jan 2007 16:55:20 +0100 Message-ID: <459BD1E4.1020201@wm-access.no> Date: Wed, 03 Jan 2007 10:55:16 -0500 From: =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Ensel Sharon References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ipfw@freebsd.org Subject: Re: Do we still care about HZ=1000 with dummynet ? 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, 03 Jan 2007 16:32:17 -0000 Ensel Sharon wrote: > I see in the dummynet man page: >=20 > Generally, the following options are required: >=20 > options IPFIREWALL > options DUMMYNET > options HZ=3D1000 # strongly recommended >=20 > But all of the NOTES and other documentation only mention setting the H= Z > value in conjunction with DEVICE_POLLING. >=20 > The man page for dummynet is dated October 2002. >=20 > So the question is: circa 6.1, does it matter anymore to set an HZ valu= e > if you aren't using DEVICE_POLLING ? >=20 > If so, why ? I understand the benefit when used with DEVICE_POLLING, b= ut > not for dummynet ... Every HZ (or divisor?) the dummynet pipes/queues are reprocessed and recalculated to see whether a packet should leave the dummynet pipes/queu= es. --=20 Sten Daniel S=F8rsdal