HZ kernel configuration still needed nowadays?

Miroslav Lachman 000.fbsd at quip.cz
Wed Apr 20 18:51:38 UTC 2016


Raimundo Santos wrote on 04/20/2016 18:54:

> In this scenario, it's needed to compile my kernel with HZ=1000?
>
> And, in general, is it still needed to compile a custom kernel for dummynet
> to work more precisely?

hz=1000 is the default value. You can check it by sysctl:

# sysctl kern.hz
kern.hz: 1000

And you can change it in /boot/loader.conf if you need.

echo 'kern.hz="999"' >> /boot/loader.conf
shutdown -r now

Miroslav Lachman


More information about the freebsd-net mailing list