Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Mar 2009 09:14:48 -0800
From:      Freddie Cash <fjwcash@gmail.com>
To:        freebsd-ipfw@freebsd.org
Subject:   Re: ipfw (dummynet) adds delay, but not configured to do so
Message-ID:  <200903050914.48406.fjwcash@gmail.com>
In-Reply-To: <36634.62.206.221.107.1236237469.squirrel@anubis.getmyip.com>
References:  <49AED3B1.1060209@net.t-labs.tu-berlin.de> <200903041318.23083.fjwcash@gmail.com> <36634.62.206.221.107.1236237469.squirrel@anubis.getmyip.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On March 4, 2009 11:17 pm Sebastian Mellmann wrote:
> >> > Is there any chance to change this clock tick to a lower value?
> >> > I think it's the 'HZ=' option in the kernel config isn't it?
> >>
> >> yes. i believe there is a tunable (so you don't need to rebuild
> >> the kernel) but i do not remember exactly which one.
> >
> > kern.hz in /boot/loader.conf
>
> I only got an empty loader.conf file on my system.
>
> How is the syntax of the 'kern.hz' option?

grep kern /boot/defaults/loader.conf:

#kern.hz="100"                  # Set the kernel interval timer rate

Thus, just add kern.hz=1000 into /boot/loader.conf to have it set at boot 
time.

-- 
Freddie
fjwcash@gmail.com



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