2006-07-02

More on Improved ntpd

First results are in on the new ntpd code checked into OpenBSD 3.9-current. First, a baseline composed of the data from a 3.8 box:

$ ./adjust.pl < /service/ntpd/log/adjust/current
min = 0.001048, max = 0.165948, avg = 0.0473336730769231

Now, the new code:

# ./adjust.pl < /service/ntpd/log/adjust/current
min = 0.000124, max = 0.215716, avg = 0.02020365

As you can see, the adjfreq() syscall allows for much smaller incremental adjustments to the system clock than the previous version. Old versions of OpenNTPD have to make larger, less precise corrections, but this doesn't appear to reduce the number of corrections that are made to the clock over a uniform length of time.

No comments: