Is anyone using PTP and its requisite accuracy in production? If so, what's your use-case? Our central NTP servers are getting, per "ntpq -c kerninfo", sub-millisecond error: $ ntpq -c kerninfo associd=0 status=0615 leap_none, sync_ntp, 1 event, clock_sync, pll offset: -0.257641 pll frequency: 7.5157 maximum error: 0.165426 estimated error: 0.000422 […] That's talking to a couple of Stratum 1, and a bunch of S2, serv…
Time Card and PTP on a Raspberry Pi Compute Module 4
11–20 of 35 posts
Re: Time Card and PTP on a Raspberry Pi Compute Module 4
#12Maybe a stupid question; if you're using GNSS as a time source, is it difficult to get reception? Do you have to put the receiver near a window or something? Or is it able to get signal even in cases where, for instance, my GPS watch would fail to get a lock?
> is it difficult to get reception? Do you have to put the receiver near a window or something? The answer to that is "it depends". Windows are known to work, but not all windows are made equal. Which direction your window is facing and whether you are in an urban canyon can make significant difference. Some windows also have films or coatings. If you are working in tricky situations, then the quality of your antenna…
AIUI, urban canyons was one of the reasons why Japan built their QZSS system:
* https://en.wikipedia.org/wiki/Quasi-Zenith_Satellite_System
Re: Time Card and PTP on a Raspberry Pi Compute Module 4
#13Maybe a stupid question; if you're using GNSS as a time source, is it difficult to get reception? Do you have to put the receiver near a window or something? Or is it able to get signal even in cases where, for instance, my GPS watch would fail to get a lock?
For non-professional setups, if you have a decent GNSS module/antenna then near a window works fine. I built a clock with a GNSS module and it gets enough of a signal by the window to keep time fine but I wouldn't rely on it.
Re: Time Card and PTP on a Raspberry Pi Compute Module 4
#14Is anyone using PTP and its requisite accuracy in production? If so, what's your use-case? Our central NTP servers are getting, per "ntpq -c kerninfo", sub-millisecond error: $ ntpq -c kerninfo associd=0 status=0615 leap_none, sync_ntp, 1 event, clock_sync, pll offset: -0.257641 pll frequency: 7.5157 maximum error: 0.165426 estimated error: 0.000422 […] That's talking to a couple of Stratum 1, and a bunch of S2, serv…
$ chronyc sourcestats
210 Number of sources = 7
Name/IP Address NP NR Span Frequency Freq Skew Offset Std Dev
==============================================================================
PPS1 8 6 112 -0.018 0.020 -105ns 336ns
The other computers on the LAN have typically ~30uS std dev.Re: Time Card and PTP on a Raspberry Pi Compute Module 4
#15Maybe a stupid question; if you're using GNSS as a time source, is it difficult to get reception? Do you have to put the receiver near a window or something? Or is it able to get signal even in cases where, for instance, my GPS watch would fail to get a lock?
Re: Time Card and PTP on a Raspberry Pi Compute Module 4
#16Re: Time Card and PTP on a Raspberry Pi Compute Module 4
#17Maybe a stupid question; if you're using GNSS as a time source, is it difficult to get reception? Do you have to put the receiver near a window or something? Or is it able to get signal even in cases where, for instance, my GPS watch would fail to get a lock?
One alternative would be to place the whole GNSS receiver outside and only run serial port and PPS signal from it (cat5 has just the right amount of pairs for RS-422 UART, RS-422 PPS and power. And is significantly cheaper than coax that is good enough for GNSS).
Re: Time Card and PTP on a Raspberry Pi Compute Module 4
#18What is PTP?
Re: Time Card and PTP on a Raspberry Pi Compute Module 4
#19Is anyone using PTP and its requisite accuracy in production? If so, what's your use-case? Our central NTP servers are getting, per "ntpq -c kerninfo", sub-millisecond error: $ ntpq -c kerninfo associd=0 status=0615 leap_none, sync_ntp, 1 event, clock_sync, pll offset: -0.257641 pll frequency: 7.5157 maximum error: 0.165426 estimated error: 0.000422 […] That's talking to a couple of Stratum 1, and a bunch of S2, serv…
- PTP is for sub-nanosecond local networks, with possibly hundreds of packets per second, local (in network card) clocks, hardware timestamping everywhere
- NTP if for long distance sync, with sophisticated statistical smoothing from several upstream servers
Re: Time Card and PTP on a Raspberry Pi Compute Module 4
#20Is anyone using PTP and its requisite accuracy in production? If so, what's your use-case? Our central NTP servers are getting, per "ntpq -c kerninfo", sub-millisecond error: $ ntpq -c kerninfo associd=0 status=0615 leap_none, sync_ntp, 1 event, clock_sync, pll offset: -0.257641 pll frequency: 7.5157 maximum error: 0.165426 estimated error: 0.000422 […] That's talking to a couple of Stratum 1, and a bunch of S2, serv…
PTP and NTP don't have the same use: - PTP is for sub-nanosecond local networks, with possibly hundreds of packets per second, local (in network card) clocks, hardware timestamping everywhere - NTP if for long distance sync, with sophisticated statistical smoothing from several upstream servers