ntpd struggling to keep up - how to fix?

John Hay jhay at meraka.org.za
Wed Feb 17 20:30:33 UTC 2010


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 at 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 at meraka.csir.co.za / jhay at FreeBSD.org


More information about the freebsd-stable mailing list