Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2010 22:30:29 +0200
From:      John Hay <jhay@meraka.org.za>
To:        Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: ntpd struggling to keep up - how to fix?
Message-ID:  <20100217203029.GA70542@zibbi.meraka.csir.co.za>
In-Reply-To: <20100217200322.da66c9f8.torfinn.ingolfsen@broadpark.no>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 17, 2010 at 08:03:22PM +0100, Torfinn Ingolfsen wrote:
> On Wed, 17 Feb 2010 19:49:27 +0100
> Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> 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



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