Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2016 20:51:33 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Raimundo Santos <raitech@gmail.com>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: HZ kernel configuration still needed nowadays?
Message-ID:  <5717CFB5.6080806@quip.cz>
In-Reply-To: <CAGQ6iC9=fYmidPGOtScxvH%2Bydz5vjBxkHEZdf6uHOb-aXguzgw@mail.gmail.com>
References:  <CAGQ6iC9=fYmidPGOtScxvH%2Bydz5vjBxkHEZdf6uHOb-aXguzgw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5717CFB5.6080806>