Hey all. I’m getting back into ntp, and I’m currently getting my time from gps/pps. How can implement leap smearing after the second/after?
GPS by design does not implement smeared leap second; the PPS pulse will always adhere to the edge of 1 second. Leap smearing publishers like Facebook smeared the leap second on their secondary time servers before servicing outside world.
If you are not willing to hack the code, you can synchronize your chrony against Google or Facebook directly.
Ok, but if I leave it just on GPS/pps, it’s not even going to announce a leap second right?
A leap smear should work even with refclocks, as long as they announce the leap second, or the leap second is available in the configured leapsectz zone.
Why do you need leap smear? The typical use case is a large company that has a mix of different NTP clients which cannot be configured to make a consistent slew correction. In smaller network it’s best to avoid it.
If you do enable leap smear on a server, please make sure it is not included in the pool.
He’s using Google as NTP-source too, but that should not be done in pool-servers.
Stay away from Google if you use your server in the NTP-pool.