From owner-freebsd-stable@FreeBSD.ORG Wed Feb 17 20:30:33 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11B791065697 for ; Wed, 17 Feb 2010 20:30:33 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [IPv6:2001:4200:7000:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3769B8FC29 for ; Wed, 17 Feb 2010 20:30:32 +0000 (UTC) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id EB4143984A; Wed, 17 Feb 2010 22:30:29 +0200 (SAST) Date: Wed, 17 Feb 2010 22:30:29 +0200 From: John Hay To: Torfinn Ingolfsen Message-ID: <20100217203029.GA70542@zibbi.meraka.csir.co.za> References: <20100211190652.6a66c618.torfinn.ingolfsen@broadpark.no> <20100211192515.GB13854@icarus.home.lan> <20100212132947.eb2af3d0.torfinn.ingolfsen@broadpark.no> <20100212131117.GA51905@icarus.home.lan> <20100212174452.2140cd72.torfinn.ingolfsen@broadpark.no> <20100217194927.e3ec60ae.torfinn.ingolfsen@broadpark.no> <20100217200322.da66c9f8.torfinn.ingolfsen@broadpark.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100217200322.da66c9f8.torfinn.ingolfsen@broadpark.no> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org Subject: Re: ntpd struggling to keep up - how to fix? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2010 20:30:33 -0000 On Wed, Feb 17, 2010 at 08:03:22PM +0100, Torfinn Ingolfsen wrote: > On Wed, 17 Feb 2010 19:49:27 +0100 > Torfinn Ingolfsen wrote: > > > Unfortunately, it isn't enough to keep the machine in sync all the time. > > But it is better than HPET so I'll keep it. > > This thread is interesting: > http://lkml.indiana.edu/hypermail/linux/kernel/0903.1/01356.html > > Is there a way in FreeBSD to perform adjustmenst like adjtimex? > 'apropos adjtime' only gives me a system call, > the man pages for hz(9) and hardclock(9) doesn't exist on 8.0-stable > (or on 7.2-stable). You can set the timecounter frequency with sysctl. On my one time server I have these lines in /etc/sysctl.conf machdep.tsc_freq=132658584 kern.timecounter.hardware=TSC John -- John Hay -- jhay@meraka.csir.co.za / jhay@FreeBSD.org