From owner-freebsd-security Sat Aug 21 9:17:21 1999 Delivered-To: freebsd-security@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 183E91511E for ; Sat, 21 Aug 1999 09:17:17 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from lithium.scientia.demon.co.uk ([192.168.0.3] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.032 #1) id 11IDid-0003cd-00; Sat, 21 Aug 1999 17:10:11 +0100 Received: (from ben) by lithium.scientia.demon.co.uk (Exim 3.032 #1) id 11IDiX-0006Me-00; Sat, 21 Aug 1999 17:10:05 +0100 Date: Sat, 21 Aug 1999 17:10:04 +0100 From: Ben Smithurst To: Greg Black Cc: freebsd-security@FreeBSD.ORG Subject: Re: Securelevel 3 ant setting time Message-ID: <19990821171004.A24337@lithium.scientia.demon.co.uk> References: <19990820214657.1605.qmail@alice.gba.oz.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <19990820214657.1605.qmail@alice.gba.oz.au> Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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