• Best linux distro for stratum 1 server?

    From Jim Pennino@jimp@gonzo.specsol.net to comp.protocols.time.ntp on Mon Sep 2 10:31:58 2024
    From Newsgroup: comp.protocols.time.ntp

    Anyone have a suggestion for a GOOD linux distro for a stratum 1 server?

    Backgound:

    I have a serial attached black box containing a GNSS receiver and a disciplined, temperature controlled oscillator which has a PPS accuracy
    of +/- 1 nanosecond I have been using for years with Ubuntu as a stratum
    1 ntp server with very good results.

    I recently upgraded the OS to 24.04.1 and ntp went insane because it
    appears that the latest release no longer supports the ppsapi.


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Terje Mathisen@terje.mathisen@tmsw.no to comp.protocols.time.ntp on Tue Sep 3 19:56:23 2024
    From Newsgroup: comp.protocols.time.ntp

    Jim Pennino wrote:
    Anyone have a suggestion for a GOOD linux distro for a stratum 1 server?

    The best ntpd server OS have traditionally always been FreeBSD, since
    the time when phk was both a FreeBSD kernel hacker and member of the NTP Hackers group.


    Backgound:

    I have a serial attached black box containing a GNSS receiver and a disciplined, temperature controlled oscillator which has a PPS accuracy
    of +/- 1 nanosecond I have been using for years with Ubuntu as a stratum
    1 ntp server with very good results.

    I recently upgraded the OS to 24.04.1 and ntp went insane because it
    appears that the latest release no longer supports the ppsapi.

    A long time ago, ppsapi was something that could either be part of the
    kernel, or a loadable module. Is this no longer the case?

    Terje
    --
    - <Terje.Mathisen at tmsw.no>
    "almost all programming can be viewed as an exercise in caching"
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jim Pennino@jimp@gonzo.specsol.net to comp.protocols.time.ntp on Tue Sep 3 11:42:09 2024
    From Newsgroup: comp.protocols.time.ntp

    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Anyone have a suggestion for a GOOD linux distro for a stratum 1 server?

    The best ntpd server OS have traditionally always been FreeBSD, since
    the time when phk was both a FreeBSD kernel hacker and member of the NTP Hackers group.


    Backgound:

    I have a serial attached black box containing a GNSS receiver and a
    disciplined, temperature controlled oscillator which has a PPS accuracy
    of +/- 1 nanosecond I have been using for years with Ubuntu as a stratum
    1 ntp server with very good results.

    I recently upgraded the OS to 24.04.1 and ntp went insane because it
    appears that the latest release no longer supports the ppsapi.

    A long time ago, ppsapi was something that could either be part of the kernel, or a loadable module. Is this no longer the case?

    I'm not sure exactly what is going on other than pps stopped working
    after the upgrade. I have filed a bug report.

    If it is not resolved quickly, I'm switching distros.


    Terje

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Terje Mathisen@terje.mathisen@tmsw.no to comp.protocols.time.ntp on Tue Sep 3 21:47:35 2024
    From Newsgroup: comp.protocols.time.ntp

    Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Anyone have a suggestion for a GOOD linux distro for a stratum 1 server?

    The best ntpd server OS have traditionally always been FreeBSD, since
    the time when phk was both a FreeBSD kernel hacker and member of the NTP
    Hackers group.


    Backgound:

    I have a serial attached black box containing a GNSS receiver and a
    disciplined, temperature controlled oscillator which has a PPS accuracy
    of +/- 1 nanosecond I have been using for years with Ubuntu as a stratum

    That is an amazing claim, I have never personally seen any GPS-delivered
    PPS signal much better than 10-20 ns RMS, and for that to also have
    zero bias, you need to correct for the length and phase delay of the
    antenna, as well as the length of the PPS signal cable that delivers the
    time ticks to the kernel/ppsapi.

    It is of course mostly moot since any sub-100 ns stratum 1 server is effectively perfect as seen from its clients.

    I soldered together my first Motorola Oncore timing receiver back in the 1990'ies, at that time you did a 24+ hour position averaging step to fix
    the actual antenna location, so that the receiver could correct for
    large parts of the Selective Availability error.

    This server was the global reference for Hydro, which at the time had
    77K employees in 130 countries. It had been measured by other users
    (with access to atomic clocks) to deliver ~35 ns RMS.

    Later on I switched to a much easier to solder/configure Sure evaluation board, this cost about $70 and gave a ~25 ns RMS PPS signal.


    1 ntp server with very good results.

    I recently upgraded the OS to 24.04.1 and ntp went insane because it
    appears that the latest release no longer supports the ppsapi.

    A long time ago, ppsapi was something that could either be part of the
    kernel, or a loadable module. Is this no longer the case?

    I'm not sure exactly what is going on other than pps stopped working
    after the upgrade. I have filed a bug report.

    If it is not resolved quickly, I'm switching distros.

    That's what I did a few times as well, but as I wrote most of the time I
    used FreeBSD running on old laptops, old enough to not supporting any
    form of motherboard clock frequency jitter.

    Terje
    --
    - <Terje.Mathisen at tmsw.no>
    "almost all programming can be viewed as an exercise in caching"
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jim Pennino@jimp@gonzo.specsol.net to comp.protocols.time.ntp on Tue Sep 3 13:53:08 2024
    From Newsgroup: comp.protocols.time.ntp

    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Anyone have a suggestion for a GOOD linux distro for a stratum 1 server? >>>
    The best ntpd server OS have traditionally always been FreeBSD, since
    the time when phk was both a FreeBSD kernel hacker and member of the NTP >>> Hackers group.


    Backgound:

    I have a serial attached black box containing a GNSS receiver and a
    disciplined, temperature controlled oscillator which has a PPS accuracy >>>> of +/- 1 nanosecond I have been using for years with Ubuntu as a stratum

    That is an amazing claim, I have never personally seen any GPS-delivered
    PPS signal much better than 10-20 ns RMS, and for that to also have
    zero bias, you need to correct for the length and phase delay of the antenna, as well as the length of the PPS signal cable that delivers the time ticks to the kernel/ppsapi.

    It is NOT just a GNSS receiver, it is also a precision, disiplined
    oscillator and takes a couple of days to stabilize to 1 ns.

    The specs are for the connectors on the box.

    The antenna cable length has no effect on the stabilized pps accuracy,
    just the location accuracy which is a don't care for ntp.

    https://www.ebay.com/itm/265090375590 for an example.

    It is of course mostly moot since any sub-100 ns stratum 1 server is effectively perfect as seen from its clients.

    Since ntp really wants to see at least 3 sources, I have 2 of these
    things on the local 100 Base-Tx network to keep this server sane.

    https://www.ebay.com/itm/255114568844

    ntp processing jitter limits the actual accuracy achievable. To get
    better performance I could dump UNIX like os's and switch to a real-time operating system, but at this point what I have is good enough for what
    I do.


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Terje Mathisen@terje.mathisen@tmsw.no to comp.protocols.time.ntp on Wed Sep 4 09:45:45 2024
    From Newsgroup: comp.protocols.time.ntp

    Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Anyone have a suggestion for a GOOD linux distro for a stratum 1 server? >>>>
    The best ntpd server OS have traditionally always been FreeBSD, since
    the time when phk was both a FreeBSD kernel hacker and member of the NTP >>>> Hackers group.


    Backgound:

    I have a serial attached black box containing a GNSS receiver and a
    disciplined, temperature controlled oscillator which has a PPS accuracy >>>>> of +/- 1 nanosecond I have been using for years with Ubuntu as a stratum >>
    That is an amazing claim, I have never personally seen any GPS-delivered
    PPS signal much better than 10-20 ns RMS, and for that to also have
    zero bias, you need to correct for the length and phase delay of the
    antenna, as well as the length of the PPS signal cable that delivers the
    time ticks to the kernel/ppsapi.

    It is NOT just a GNSS receiver, it is also a precision, disiplined
    oscillator and takes a couple of days to stabilize to 1 ns.

    The specs are for the connectors on the box.

    The antenna cable length has no effect on the stabilized pps accuracy,
    just the location accuracy which is a don't care for ntp.

    https://www.ebay.com/itm/265090375590 for an example.

    That's extremely nice, thanks for the link.

    Do you have specs for how close the delivered PPS signal is to the
    actual UTC/TAI time? In most os these units with a 10 MHz output, the
    PPS signal is delivered at the closest 10 MHz transistion, so giving a
    +/- 50 ns skew.

    In the Mototola Oncore, the serial stream includes an offset value,
    specifying how many ns (+/-) the PPS pulse is/was from the true time.


    It is of course mostly moot since any sub-100 ns stratum 1 server is
    effectively perfect as seen from its clients.

    Since ntp really wants to see at least 3 sources, I have 2 of these

    In my own setup I had 5 geographically separated S1 servers, 3 of them
    using GPS, plus a Meinberg receiver close to the DCF77 transmitter
    location in Germany which locked onto the pseudo-random jitter of that transmitter. This provided ~10-20 us accuracy.

    Similarly, the S1 server in Tampa, FL used the US cell phone network to
    get ~12 us precision.

    On top of these S1 servers I had 6 S2 servers with a pair in each of the
    3 main datacenters, all of these connected to every S1 server.

    Finally, every NTP client machine was configured to use all (6) S2 servers.

    things on the local 100 Base-Tx network to keep this server sane.

    https://www.ebay.com/itm/255114568844

    This is a nice box at an extremely good price, nothing like this was
    available 20+ years ago, unless you made it yourself.

    I suspect that the CPU in that box would not be up to handle 10-100K
    clients, but as a primary reference for a smaller group it would be
    fine, and much less hazzle than my DIY solutions.

    ntp processing jitter limits the actual accuracy achievable. To get
    better performance I could dump UNIX like os's and switch to a real-time operating system, but at this point what I have is good enough for what
    I do.

    Right. :-)

    Terje
    --
    - <Terje.Mathisen at tmsw.no>
    "almost all programming can be viewed as an exercise in caching"
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jim Pennino@jimp@gonzo.specsol.net to comp.protocols.time.ntp on Wed Sep 4 07:29:51 2024
    From Newsgroup: comp.protocols.time.ntp

    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Anyone have a suggestion for a GOOD linux distro for a stratum 1 server? >>>>>
    The best ntpd server OS have traditionally always been FreeBSD, since >>>>> the time when phk was both a FreeBSD kernel hacker and member of the NTP >>>>> Hackers group.


    Backgound:

    I have a serial attached black box containing a GNSS receiver and a >>>>>> disciplined, temperature controlled oscillator which has a PPS accuracy >>>>>> of +/- 1 nanosecond I have been using for years with Ubuntu as a stratum >>>
    That is an amazing claim, I have never personally seen any GPS-delivered >>> PPS signal much better than 10-20 ns RMS, and for that to also have
    zero bias, you need to correct for the length and phase delay of the
    antenna, as well as the length of the PPS signal cable that delivers the >>> time ticks to the kernel/ppsapi.

    It is NOT just a GNSS receiver, it is also a precision, disiplined
    oscillator and takes a couple of days to stabilize to 1 ns.

    The specs are for the connectors on the box.

    The antenna cable length has no effect on the stabilized pps accuracy,
    just the location accuracy which is a don't care for ntp.

    https://www.ebay.com/itm/265090375590 for an example.

    That's extremely nice, thanks for the link.

    Do you have specs for how close the delivered PPS signal is to the
    actual UTC/TAI time? In most os these units with a 10 MHz output, the
    PPS signal is delivered at the closest 10 MHz transistion, so giving a
    +/- 50 ns skew.

    The thing is a generic design made by a lot of people. Detailed docs on
    the internals is hard to find. However since the 10 MHz signal is
    disciplined, after the settling time the absolute accuracy is supposed
    to be around 1 ns. The one I referenced has a precision, temperature
    controlled crystal oscillator, but for a few hundred dollars you can get
    them with rubidium oscillators, which have slightly better specs, mostly
    to do with the 10 MHz signal.

    I originally bought one of these just for the 10 MHz output which also
    serves as the reference for my frequency counter and it works extremely
    well.

    As for ntp, my thought was I have it, so why not try it and see what I
    can get.

    Ultimate accuracy I got, before the software upgrade, was in the +/- 2us
    range with a low latency kernel.

    I have found that the limitation is how the hardware and software
    handles interrupts on the serial ports. PCI cards have software
    interrupts with LOTS of jitter and are useless for achieving the
    accuracy obtainable from this box. You need a legacy serial port
    with hardware interrupts and an os with mimimal jitter in handling the interrupts.

    If Ubuntu doesn't fix this soon I'll just go to bsd.


    In the Mototola Oncore, the serial stream includes an offset value, specifying how many ns (+/-) the PPS pulse is/was from the true time.


    It is of course mostly moot since any sub-100 ns stratum 1 server is
    effectively perfect as seen from its clients.

    Since ntp really wants to see at least 3 sources, I have 2 of these

    In my own setup I had 5 geographically separated S1 servers, 3 of them
    using GPS, plus a Meinberg receiver close to the DCF77 transmitter
    location in Germany which locked onto the pseudo-random jitter of that transmitter. This provided ~10-20 us accuracy.

    Similarly, the S1 server in Tampa, FL used the US cell phone network to
    get ~12 us precision.

    On top of these S1 servers I had 6 S2 servers with a pair in each of the
    3 main datacenters, all of these connected to every S1 server.

    Finally, every NTP client machine was configured to use all (6) S2 servers.

    things on the local 100 Base-Tx network to keep this server sane.

    https://www.ebay.com/itm/255114568844

    This is a nice box at an extremely good price, nothing like this was available 20+ years ago, unless you made it yourself.

    Actually, boxes like this did show up about 20 years ago but they were
    many thousands of dollar rack mount boxes, not $90 boxes the size of
    a deck of cards.

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jakob Bohm@jb-usenet@wisemo.invalid to comp.protocols.time.ntp on Thu Sep 5 05:01:09 2024
    From Newsgroup: comp.protocols.time.ntp

    On 2024-09-03 22:53, Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Anyone have a suggestion for a GOOD linux distro for a stratum 1 server? >>>>
    The best ntpd server OS have traditionally always been FreeBSD, since
    the time when phk was both a FreeBSD kernel hacker and member of the NTP >>>> Hackers group.


    Backgound:

    I have a serial attached black box containing a GNSS receiver and a
    disciplined, temperature controlled oscillator which has a PPS accuracy >>>>> of +/- 1 nanosecond I have been using for years with Ubuntu as a stratum >>
    That is an amazing claim, I have never personally seen any GPS-delivered
    PPS signal much better than 10-20 ns RMS, and for that to also have
    zero bias, you need to correct for the length and phase delay of the
    antenna, as well as the length of the PPS signal cable that delivers the
    time ticks to the kernel/ppsapi.

    It is NOT just a GNSS receiver, it is also a precision, disiplined
    oscillator and takes a couple of days to stabilize to 1 ns.

    The specs are for the connectors on the box.

    The antenna cable length has no effect on the stabilized pps accuracy,
    just the location accuracy which is a don't care for ntp.


    Actually, the antenna cable will delay all the radio sources of time by
    the cable length divided by the speed of light in copper, thus every
    20cm of cable would make the time measurements at the other end of that
    antenna cable late by 1ns more than if the cable length was zero. This
    is the kind of problem the offset fudge in ntp.conf is meant to correct.

    All current GNSS systems are essentially time stamp broadcasts where the receiver then uses trigonometry to eliminate the speed of light in air
    and vacuum delay from transmitters to antenna, however this correction
    cannot measure or correct the common delay in the shared antenna cable,
    nor the minimum of delays through multiple antenna cables from antennas
    with well defined mutual distances.

    https://www.ebay.com/itm/265090375590 for an example.

    It is of course mostly moot since any sub-100 ns stratum 1 server is
    effectively perfect as seen from its clients.

    Since ntp really wants to see at least 3 sources, I have 2 of these
    things on the local 100 Base-Tx network to keep this server sane.

    https://www.ebay.com/itm/255114568844

    ntp processing jitter limits the actual accuracy achievable. To get
    better performance I could dump UNIX like os's and switch to a real-time operating system, but at this point what I have is good enough for what
    I do.




    Enjoy

    Jakob
    --
    Jakob Bohm, CIO, Partner, WiseMo A/S. https://www.wisemo.com
    Transformervej 29, 2860 Søborg, Denmark. Direct +45 31 13 16 10
    This public discussion message is non-binding and may contain errors.
    WiseMo - Remote Service Management for PCs, Phones and Embedded
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Miroslav Lichvar@mlichvar@redhat.com to comp.protocols.time.ntp on Thu Sep 5 07:12:28 2024
    From Newsgroup: comp.protocols.time.ntp

    On 2024-09-04, Jim Pennino <jimp@gonzo.specsol.net> wrote:
    I have found that the limitation is how the hardware and software
    handles interrupts on the serial ports. PCI cards have software
    interrupts with LOTS of jitter and are useless for achieving the
    accuracy obtainable from this box. You need a legacy serial port
    with hardware interrupts and an os with mimimal jitter in handling the interrupts.

    For sub-microsecond accuracy you need to avoid interrupts in the timing
    path completely. That means hardware timestamping. The cheapest way to
    do that is connecting the PPS signal to one of the SDPs on the I210
    network card.

    If Ubuntu doesn't fix this soon I'll just go to bsd.

    You will need to build your own kernel if you need the kernel PPS
    discipline. No Linux distro that I know of has this feature enabled,
    because it conflicts with the tickless mode.
    --
    Miroslav Lichvar
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jim Pennino@jimp@gonzo.specsol.net to comp.protocols.time.ntp on Thu Sep 5 06:07:37 2024
    From Newsgroup: comp.protocols.time.ntp

    Jakob Bohm <jb-usenet@wisemo.invalid> wrote:
    On 2024-09-03 22:53, Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Anyone have a suggestion for a GOOD linux distro for a stratum 1 server? >>>>>
    The best ntpd server OS have traditionally always been FreeBSD, since >>>>> the time when phk was both a FreeBSD kernel hacker and member of the NTP >>>>> Hackers group.


    Backgound:

    I have a serial attached black box containing a GNSS receiver and a >>>>>> disciplined, temperature controlled oscillator which has a PPS accuracy >>>>>> of +/- 1 nanosecond I have been using for years with Ubuntu as a stratum >>>
    That is an amazing claim, I have never personally seen any GPS-delivered >>> PPS signal much better than 10-20 ns RMS, and for that to also have
    zero bias, you need to correct for the length and phase delay of the
    antenna, as well as the length of the PPS signal cable that delivers the >>> time ticks to the kernel/ppsapi.

    It is NOT just a GNSS receiver, it is also a precision, disiplined
    oscillator and takes a couple of days to stabilize to 1 ns.

    The specs are for the connectors on the box.

    The antenna cable length has no effect on the stabilized pps accuracy,
    just the location accuracy which is a don't care for ntp.


    Actually, the antenna cable will delay all the radio sources of time by
    the cable length divided by the speed of light in copper, thus every
    20cm of cable would make the time measurements at the other end of that antenna cable late by 1ns more than if the cable length was zero. This
    is the kind of problem the offset fudge in ntp.conf is meant to correct.

    All current GNSS systems are essentially time stamp broadcasts where the receiver then uses trigonometry to eliminate the speed of light in air
    and vacuum delay from transmitters to antenna, however this correction
    cannot measure or correct the common delay in the shared antenna cable,
    nor the minimum of delays through multiple antenna cables from antennas
    with well defined mutual distances.

    Which when all is said and done shows up as a constant offset which is
    why you need at least two more sources of time and offset fudge.

    However it will take heroic efforts to get processing jitter down to
    fractions of a millisecond, so it is a don't care.

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jim Pennino@jimp@gonzo.specsol.net to comp.protocols.time.ntp on Thu Sep 5 10:07:34 2024
    From Newsgroup: comp.protocols.time.ntp

    Miroslav Lichvar <mlichvar@redhat.com> wrote:
    On 2024-09-04, Jim Pennino <jimp@gonzo.specsol.net> wrote:
    I have found that the limitation is how the hardware and software
    handles interrupts on the serial ports. PCI cards have software
    interrupts with LOTS of jitter and are useless for achieving the
    accuracy obtainable from this box. You need a legacy serial port
    with hardware interrupts and an os with mimimal jitter in handling the
    interrupts.

    For sub-microsecond accuracy you need to avoid interrupts in the timing
    path completely. That means hardware timestamping. The cheapest way to
    do that is connecting the PPS signal to one of the SDPs on the I210
    network card.

    If Ubuntu doesn't fix this soon I'll just go to bsd.

    You will need to build your own kernel if you need the kernel PPS
    discipline. No Linux distro that I know of has this feature enabled,
    because it conflicts with the tickless mode.


    I was referring to kernal support for the ability to process the PPS
    signal at all, as in:

    ldattach -8 -n -s 9600 PPS /dev/ttyS0

    which has been available in just about every UNIX/Linux for many
    decades.

    While all the commands are still there, in the latest os upgrade it all
    just stopped working when it had been working for years and ntpq now
    shows xNMEA(0) instead of the normal oNMEA(0).


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Terje Mathisen@terje.mathisen@tmsw.no to comp.protocols.time.ntp on Thu Sep 5 19:16:56 2024
    From Newsgroup: comp.protocols.time.ntp

    Jim Pennino wrote:
    Jakob Bohm <jb-usenet@wisemo.invalid> wrote:
    On 2024-09-03 22:53, Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Anyone have a suggestion for a GOOD linux distro for a stratum 1 server?

    The best ntpd server OS have traditionally always been FreeBSD, since >>>>>> the time when phk was both a FreeBSD kernel hacker and member of the NTP >>>>>> Hackers group.


    Backgound:

    I have a serial attached black box containing a GNSS receiver and a >>>>>>> disciplined, temperature controlled oscillator which has a PPS accuracy >>>>>>> of +/- 1 nanosecond I have been using for years with Ubuntu as a stratum

    That is an amazing claim, I have never personally seen any GPS-delivered >>>> PPS signal much better than 10-20 ns RMS, and for that to also have >>>> zero bias, you need to correct for the length and phase delay of the
    antenna, as well as the length of the PPS signal cable that delivers the >>>> time ticks to the kernel/ppsapi.

    It is NOT just a GNSS receiver, it is also a precision, disiplined
    oscillator and takes a couple of days to stabilize to 1 ns.

    The specs are for the connectors on the box.

    The antenna cable length has no effect on the stabilized pps accuracy,
    just the location accuracy which is a don't care for ntp.


    Actually, the antenna cable will delay all the radio sources of time by
    the cable length divided by the speed of light in copper, thus every
    20cm of cable would make the time measurements at the other end of that
    antenna cable late by 1ns more than if the cable length was zero. This
    is the kind of problem the offset fudge in ntp.conf is meant to correct.

    All current GNSS systems are essentially time stamp broadcasts where the
    receiver then uses trigonometry to eliminate the speed of light in air
    and vacuum delay from transmitters to antenna, however this correction
    cannot measure or correct the common delay in the shared antenna cable,
    nor the minimum of delays through multiple antenna cables from antennas
    with well defined mutual distances.

    Which when all is said and done shows up as a constant offset which is
    why you need at least two more sources of time and offset fudge.

    However it will take heroic efforts to get processing jitter down to fractions of a millisecond, so it is a don't care.

    Rather the opposite: Way back in 1995, in the Pentium days, we had just
    gotten the RDTSC time stamp counter which allowed close to zero-cost fractional microsecond timestamps, the CPU frequency was constant (no
    scaling or spread spectrum), and IRQ latency was close to constant.

    Under those circumstances it was _easy_ to sync systems within the same
    WAN area to the sub-100 us range, with sub-10 typically what we saw.

    Way back in 1982 I wrote my first hw interrupt driver, to handle serial
    port RS232 traffic on 4.77 MHz 8088 PCs, something I could do reliably
    at 19200 baud, i.e. sub-0.5 ms total response time, since otherwise the single-byte receive buffer got overwritten by the next character.

    Spool forward 10-15 years to where the CPU frequency had improved by
    ~20x and cycles per instruction by 4-5x and you see that getting close
    to 1 us is doable.

    Terje
    --
    - <Terje.Mathisen at tmsw.no>
    "almost all programming can be viewed as an exercise in caching"
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jim Pennino@jimp@gonzo.specsol.net to comp.protocols.time.ntp on Thu Sep 5 11:28:28 2024
    From Newsgroup: comp.protocols.time.ntp

    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Jakob Bohm <jb-usenet@wisemo.invalid> wrote:
    On 2024-09-03 22:53, Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Anyone have a suggestion for a GOOD linux distro for a stratum 1 server?

    The best ntpd server OS have traditionally always been FreeBSD, since >>>>>>> the time when phk was both a FreeBSD kernel hacker and member of the NTP
    Hackers group.


    Backgound:

    I have a serial attached black box containing a GNSS receiver and a >>>>>>>> disciplined, temperature controlled oscillator which has a PPS accuracy
    of +/- 1 nanosecond I have been using for years with Ubuntu as a stratum

    That is an amazing claim, I have never personally seen any GPS-delivered >>>>> PPS signal much better than 10-20 ns RMS, and for that to also have >>>>> zero bias, you need to correct for the length and phase delay of the >>>>> antenna, as well as the length of the PPS signal cable that delivers the >>>>> time ticks to the kernel/ppsapi.

    It is NOT just a GNSS receiver, it is also a precision, disiplined
    oscillator and takes a couple of days to stabilize to 1 ns.

    The specs are for the connectors on the box.

    The antenna cable length has no effect on the stabilized pps accuracy, >>>> just the location accuracy which is a don't care for ntp.


    Actually, the antenna cable will delay all the radio sources of time by
    the cable length divided by the speed of light in copper, thus every
    20cm of cable would make the time measurements at the other end of that
    antenna cable late by 1ns more than if the cable length was zero. This
    is the kind of problem the offset fudge in ntp.conf is meant to correct. >>>
    All current GNSS systems are essentially time stamp broadcasts where the >>> receiver then uses trigonometry to eliminate the speed of light in air
    and vacuum delay from transmitters to antenna, however this correction
    cannot measure or correct the common delay in the shared antenna cable,
    nor the minimum of delays through multiple antenna cables from antennas
    with well defined mutual distances.

    Which when all is said and done shows up as a constant offset which is
    why you need at least two more sources of time and offset fudge.

    However it will take heroic efforts to get processing jitter down to
    fractions of a millisecond, so it is a don't care.

    Rather the opposite: Way back in 1995, in the Pentium days, we had just gotten the RDTSC time stamp counter which allowed close to zero-cost fractional microsecond timestamps, the CPU frequency was constant (no scaling or spread spectrum), and IRQ latency was close to constant.

    Under those circumstances it was _easy_ to sync systems within the same
    WAN area to the sub-100 us range, with sub-10 typically what we saw.

    Way back in 1982 I wrote my first hw interrupt driver, to handle serial
    port RS232 traffic on 4.77 MHz 8088 PCs, something I could do reliably
    at 19200 baud, i.e. sub-0.5 ms total response time, since otherwise the single-byte receive buffer got overwritten by the next character.

    Spool forward 10-15 years to where the CPU frequency had improved by
    ~20x and cycles per instruction by 4-5x and you see that getting close
    to 1 us is doable.

    Terje

    My experience with today's PC hardware and software says good luck
    getting offset jitter to under 1 us.

    I have no desire to build either custom hardware or software.

    One thing you are missing is software bloat over the years. On the
    system where this box is attached, the os is a minimal install and has
    at any time ~200 processes running on 4 2.41GHz cores.

    I also have a Raspberry Pi 4 with a late GNSS hat running as a stratum 1
    server whose statistics I graph. Most of the time the jitter in the
    offset is in the ~200 us range, but when it is doing something it goes
    to over 1.5 ms.

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Miroslav Lichvar@mlichvar@redhat.com to comp.protocols.time.ntp on Mon Sep 9 09:08:02 2024
    From Newsgroup: comp.protocols.time.ntp

    On 2024-09-05, Jim Pennino <jimp@gonzo.specsol.net> wrote:
    Miroslav Lichvar <mlichvar@redhat.com> wrote:
    You will need to build your own kernel if you need the kernel PPS
    discipline. No Linux distro that I know of has this feature enabled,
    because it conflicts with the tickless mode.


    I was referring to kernal support for the ability to process the PPS
    signal at all, as in:

    Did you disable flag3 (kernel PPS discipline) for in your configuration?
    By upgrading Ubuntu from 22.04 to 24.04 you switched from ntp to ntpsec.
    ntp falls back to non-hardpps mode when the kernel does not support it.
    ntpsec does not.
    --
    Miroslav Lichvar
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From David Woolley@david@ex.djwhome.demon.invalid to comp.protocols.time.ntp on Thu Sep 12 12:20:35 2024
    From Newsgroup: comp.protocols.time.ntp

    On 05/09/2024 04:01, Jakob Bohm wrote:
    Actually, the antenna cable will delay all the radio sources of time by
    the cable length divided by the speed of light in copper,

    The speed of light in polyethylene might be more accurate, as the signal propagates in the dielectric, not in the conductor. It's more
    complicated than that, as you are also dealing with a waveguide, so I
    think that even an air dielectric cable has a velocity factor less than
    1 (.93 for one example, in Wikipedia.)

    Velocity factor is also frequency dependent, so we are really talking
    about the velocity factor in the low GHz range.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From brian.inglis@brian.inglis@systematicsw.ab.ca to questions on Fri Sep 13 06:53:00 2024
    From Newsgroup: comp.protocols.time.ntp

    On 2024-09-05 12:28, Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Jakob Bohm <jb-usenet@wisemo.invalid> wrote:
    On 2024-09-03 22:53, Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Anyone have a suggestion for a GOOD linux distro for a stratum 1 server?

    The best ntpd server OS have traditionally always been FreeBSD, since >>>>>>>> the time when phk was both a FreeBSD kernel hacker and member of the NTP
    Hackers group.


    Backgound:

    I have a serial attached black box containing a GNSS receiver and a >>>>>>>>> disciplined, temperature controlled oscillator which has a PPS accuracy
    of +/- 1 nanosecond I have been using for years with Ubuntu as a stratum

    That is an amazing claim, I have never personally seen any GPS-delivered >>>>>> PPS signal much better than 10-20 ns RMS, and for that to also have >>>>>> zero bias, you need to correct for the length and phase delay of the >>>>>> antenna, as well as the length of the PPS signal cable that delivers the >>>>>> time ticks to the kernel/ppsapi.

    It is NOT just a GNSS receiver, it is also a precision, disiplined
    oscillator and takes a couple of days to stabilize to 1 ns.

    The specs are for the connectors on the box.

    The antenna cable length has no effect on the stabilized pps accuracy, >>>>> just the location accuracy which is a don't care for ntp.


    Actually, the antenna cable will delay all the radio sources of time by >>>> the cable length divided by the speed of light in copper, thus every
    20cm of cable would make the time measurements at the other end of that >>>> antenna cable late by 1ns more than if the cable length was zero. This >>>> is the kind of problem the offset fudge in ntp.conf is meant to correct. >>>>
    All current GNSS systems are essentially time stamp broadcasts where the >>>> receiver then uses trigonometry to eliminate the speed of light in air >>>> and vacuum delay from transmitters to antenna, however this correction >>>> cannot measure or correct the common delay in the shared antenna cable, >>>> nor the minimum of delays through multiple antenna cables from antennas >>>> with well defined mutual distances.

    Which when all is said and done shows up as a constant offset which is
    why you need at least two more sources of time and offset fudge.

    However it will take heroic efforts to get processing jitter down to
    fractions of a millisecond, so it is a don't care.

    Rather the opposite: Way back in 1995, in the Pentium days, we had just
    gotten the RDTSC time stamp counter which allowed close to zero-cost
    fractional microsecond timestamps, the CPU frequency was constant (no
    scaling or spread spectrum), and IRQ latency was close to constant.

    Under those circumstances it was _easy_ to sync systems within the same
    WAN area to the sub-100 us range, with sub-10 typically what we saw.

    Way back in 1982 I wrote my first hw interrupt driver, to handle serial
    port RS232 traffic on 4.77 MHz 8088 PCs, something I could do reliably
    at 19200 baud, i.e. sub-0.5 ms total response time, since otherwise the
    single-byte receive buffer got overwritten by the next character.

    Spool forward 10-15 years to where the CPU frequency had improved by
    ~20x and cycles per instruction by 4-5x and you see that getting close
    to 1 us is doable.

    Terje

    My experience with today's PC hardware and software says good luck
    getting offset jitter to under 1 us.

    I have no desire to build either custom hardware or software.

    One thing you are missing is software bloat over the years. On the
    system where this box is attached, the os is a minimal install and has
    at any time ~200 processes running on 4 2.41GHz cores.

    I also have a Raspberry Pi 4 with a late GNSS hat running as a stratum 1 server whose statistics I graph. Most of the time the jitter in the
    offset is in the ~200 us range, but when it is doing something it goes
    to over 1.5 ms.

    On an older system:

    - with spread spectrum and frequency variation disabled (except for temperature
    limiting)
    - wired via an RS232F TTL compatible serial port to a Garmin GPS 18x LVC with PPS on DCD, powered via an always on USB port
    - running Windows 7/10, Meinberg ntpd, loopback-ppsapi-provider.dll enabled
    - pinned to cpu 3/4, on realtime priority
    - good stratum 1 backup/calibration sources

    I got stable frequency drift, and offset mostly within +/-500ns, as measured by
    ntpd loopstats, although with Windows there were always random hiccups for untraceable reasons.

    It is harder now to stop CPUs doing no frequency hopping or power saving, which
    might be good for crypto security, but plays hell with timekeeping!
    --
    Take care. Thanks, Brian Inglis Calgary, Alberta, Canada

    La perfection est atteinte Perfection is achieved
    non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
    -- Antoine de Saint-Exupéry

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jim Pennino@jimp@gonzo.specsol.net to comp.protocols.time.ntp on Fri Sep 13 16:08:46 2024
    From Newsgroup: comp.protocols.time.ntp

    Miroslav Lichvar <mlichvar@redhat.com> wrote:
    On 2024-09-05, Jim Pennino <jimp@gonzo.specsol.net> wrote:
    Miroslav Lichvar <mlichvar@redhat.com> wrote:
    You will need to build your own kernel if you need the kernel PPS
    discipline. No Linux distro that I know of has this feature enabled,
    because it conflicts with the tickless mode.


    I was referring to kernal support for the ability to process the PPS
    signal at all, as in:

    Did you disable flag3 (kernel PPS discipline) for in your configuration?
    By upgrading Ubuntu from 22.04 to 24.04 you switched from ntp to ntpsec.
    ntp falls back to non-hardpps mode when the kernel does not support it. ntpsec does not.

    I have reconfigured per the ntpsec method with separate nmea and pps:

    refclock nmea minpoll 4 iburst flag1 0
    refclock pps flag2 0

    Now ntpq shows:

    NMEA(0) .GPS. 0 l - 16 0 0.0000 0.0000 1.9531 xPPS(0) .PPS. 0 l 26 64 377 0.0000 -0.2407 0.1137

    Yes, there is NMEA data at 9600 baud.


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jim Pennino@jimp@gonzo.specsol.net to comp.protocols.time.ntp on Fri Sep 13 16:11:40 2024
    From Newsgroup: comp.protocols.time.ntp

    David Woolley <david@ex.djwhome.demon.invalid> wrote:
    On 05/09/2024 04:01, Jakob Bohm wrote:
    Actually, the antenna cable will delay all the radio sources of time by
    the cable length divided by the speed of light in copper,

    The speed of light in polyethylene might be more accurate, as the signal propagates in the dielectric, not in the conductor. It's more
    complicated than that, as you are also dealing with a waveguide, so I
    think that even an air dielectric cable has a velocity factor less than
    1 (.93 for one example, in Wikipedia.)

    Velocity factor is also frequency dependent, so we are really talking
    about the velocity factor in the low GHz range.

    The VF for the coax used on GPS antennas I've seen is about .89.

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From George R. Kasica@gkasica@netwrx1.com to questions@lists.ntp.org on Sat Sep 14 02:23:05 2024
    From Newsgroup: comp.protocols.time.ntp

    --_000_d6fd7e3b48374b8b8e75781869596c56Spark_
    Content-Type: text/plain; charset="utf-8"
    Content-Transfer-Encoding: base64

    U28gd2hhdCB5b3XigJlyZSBzYXlpbmcgaXMgVWJ1bnR1IDI0LnggY2Fubm90IHN1cHBvcnQgb3Bz LiBJcyB0aGVyZSBhIGNoYW5nZSBvZiBjb25maWd1cmF0aW9uIHRoYXQgeW91IGNhbiBtYWtlIHRv IGdldCBpdCB3b3JraW5nIGxpa2UgZWFybGllciB2ZXJzaW9ucz8gSeKAmXZlIGdvdCBhIHBhaXIg b2YgMjAueCBZYnVudHUgc2VydmVycyBoZXJlIGFuZCBJIHdhcyBqdXN0IGFib3V0IHRvIHN0YXJ0 IHRoYXQgcHJvamVjdC4NCg0K4oCUDQo9PT1bR2VvcmdlIEthc2ljYV09PT0NCvCfh7rwn4emDQpP biBTZXAgMTMsIDIwMjQgYXQgMTg6NDcgLTA1MDAsIEppbSBQZW5uaW5vIDxqaW1wQGdvbnpvLnNw ZWNzb2wubmV0Piwgd3JvdGU6DQpNaXJvc2xhdiBMaWNodmFyIDxtbGljaHZhckByZWRoYXQuY29t PiB3cm90ZToNCk9uIDIwMjQtMDktMDUsIEppbSBQZW5uaW5vIDxqaW1wQGdvbnpvLnNwZWNzb2wu bmV0PiB3cm90ZToNCk1pcm9zbGF2IExpY2h2YXIgPG1saWNodmFyQHJlZGhhdC5jb20+IHdyb3Rl Og0KWW91IHdpbGwgbmVlZCB0byBidWlsZCB5b3VyIG93biBrZXJuZWwgaWYgeW91IG5lZWQgdGhl IGtlcm5lbCBQUFMNCmRpc2NpcGxpbmUuIE5vIExpbnV4IGRpc3RybyB0aGF0IEkga25vdyBvZiBo YXMgdGhpcyBmZWF0dXJlIGVuYWJsZWQsDQpiZWNhdXNlIGl0IGNvbmZsaWN0cyB3aXRoIHRoZSB0 aWNrbGVzcyBtb2RlLg0KDQoNCkkgd2FzIHJlZmVycmluZyB0byBrZXJuYWwgc3VwcG9ydCBmb3Ig dGhlIGFiaWxpdHkgdG8gcHJvY2VzcyB0aGUgUFBTDQpzaWduYWwgYXQgYWxsLCBhcyBpbjoNCg0K RGlkIHlvdSBkaXNhYmxlIGZsYWczIChrZXJuZWwgUFBTIGRpc2NpcGxpbmUpIGZvciBpbiB5b3Vy IGNvbmZpZ3VyYXRpb24/DQpCeSB1cGdyYWRpbmcgVWJ1bnR1IGZyb20gMjIuMDQgdG8gMjQuMDQg eW91IHN3aXRjaGVkIGZyb20gbnRwIHRvIG50cHNlYy4NCm50cCBmYWxscyBiYWNrIHRvIG5vbi1o YXJkcHBzIG1vZGUgd2hlbiB0aGUga2VybmVsIGRvZXMgbm90IHN1cHBvcnQgaXQuDQpudHBzZWMg ZG9lcyBub3QuDQoNCkkgaGF2ZSByZWNvbmZpZ3VyZWQgcGVyIHRoZSBudHBzZWMgbWV0aG9kIHdp dGggc2VwYXJhdGUgbm1lYSBhbmQgcHBzOg0KDQpyZWZjbG9jayBubWVhIG1pbnBvbGwgNCBpYnVy c3QgZmxhZzEgMA0KcmVmY2xvY2sgcHBzIGZsYWcyIDANCg0KTm93IG50cHEgc2hvd3M6DQoNCk5N RUEoMCkgLkdQUy4gMCBsIC0gMTYgMCAwLjAwMDAgMC4wMDAwIDEuOTUzMQ0KeFBQUygwKSAuUFBT LiAwIGwgMjYgNjQgMzc3IDAuMDAwMCAtMC4yNDA3IDAuMTEzNw0KDQpZZXMsIHRoZXJlIGlzIE5N RUEgZGF0YSBhdCA5NjAwIGJhdWQuDQoNCg0K

    --_000_d6fd7e3b48374b8b8e75781869596c56Spark_
    Content-Type: text/html; charset="utf-8"
    Content-ID: <EE8CDB00BA7F9043AB251E05DC4559AC@namprd13.prod.outlook.com> Content-Transfer-Encoding: base64

    PGh0bWwgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiPg0KPGhlYWQ+DQo8bWV0 YSBodHRwLWVxdWl2PSJD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CBm cm9tIG50cCB0byBudHBzZWMuPGJyPg0KbnRwIGZhbGxzIGJhY2sgdG8gbm9uLWhhcmRwcHMgbW9k ZSB3aGVuIHRoZSBrZXJuZWwgZG9lcyBub3Qgc3VwcG9ydCBpdC48YnI+DQpudHBzZWMgZG9lcyBu b3QuPGJyPg0KPC9ibG9ja3F1b3RlPg0KPGJyPg0KSSBoYXZlIHJlY29uZmlndXJlZCBwZXIgdGhl IG50cHNlYyBtZXRob2Qgd2l0aCBzZXBhcmF0ZSBubWVhIGFuZCBwcHM6PGJyPg0KPGJyPg0KcmVm Y2xvY2sgbm1lYSBtaW5wb2xsIDQgaWJ1cnN0IGZsYWcxIDA8YnI+DQpyZWZjbG9jayBwcHMgZmxh ZzIgMDxicj4NCjxicj4NCk5vdyBudHBxIHNob3dzOjxicj4NCjxicj4NCk5NRUEoMCkgLkdQUy4g MCBsIC0gMTYgMCAwLjAwMDAgMC4wMDAwIDEuOTUzMTxicj4NCnhQUFMoMCkgLlBQUy4gMCBsIDI2 IDY0IDM3NyAwLjAwMDAgLTAuMjQwNyAwLjExMzc8YnI+DQo8YnI+DQpZZXMsIHRoZXJlIGlzIE5N RUEgZGF0YSBhdCA5NjAwIGJhdWQuPGJyPg0KPGJyPg0KPGJyPg0KPC9ibG9ja3F1b3RlPg0KPC9k aXY+DQo8L2JvZHk+DQo8L2h0bWw+DQo=

    --_000_d6fd7e3b48374b8b8e75781869596c56Spark_--

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jim Pennino@jimp@gonzo.specsol.net to comp.protocols.time.ntp on Sat Sep 14 07:50:27 2024
    From Newsgroup: comp.protocols.time.ntp

    Jim Pennino <jimp@gonzo.specsol.net> wrote:
    Anyone have a suggestion for a GOOD linux distro for a stratum 1 server?

    Backgound:

    I have a serial attached black box containing a GNSS receiver and a disciplined, temperature controlled oscillator which has a PPS accuracy
    of +/- 1 nanosecond I have been using for years with Ubuntu as a stratum
    1 ntp server with very good results.

    I recently upgraded the OS to 24.04.1 and ntp went insane because it
    appears that the latest release no longer supports the ppsapi.

    I was away for a week and during that time unattended updates upgraded
    kernels twice as well as a bunch of other packages.

    The symptoms I'm having have changed.

    I now have:

    refclock nmea flag1 0 baud 9600 minpoll 4 time1 0.000
    refclock pps minpoll 4 flag2 0 time1 0.000

    ntpq now reports:

    xNMEA(0) .GPS. 0 l 15 16 377 0.0000 -95.6311 0.4164 xPPS(0) .PPS. 0 l 14 16 377 0.0000 0.6795 0.0394 *192.168.0.100 .PPS. 1 u 122 128 377 0.1153 -0.3463 0.0708 +192.168.0.101 .PPS. 1 u 56 128 377 0.1238 -0.3038 0.0416

    Adjusting time1 seems to have no effect.


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From David Taylor via questions Mailing List@questions@lists.ntp.org to questions on Sun Sep 15 02:08:00 2024
    From Newsgroup: comp.protocols.time.ntp

    On 14/09/2024 00:08, Jim Pennino wrote:
    Now ntpq shows:

    NMEA(0) .GPS. 0 l - 16 0 0.0000 0.0000 1.9531
    xPPS(0) .PPS. 0 l 26 64 377 0.0000 -0.2407 0.1137

    Yes, there is NMEA data at 9600 baud.
    I may be wrong, but PPS won't be supported until at least one other server has been locked (has a good enough reach), so here as the NMEA has zero reach the PPS won't be used (status is "x").
    Cheers,
    David
    --
    SatSignal Software - Quality software for you
    Web: https://www.satsignal.eu
    Email: davidtaylor@writeme.com
    Twitter: @gm8arv
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jim Pennino@jimp@gonzo.specsol.net to comp.protocols.time.ntp on Sun Sep 15 06:01:57 2024
    From Newsgroup: comp.protocols.time.ntp

    David Taylor via questions Mailing List <questions@lists.ntp.org> wrote:
    On 14/09/2024 00:08, Jim Pennino wrote:
    Now ntpq shows:

    NMEA(0) .GPS. 0 l - 16 0 0.0000 0.0000 1.9531
    xPPS(0) .PPS. 0 l 26 64 377 0.0000 -0.2407 0.1137

    Yes, there is NMEA data at 9600 baud.

    I may be wrong, but PPS won't be supported until at least one other server has
    been locked (has a good enough reach), so here as the NMEA has zero reach the PPS won't be used (status is "x").

    There are 2 other local stratum 1 servers, not shown, in the
    configuration.

    The whole thing is moot now as after the last batch of distro updates everything magically started working again.

    The moral here is don't be the first one on the block to do a major
    distro update.


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From chrisq@devzero@nospam.com to comp.protocols.time.ntp on Thu Sep 26 00:03:49 2024
    From Newsgroup: comp.protocols.time.ntp

    On 9/3/24 18:56, Terje Mathisen wrote:
    Jim Pennino wrote:
    Anyone have a suggestion for a GOOD linux distro for a stratum 1 server?

    The best ntpd server OS have traditionally always been FreeBSD, since
    the time when phk was both a FreeBSD kernel hacker and member of the NTP Hackers group.


    Backgound:

    I have a serial attached black box containing a GNSS receiver and a
    disciplined, temperature controlled oscillator which has a PPS accuracy
    of +/- 1 nanosecond I have been using for years with Ubuntu as a stratum
    1 ntp server with very good results.

    I recently upgraded the OS to 24.04.1 and ntp went insane because it
    appears that the latest release no longer supports the ppsapi.

    A long time ago, ppsapi was something that could either be part of the kernel, or a loadable module. Is this no longer the case?

    Terje


    Also run FreeBSD. Completely stripped down to essentials, with a
    ttl to RS232 adapter (5$ Ebay), for the pps signal. Rock solid and up
    to a recent restart, had an uptime of over 320 days. It is on the lab
    up

    root@ntp-host:~ # ntpq -pn
    remote refid st t when poll reach delay offset jitter ===================================================================== o127.127.22.0 .PPS. 0 l 7 8 377 0.000 -0.002 0.001
    192.9.200.167 .STEP. 16 u - 1024 0 0.000 0.000 0.000 *192.9.200.168 .GPS. 1 u 39 64 377 0.177 -0.005 0.052
    192.9.200.169 .STEP. 16 u - 1024 0 0.000 0.000 0.000 +192.9.200.170 .GPS. 1 u 49 64 377 0.294 -0.048 0.021 -158.43.128.33 .GPS. 1 u 39 64 377 13.767 -0.412 0.324

    root@ntp-host:~ # uname -a
    FreeBSD ntp-host 12.0-RELEASE-p6 FreeBSD 12.0-RELEASE-p6 GENERIC amd64

    Chris





    s though.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From \@questions@lists.ntp.org to questions on Thu Sep 26 14:03:00 2024
    From Newsgroup: comp.protocols.time.ntp

    --------------ms050702020606070405050008
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64

    VGhpcyB0aHJlYWQgdHJpZ2dlcmVkIGEgcXVlc3Rpb24gdGhhdCBtYXksIG9yIG1heSBub3Qg YmUgcmVsYXRlZCBhbmQgDQpyZWxldmFudDoNCg0KVWJ1bnR1IG9mZmVycyBhICdsb3dsYXRl bmN5Jy1rZXJuZWwgYW5kIEkgaGF2ZSBhbHdheXMgd29uZGVyZWQgaWYgdGhhdCANCndvdWxk IG1ha2Ugc2Vuc2UgZm9yIGltcHJvdmluZyB0aGUgcHJlY2lzaW9uIG9mIGFuIE5UUCBzZXJ2 ZXIuDQoNCk9waW5pb25zPw0KDQotLSANCvCdk5zwnZOq8J2Tu/Cdk6zwnZO4IPCdk5PwnZOq 8J2Tv/Cdk7LwnZOt8J2TvA0KUmVzZWFyY2ggRW5naW5lZXINCg0KU0lETiB8IE1lYW5kZXIg NTAxIHwgNjgyNSBNRCB8IFBvc3RidXMgNTAyMiB8IDY4MDIgRUEgfCBBUk5IRU0NClQgKzMx ICgwKTI2IDM1MiA1NSAwMCB8IHd3dy5zaWRubGFicy5ubCB8IFR3aXR0ZXI6IEBtYXJjb2Rh dmlkcw0KaHR0cHM6Ly9tYXN0b2Rvbi5zb2NpYWwvQG1hcmNvZGF2aWRzIHwgTWF0cml4OiBA bWFyY286c2lkbmxhYnMubmwNCk5vc3RyOiAxMWVkMDFmZjI3N2Q5NDcwNWMyOTMxODY3Yjhk OTAwZDhiYWNjZTZmMjdhYWY3NDQwY2U5OGJiNTBlMDJmYjM0DQo=

    --------------ms050702020606070405050008
    Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64
    Content-Disposition: attachment; filename="smime.p7s"
    Content-Description: S/MIME-cryptografische ondertekening

    MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQM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AAAAAAA==

    --------------ms050702020606070405050008--

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jim Pennino@jimp@gonzo.specsol.net to comp.protocols.time.ntp on Thu Sep 26 07:56:52 2024
    From Newsgroup: comp.protocols.time.ntp

    "\"Marco Davids (SIDN)\" via questions Mailing List" <questions@lists.ntp.org> wrote:
    [-- text/plain, encoding base64, charset: UTF-8, 12 lines --]

    This thread triggered a question that may, or may not be related and relevant:

    Ubuntu offers a 'lowlatency'-kernel and I have always wondered if that
    would make sense for improving the precision of an NTP server.

    Opinions?

    I have been using the lowlatency kernel for a year or two now. It did
    reduce jitter noticeably when I made the switch, but I do not remember
    what the numbers were.

    From the plot of the clock offset, the amplitude of the jitter is about
    3 microseconds.

    This is for a source that has a temperature controlled and disciplined oscillator with a PPS specificaion of +/- 1 nanosecond.


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Ralph Blach@chip.from.nc@gmail.com to Jim Pennino on Thu Sep 26 16:33:00 2024
    From Newsgroup: comp.protocols.time.ntp

    --000000000000de7a060623083daf
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    I have been using the Standard Raspberry Pi distro along with the Adafruit
    GPS hat and it works great. If you want, I could send you instructions on
    how to set this up

    Chip

    On Thu, Sep 26, 2024 at 11:06=E2=80=AFAM Jim Pennino <jimp@gonzo.specsol.ne=
    wrote:

    "\"Marco Davids (SIDN)\" via questions Mailing List" < questions@lists.ntp.org> wrote:
    [-- text/plain, encoding base64, charset: UTF-8, 12 lines --]

    This thread triggered a question that may, or may not be related and relevant:

    Ubuntu offers a 'lowlatency'-kernel and I have always wondered if that would make sense for improving the precision of an NTP server.

    Opinions?

    I have been using the lowlatency kernel for a year or two now. It did
    reduce jitter noticeably when I made the switch, but I do not remember
    what the numbers were.

    From the plot of the clock offset, the amplitude of the jitter is about
    3 microseconds.

    This is for a source that has a temperature controlled and disciplined oscillator with a PPS specificaion of +/- 1 nanosecond.




    --=20
    Ralph "Chip" Blach
    (919) 260-0097

    --000000000000de7a060623083daf
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"ltr">I have been using the Standard Raspberry Pi distro along w= ith the Adafruit GPS hat and it works great.=C2=A0 If you want, I could sen=
    d you instructions on how to set this up<div><br></div><div>Chip</div></div= ><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Th=
    u, Sep 26, 2024 at 11:06=E2=80=AFAM Jim Pennino &lt;<a href=3D"mailto:jimp@= gonzo.specsol.net">jimp@gonzo.specsol.net</a>&gt; wrote:<br></div><blockquo=
    te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px = solid rgb(204,204,204);padding-left:1ex">&quot;\&quot;Marco Davids (SIDN)\&= quot; via questions Mailing List&quot; &lt;<a href=3D"mailto:questions@list= s.ntp.org" target=3D"_blank">questions@lists.ntp.org</a>&gt; wrote:<br>
    &gt; [-- text/plain, encoding base64, charset: UTF-8, 12 lines --]<br>
    &gt; <br>
    &gt; This thread triggered a question that may, or may not be related and <=

    &gt; relevant:<br>
    &gt; <br>
    &gt; Ubuntu offers a &#39;lowlatency&#39;-kernel and I have always wondered=
    if that <br>
    &gt; would make sense for improving the precision of an NTP server.<br>
    &gt; <br>
    &gt; Opinions?<br>

    I have been using the lowlatency kernel for a year or two now. It did<br> reduce jitter noticeably when I made the switch, but I do not remember<br>
    what the numbers were.<br>

    From the plot of the clock offset, the amplitude of the jitter is about<br>
    3 microseconds.<br>

    This is for a source that has a temperature controlled and disciplined<br> oscillator with a PPS specificaion of +/- 1 nanosecond.<br>


    </blockquote></div><br clear=3D"all"><div><br></div><span class=3D"gmail_si= gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Ra= lph &quot;Chip&quot; Blach<br>(919) 260-0097<br><br><br><br></div>

    --000000000000de7a060623083daf--

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jim Pennino@jimp@gonzo.specsol.net to comp.protocols.time.ntp on Thu Sep 26 10:09:22 2024
    From Newsgroup: comp.protocols.time.ntp

    Ralph Blach <chip.from.nc@gmail.com> wrote:
    [-- text/plain, encoding quoted-printable, charset: UTF-8, 38 lines --]

    I have been using the Standard Raspberry Pi distro along with the Adafruit GPS hat and it works great. If you want, I could send you instructions on how to set this up

    Thanks for the offer but I have been running such for years now.

    FYI I used to use an original GPS hat but switched to the GNSS hat,
    which runs much better.

    FYI the Pi/GNSS hat combination works well, but the PC/GNSSDO combintation
    is more than an order of magnitude better. "Better" being in terms of
    offset and jitter numbers.

    I have thought about connecting the GNSSDO to a Pi, but the lack of a
    true serial interface with control lines and an enclosure with a DB9
    connector has prevented that.

    I do not want exposed stuff or a connector hanging on a bunch of wires.



    Chip

    On Thu, Sep 26, 2024 at 11:06 AM Jim Pennino <jimp@gonzo.specsol.net> wrote:

    "\"Marco Davids (SIDN)\" via questions Mailing List" <
    questions@lists.ntp.org> wrote:
    [-- text/plain, encoding base64, charset: UTF-8, 12 lines --]

    This thread triggered a question that may, or may not be related and
    relevant:

    Ubuntu offers a 'lowlatency'-kernel and I have always wondered if that
    would make sense for improving the precision of an NTP server.

    Opinions?

    I have been using the lowlatency kernel for a year or two now. It did
    reduce jitter noticeably when I made the switch, but I do not remember
    what the numbers were.

    From the plot of the clock offset, the amplitude of the jitter is about
    3 microseconds.

    This is for a source that has a temperature controlled and disciplined
    oscillator with a PPS specificaion of +/- 1 nanosecond.




    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From chrisq@devzero@nospam.com to comp.protocols.time.ntp on Thu Oct 17 14:06:24 2024
    From Newsgroup: comp.protocols.time.ntp

    On 9/5/24 14:07, Jim Pennino wrote:

    However it will take heroic efforts to get processing jitter down to fractions of a millisecond, so it is a don't care.


    Don't find that to be the case at all. Not a particularly complex
    setup here, Freebsd os, 1pps into the dcd line on the serial port,
    and consistently get offsets in the 1-2 microsecond range and jitter
    of the same, 1-2 microseconds. Need to make sure the dcd pulse
    polarity is set correctly in ntp setup, positive or negative going
    edge.

    Don't worry too much about antenna cable delay either, which is
    in the low nanosecond range, irrelevant to the 1-2 microsecond
    offset ntp values. Several orders of magnitiude difference.

    Perhaps you are using the wrong os for the job, or perhaps real
    time preemptive mode is not enabled, or even available ?.

    Chris


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From brian.inglis@brian.inglis@systematicsw.ab.ca to questions on Thu Oct 17 17:13:00 2024
    From Newsgroup: comp.protocols.time.ntp

    On 2024-10-17 07:06, chrisq wrote:
    On 9/5/24 14:07, Jim Pennino wrote:
    However it will take heroic efforts to get processing jitter down to
    fractions of a millisecond, so it is a don't care.

    Don't find that to be the case at all. Not a particularly complex
    setup here, Freebsd os, 1pps into the dcd line on the serial port,
    and consistently get offsets in the 1-2 microsecond range and jitter
    of the same, 1-2 microseconds. Need to make sure the dcd pulse
    polarity is set correctly in ntp setup, positive or negative going
    edge.

    Don't worry too much about antenna cable delay either, which is
    in the low nanosecond range, irrelevant to the 1-2 microsecond
    offset ntp values. Several orders of magnitiude difference.

    Perhaps you are using the wrong os for the job, or perhaps real
    time preemptive mode is not enabled, or even available ?.

    Even on Windows (7/10) they are mainly consistently in that range, except for brief random system spikes, and as well as "RT" priority, CPU affinity/pinning (suggest last cpu), and "performance" power profiles can be helpful for consistency.
    --
    Take care. Thanks, Brian Inglis Calgary, Alberta, Canada

    La perfection est atteinte Perfection is achieved
    non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
    -- Antoine de Saint-Exupéry

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jakob Bohm@jb-usenet@wisemo.invalid to comp.protocols.time.ntp on Thu Nov 7 07:59:54 2024
    From Newsgroup: comp.protocols.time.ntp

    On 9/5/2024 8:28 PM, Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Jakob Bohm <jb-usenet@wisemo.invalid> wrote:
    On 2024-09-03 22:53, Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Anyone have a suggestion for a GOOD linux distro for a stratum 1 server?

    The best ntpd server OS have traditionally always been FreeBSD, since >>>>>>>> the time when phk was both a FreeBSD kernel hacker and member of the NTP
    Hackers group.


    Backgound:

    I have a serial attached black box containing a GNSS receiver and a >>>>>>>>> disciplined, temperature controlled oscillator which has a PPS accuracy
    of +/- 1 nanosecond I have been using for years with Ubuntu as a stratum

    That is an amazing claim, I have never personally seen any GPS-delivered >>>>>> PPS signal much better than 10-20 ns RMS, and for that to also have >>>>>> zero bias, you need to correct for the length and phase delay of the >>>>>> antenna, as well as the length of the PPS signal cable that delivers the >>>>>> time ticks to the kernel/ppsapi.

    It is NOT just a GNSS receiver, it is also a precision, disiplined
    oscillator and takes a couple of days to stabilize to 1 ns.

    The specs are for the connectors on the box.

    The antenna cable length has no effect on the stabilized pps accuracy, >>>>> just the location accuracy which is a don't care for ntp.


    Actually, the antenna cable will delay all the radio sources of time by >>>> the cable length divided by the speed of light in copper, thus every
    20cm of cable would make the time measurements at the other end of that >>>> antenna cable late by 1ns more than if the cable length was zero. This >>>> is the kind of problem the offset fudge in ntp.conf is meant to correct. >>>>
    All current GNSS systems are essentially time stamp broadcasts where the >>>> receiver then uses trigonometry to eliminate the speed of light in air >>>> and vacuum delay from transmitters to antenna, however this correction >>>> cannot measure or correct the common delay in the shared antenna cable, >>>> nor the minimum of delays through multiple antenna cables from antennas >>>> with well defined mutual distances.

    Which when all is said and done shows up as a constant offset which is
    why you need at least two more sources of time and offset fudge.

    However it will take heroic efforts to get processing jitter down to
    fractions of a millisecond, so it is a don't care.

    Rather the opposite: Way back in 1995, in the Pentium days, we had just
    gotten the RDTSC time stamp counter which allowed close to zero-cost
    fractional microsecond timestamps, the CPU frequency was constant (no
    scaling or spread spectrum), and IRQ latency was close to constant.

    Under those circumstances it was _easy_ to sync systems within the same
    WAN area to the sub-100 us range, with sub-10 typically what we saw.

    Way back in 1982 I wrote my first hw interrupt driver, to handle serial
    port RS232 traffic on 4.77 MHz 8088 PCs, something I could do reliably
    at 19200 baud, i.e. sub-0.5 ms total response time, since otherwise the
    single-byte receive buffer got overwritten by the next character.

    Spool forward 10-15 years to where the CPU frequency had improved by
    ~20x and cycles per instruction by 4-5x and you see that getting close
    to 1 us is doable.

    Terje

    My experience with today's PC hardware and software says good luck
    getting offset jitter to under 1 us.


    The approach I have been looking at for such tasks is to use a hardware
    time counter running at around 1 GHz with a hardware mechanism to
    capture the counter value (undisciplined timestamp) when the PPS signal arrives. Such hardware is included in some Texas Instruments SoCs, such
    as the AM3358B used on the open hardware BeagleBone cards . On this
    particular hardware, config data tells the SoC to use a particular GPIO
    pin in this way . Same SoC (but not the BeagleBone card) supports
    syncing this to the Ethernet hardware time stamping / sync mechanism on
    one of the Gigabit ports .

    One needs simply adjust kernel defines and drivers such that the chosen hardware counter register plus a disciplined factor and offset becomes
    the definition of the kernel realtime clock, the PPS interrupt handler
    then just needs to read back the hardware captured timestamp before it
    wraps after 4 seconds, then apply the factor and offset active at the
    captured time to produce a time value returned via the PPS ioctl
    to ntpd, which will then issue syscalls to adjust the kernel clock speed
    and time (by changing the factor and offset effective at the time of the adjustment call).

    If (as on that SoC), the hardware counter is only 32 bits, one also
    needs to chain an overflow counter to the hardware nanosecond counter,
    possibly via a small bit of code that checks for timer wrap every about
    2 seconds and whenever something reads the time for actual use. Some of
    that logic may already be in OS kernels as part of a generic mechanism
    for using such a hardware time register .

    Using the above idea, ntpd should be able to discipline the kernel timer
    (aka the adjusted scale/offset) to get closer to the jitter of the the
    used 1GHz system clock, limited by PPS pin I/O buffering granularity
    inside the chip .

    I have no desire to build either custom hardware or software.

    One thing you are missing is software bloat over the years. On the
    system where this box is attached, the os is a minimal install and has
    at any time ~200 processes running on 4 2.41GHz cores.

    I also have a Raspberry Pi 4 with a late GNSS hat running as a stratum 1 server whose statistics I graph. Most of the time the jitter in the
    offset is in the ~200 us range, but when it is doing something it goes
    to over 1.5 ms.



    Enjoy

    Jakob
    --
    Jakob Bohm, CIO, Partner, WiseMo A/S. https://www.wisemo.com
    Transformervej 29, 2860 Søborg, Denmark. Direct +45 31 13 16 10
    This public discussion message is non-binding and may contain errors.
    WiseMo - Remote Service Management for PCs, Phones and Embedded
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jim Pennino@jimp@gonzo.specsol.net to comp.protocols.time.ntp on Sat Nov 9 08:28:12 2024
    From Newsgroup: comp.protocols.time.ntp

    Jakob Bohm <jb-usenet@wisemo.invalid> wrote:
    On 9/5/2024 8:28 PM, Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Jakob Bohm <jb-usenet@wisemo.invalid> wrote:
    On 2024-09-03 22:53, Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Terje Mathisen <terje.mathisen@tmsw.no> wrote:
    Jim Pennino wrote:
    Anyone have a suggestion for a GOOD linux distro for a stratum 1 server?

    The best ntpd server OS have traditionally always been FreeBSD, since >>>>>>>>> the time when phk was both a FreeBSD kernel hacker and member of the NTP
    Hackers group.


    Backgound:

    I have a serial attached black box containing a GNSS receiver and a >>>>>>>>>> disciplined, temperature controlled oscillator which has a PPS accuracy
    of +/- 1 nanosecond I have been using for years with Ubuntu as a stratum

    That is an amazing claim, I have never personally seen any GPS-delivered
    PPS signal much better than 10-20 ns RMS, and for that to also have >>>>>>> zero bias, you need to correct for the length and phase delay of the >>>>>>> antenna, as well as the length of the PPS signal cable that delivers the
    time ticks to the kernel/ppsapi.

    It is NOT just a GNSS receiver, it is also a precision, disiplined >>>>>> oscillator and takes a couple of days to stabilize to 1 ns.

    The specs are for the connectors on the box.

    The antenna cable length has no effect on the stabilized pps accuracy, >>>>>> just the location accuracy which is a don't care for ntp.


    Actually, the antenna cable will delay all the radio sources of time by >>>>> the cable length divided by the speed of light in copper, thus every >>>>> 20cm of cable would make the time measurements at the other end of that >>>>> antenna cable late by 1ns more than if the cable length was zero. This >>>>> is the kind of problem the offset fudge in ntp.conf is meant to correct. >>>>>
    All current GNSS systems are essentially time stamp broadcasts where the >>>>> receiver then uses trigonometry to eliminate the speed of light in air >>>>> and vacuum delay from transmitters to antenna, however this correction >>>>> cannot measure or correct the common delay in the shared antenna cable, >>>>> nor the minimum of delays through multiple antenna cables from antennas >>>>> with well defined mutual distances.

    Which when all is said and done shows up as a constant offset which is >>>> why you need at least two more sources of time and offset fudge.

    However it will take heroic efforts to get processing jitter down to
    fractions of a millisecond, so it is a don't care.

    Rather the opposite: Way back in 1995, in the Pentium days, we had just
    gotten the RDTSC time stamp counter which allowed close to zero-cost
    fractional microsecond timestamps, the CPU frequency was constant (no
    scaling or spread spectrum), and IRQ latency was close to constant.

    Under those circumstances it was _easy_ to sync systems within the same
    WAN area to the sub-100 us range, with sub-10 typically what we saw.

    Way back in 1982 I wrote my first hw interrupt driver, to handle serial
    port RS232 traffic on 4.77 MHz 8088 PCs, something I could do reliably
    at 19200 baud, i.e. sub-0.5 ms total response time, since otherwise the
    single-byte receive buffer got overwritten by the next character.

    Spool forward 10-15 years to where the CPU frequency had improved by
    ~20x and cycles per instruction by 4-5x and you see that getting close
    to 1 us is doable.

    Terje

    My experience with today's PC hardware and software says good luck
    getting offset jitter to under 1 us.


    The approach I have been looking at for such tasks is to use a hardware
    time counter running at around 1 GHz with a hardware mechanism to
    capture the counter value (undisciplined timestamp) when the PPS signal arrives. Such hardware is included in some Texas Instruments SoCs, such
    as the AM3358B used on the open hardware BeagleBone cards . On this particular hardware, config data tells the SoC to use a particular GPIO
    pin in this way . Same SoC (but not the BeagleBone card) supports
    syncing this to the Ethernet hardware time stamping / sync mechanism on
    one of the Gigabit ports .

    One needs simply adjust kernel defines and drivers such that the chosen hardware counter register plus a disciplined factor and offset becomes
    the definition of the kernel realtime clock, the PPS interrupt handler
    then just needs to read back the hardware captured timestamp before it
    wraps after 4 seconds, then apply the factor and offset active at the captured time to produce a time value returned via the PPS ioctl
    to ntpd, which will then issue syscalls to adjust the kernel clock speed
    and time (by changing the factor and offset effective at the time of the adjustment call).

    If (as on that SoC), the hardware counter is only 32 bits, one also
    needs to chain an overflow counter to the hardware nanosecond counter, possibly via a small bit of code that checks for timer wrap every about
    2 seconds and whenever something reads the time for actual use. Some of
    that logic may already be in OS kernels as part of a generic mechanism
    for using such a hardware time register .

    Using the above idea, ntpd should be able to discipline the kernel timer
    (aka the adjusted scale/offset) to get closer to the jitter of the the
    used 1GHz system clock, limited by PPS pin I/O buffering granularity
    inside the chip .

    The approach I have been using is to spend $150 on a GNSS disciplined
    clock, plug it into a serial port, configure NTP and get a clock that is
    about +/- 2 microseconds.

    To get better than that I could put the computer in a temperature
    controlled box.

    --- Synchronet 3.20a-Linux NewsLink 1.114