Do we still care about HZ=1000 with dummynet ?
Sten Daniel Sørsdal
lists at wm-access.no
Wed Jan 3 08:32:17 PST 2007
Ensel Sharon wrote:
> I see in the dummynet man page:
>
> Generally, the following options are required:
>
> options IPFIREWALL
> options DUMMYNET
> options HZ=1000 # strongly recommended
>
> But all of the NOTES and other documentation only mention setting the HZ
> value in conjunction with DEVICE_POLLING.
>
> The man page for dummynet is dated October 2002.
>
> So the question is: circa 6.1, does it matter anymore to set an HZ value
> if you aren't using DEVICE_POLLING ?
>
> If so, why ? I understand the benefit when used with DEVICE_POLLING, but
> 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/queues.
--
Sten Daniel Sørsdal
More information about the freebsd-ipfw
mailing list