Date: Sat, 21 Aug 1999 17:10:04 +0100 From: Ben Smithurst <ben@scientia.demon.co.uk> To: Greg Black <gjb-freebsd@gba.oz.au> Cc: freebsd-security@FreeBSD.ORG Subject: Re: Securelevel 3 ant setting time Message-ID: <19990821171004.A24337@lithium.scientia.demon.co.uk> In-Reply-To: <19990820214657.1605.qmail@alice.gba.oz.au> References: <XFMail.990820115204.andrews@TECHNOLOGIST.COM> <19990820214657.1605.qmail@alice.gba.oz.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Greg Black wrote: > 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 /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 this as the best value given that my machine's clock seems to gain about 1 second per hour. The clock still seems to be running fast, according to the adjustments made by ntpdate. The new value shows up in kern.clockrate so I must have got something right. root@scientia:/sys/compile/SCIENTIA# sysctl kern.clockrate kern.clockrate: { hz = 100, tick = 9997, tickadj = 5, profhz = 1024, stathz = 128 } -- Ben Smithurst | PGP: 0x99392F7D ben@scientia.demon.co.uk | key available from keyservers and | ben+pgp@scientia.demon.co.uk 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?19990821171004.A24337>