Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jan 2007 10:55:16 -0500
From:      =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= <lists@wm-access.no>
To:        Ensel Sharon <user@dhp.com>
Cc:        freebsd-ipfw@freebsd.org
Subject:   Re: Do we still care about HZ=1000 with dummynet ?
Message-ID:  <459BD1E4.1020201@wm-access.no>
In-Reply-To: <Pine.LNX.4.21.0701011218080.21120-100000@shell.dhp.com>
References:  <Pine.LNX.4.21.0701011218080.21120-100000@shell.dhp.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?459BD1E4.1020201>