What is a normal value of ~/etc/atto
derik DeVecchio <[email protected]> Tue, 14 Dec 2004 17:37:22 -0800
| Newsgroups | gmane.comp.lib.libtai |
|---|---|
| Message-ID | <[email protected]> |
What is a normal value for Clockspeed's etc/atto file.
Here is mine, which I think must be spurious.
clockspeed 20:04:10 > bin/clockview < etc/atto
before: 2004-12-14 20:05:16.373501000000000000
after: 2004-12-14 20:05:16.373501102168718944
What do other people get?
This value was achieved by deleting etc/atto and ~/adjust, syncing the
clock with sntpclock and clock add, then starting clockspeed and running
sntpclock into the ~/adjust pipe that clockspeed had just created. I
then waited 20 hours during which time my system clock slowly gained
about 2 seconds, as reported by occasional uses of sntpclock and
clockview. After the 20 hours I ran sntpclock into the ~/adjust pipe.
and then fed the resulting ~/etc/atto file as input into clockview as
shown above.
This value causes clockspeed to increase the speed of my clock. I would
say that it is gaining time at the rate of about 15 seconds per hour!
relative to the NTP serve, again as measured by sntpclock and clockview.
15 seconds per HOUR! It has increased the clock speed by about 0.5%.
That is about what I would expect to get if I called adjtime(2).
Is there some way to adjust ~/etc/atto manually to something rational?
What would cause clockspeed to be so far off in its calculation of the
number of atto seconds? Does the latest version from DJB's website
need to be patched before use on a FreeBSD system? Did I need to point
it to the leap seconds table; doesn't it come with its own (I can't find
it in the /usr/local/clockspeed directory)?
Thanks in advance,
derik DeVecchio
derik
email: [email protected]
WWW: http://www.pobox.com/~derik