Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Aug 1999 17:38:28 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        ben@scientia.demon.co.uk, gjb-freebsd@gba.oz.au
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: Securelevel 3 ant setting time
Message-ID:  <199908220738.RAA28514@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> If you happen to have a machine that needs its regular tweaks by
>> ntpdate to exceed half a second, then you can adjust the kernel
>> tick a few units either side of its default setting of 10000 so
>> that things stay relatively stable.
>
>Where should I change this? I tried changing the value in

You shouldn't.  The kernel variable `tick' is not used for timekeeping
in FreeBSD.  It is only used for determining select timeouts and related
low precision things.

>/sys/conf/param.c (after copying it to the compile directory) and
>it seems to have had no effect. I changed it to 9997, I calculated

Change the frequency of active timecounter to closer to its actual
frequency using `sysctl -w ...'.  The hardware timecounters and their
frequencies can be found using `sysctl -a | grep _freq'.  The currently
active timecounter can be found and changed in -current only using
`sysctl [-w] kern.timecounter.hardware'.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




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