Contributed by mbalmer on from the we-are-at-it-again dept.
Theo added the concept of timedelta sensors, sensors that provide an offset (the error) of the local clock to the reference clock and I threw in udcf(4), a device driver to decode the Swiss HBG and the German DCF77 time signal stations. But until yesterday, we had no way to feed these timedelta sensors to OpenNTPD.
Henning changed the OpenNTPD code to use timedelta sensors, but he had to rescan the list of available sensors peridically, a not-so-elegant design, we concluded. So my idea was to link timedelta sensors to the hotplug event queues: As timedelta sensors can appear or disappear at runtime, aren't they pretty much hotplug devices? Hotplug devices create events in the system that applications can receive. The idea is simple: When a timedelta sensor is added to the system, e.g. after a driver received the first complete time information from a receiver, it generates a hutplug event which OpenNTPD receives. OpenNTPD then rescans the available timedelta sensors and begin using them. Michael Knudsen implemented it and we now have support for timedelta sensors in OpenNTPD.
Of course we still lack GPS support at the moment, but be assured, it will not be long anymore till you will see a commit message and a report here that outlines how addded GPS support to OpenBSD...
(Comments are closed)
By Danno (70.64.129.49) on
Comments
By Anonymous Coward (65.94.59.238) on
Canada?
Comments
By Anonymous Coward (84.48.209.190) on
>
> Canada?
Automatic spell check?
Comments
By Anonymous Coward (62.4.77.94) on
> >
> > Canada?
>
> Automatic spell check?
>
I thought it was spelled "Canuckistan"
By Danno (70.64.129.49) on
>
> Canada?
Yes, I do know where Calgary is, it's just that things like that annoy me. It's like seeing Chicago, USA annoys me, as does Chicago, IL. However, Chicago, IL, USA is fine, as is Calgary, (Alberta|AB|Alta), Canada is fine.
By Anonymous Coward (66.11.66.41) on
>
> Canada?
CA is California. AB is Alberta. "Canada" is Canada.
Comments
By Lars Hansson (203.65.246.6) lars@unet.net.ph on
> >
> > Canada?
>
> CA is California. AB is Alberta. "Canada" is Canada.
CA is Canada for everyone outside the USA, ie for the majority of the earths population.
Comments
By Michael (65.204.119.134) on
> > >
> > > Canada?
> >
> > CA is California. AB is Alberta. "Canada" is Canada.
>
> CA is Canada for everyone outside the USA, ie for the majority of the earths population.
>
>
Nah, CA is Canada for people inside the USA as well.
--Michael
By tedu (71.139.182.193) on
> > >
> > > Canada?
> >
> > CA is California. AB is Alberta. "Canada" is Canada.
>
> CA is Canada for everyone outside the USA, ie for the majority of the earths population.
write "calgary, ca" on an envelope, drop it in a canadian mailbox, and see where it goes. :)
By Tim (145.99.137.25) on
http://leaf.dragonflybsd.org/mailarchive/commits/2005-04/msg00378.html
and in more detail:
http://leaf.dragonflybsd.org/mailarchive/commits/2005-04/msg00402.html
Just wondering.
Comments
By Anonymous Coward (66.11.66.41) on
> http://leaf.dragonflybsd.org/mailarchive/commits/2005-04/msg00378.html
>
> and in more detail:
> http://leaf.dragonflybsd.org/mailarchive/commits/2005-04/msg00402.html
>
> Just wondering.
Yeah. Did anyone care? Not likely. OpenNTPd gets within a few ms just fine. If you want more precision than that, then you need to use something other than another server over the network anyways.
Comments
By Alan Watson (132.248.81.29) alan@alan-watson.org on http://www.alan-watson.org/
I have a Soekris box that has a systematic error of half a second with OpenNTPd. We can argue about whether this is good enough, but the statement that OpenNTPd is accurate to a few ms is not universally correct.
The fix is relatively simple: measure clock frequency errors and compensate for them. I hope to get this into the kernel and OpenNTPd this summer, but at the moment real life is hogging my CPU.
Comments
By Anonymous Coward (202.6.138.34) on
>
> I have a Soekris box that has a systematic error of half a second with OpenNTPd. We can argue about whether this is good enough, but the statement that OpenNTPd is accurate to a few ms is not universally correct.
>
Add to that, the -portable version is broken on every Linux system I've used it with. (or does that make every Linux system broken?)
By Anonymous Coward (128.171.90.200) on
By roy (24.34.19.74) on
> http://leaf.dragonflybsd.org/mailarchive/commits/2005-04/msg00378.html
>
> and in more detail:
> http://leaf.dragonflybsd.org/mailarchive/commits/2005-04/msg00402.html
>
> Just wondering.
Thank you for those links, I was not aware of them. I've been testing the OpenNTPD daemon on one 3.9 system for nearly a month now. I definitely agree with Matt -- the OpenNTPD daemon is a very poor time keeper. I don't see any evidence that it even attempts frequency correction. The typical error I measure is about 80 ms. with about a dozen daily adjustments of more than 128 ms. Compared with the real NTP, it also puts between three and four times the packet load on the servers it is using.
By Tim (145.99.137.25) on
> http://leaf.dragonflybsd.org/mailarchive/commits/2005-04/msg00378.html
>
> and in more detail:
> http://leaf.dragonflybsd.org/mailarchive/commits/2005-04/msg00402.html
>
> Just wondering.
I have seen a better discussion before but I can't find it anymore, but these links will give some additional information:
http://leaf.dragonflybsd.org/mailarchive/users/2005-04/msg00171.html
http://leaf.dragonflybsd.org/mailarchive/users/2005-04/msg00206.html
I'm really wondering if Henning has been talking with Matt or Joerg and aware of their work?