From owner-freebsd-security Sun Aug 22 0:38:45 1999 Delivered-To: freebsd-security@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id 5DBD514D26 for ; Sun, 22 Aug 1999 00:38:40 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id RAA28514; Sun, 22 Aug 1999 17:38:28 +1000 Date: Sun, 22 Aug 1999 17:38:28 +1000 From: Bruce Evans Message-Id: <199908220738.RAA28514@godzilla.zeta.org.au> To: ben@scientia.demon.co.uk, gjb-freebsd@gba.oz.au Subject: Re: Securelevel 3 ant setting time Cc: freebsd-security@FreeBSD.ORG Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >> 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