*BSD News Article 72670


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!mel.dit.csiro.au!actcsiro!news.nsw.CSIRO.AU!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!psgrain!usenet.eel.ufl.edu!news.mathworks.com!news.PBI.net!news.silicon.net!chris
From: chris@Silicon.NET (Christopher Ellwood)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Adjusting for timer inaccuracies in the kernel
Date: 3 Jul 1996 02:59:18 GMT
Organization: Silicon Internet - (818)-782-INET
Lines: 13
Message-ID: <4rcnm6$cht@emerald.silicon.net>
NNTP-Posting-Host: topaz.silicon.net

The clock on one of my FreeBSD machines consistently gains about 147 seconds
a week.  This works out to be a gain of a little less than 1 second per hour.
Naturally, I could run xntpd on this machine and have it constantly adjust
the time, but I would need dedicated access to an accurate ntp server.
Instead, I would like to make an adjustment in the kernel to compensate for
the significant inaccuracies in my system's clock.  Is there a simple kernel
constant that I can adjust to do this (and if so, how much should I adjust
it by), or does making such a correction in the kernel require more than a
simple adjustment?

Thanks for any help or pointers that you can give me.

- Christopher Ellwood <chris@silicon.net>