/gpstime

Tools and explorations on GPS and NTP

Primary LanguagePythonMIT LicenseMIT

gpstime

Tools and explorations on GPS and NTP.

Goal: build an NTP source that has a precision better than 1ms, all the time.

  • 1ms is not a particularly difficult goal in itself
  • but doing it reliably, in presence of network or GPS signal loss requires some careful thinking and testing
  • and this needs to be demonstrable, requiring proper monitoring, metrics, alerts
  • and finally, what are actually the benchmark references that are reliably precise to better than 1ms, from a random internet endpoint?

See also https://github.com/ballestr/chronyd_exporter

Important stuff

  • Have good GPS antenna reception
  • Use Pulse Per Second
  • Use dedicated hardware

Install

# git clone https://github.com/ballestr/gpstime.git /opt/gpstime
# /opt/gpstime/hw_sbc/install.hwsbc.sh

basics

Metrics

Reference time servers