Hacker News new | ask | show | jobs
by lightswitch05 12 days ago
Great write up! I too run a stratum 1 and am part of the pool. Except, I have way less interesting hardware. One benefit on going cheap is having multiple stratum 1s then you can have some redundancy and have more interesting local peers to compare results against. I do see a more expensive setup in my future, though.

Anyways, I use NTPSec- which is the default these days on Debian when you apt-get install NTP. I’ve not tried Chrony, but I see it mentioned all the time.

I’m curious what others here are running and their thoughts on the pros and cons?

Edit: I forgot to add, one of my favorite parts of being in the pool is basically a free uptime monitor of my ISP. There have been multiple cases where I see a blip in my offset then a full blown ISP outage within 78 hours of the blip, then a return to my normal offsets after to outage has resolved.

4 comments

In the NTP Pool community, I've seen a few people mention CenterClick NTP servers; I'm happy to do my own DIY builds (Pi or otherwise), but this looks like a nice option for SMBs or time-nuts who don't want to manage their own hardware: https://centerclick.com/ntp/

There are also a lot of people who buy old Spectracom or other 'enterprise' time servers since they can be had for low hundreds of dollars with some nice features like rubidium or OCXO oscillators, so they can hold over time much more accurately when GPS is down, or upstream NTP providers are unreachable.

And regarding chrony, it's the default in many distros now, I like some of its built-in monitoring and clock adjustments, it just feels easier to manage if you want more than just base NTP features. It also supports hardware timestamping if you have network hardware that has it, which IIRC NTPd doesn't? I haven't messed with systemd-timesyncd or ntpd-rs, so can't say much on them.

I have around a dozen CenterClick 270s at various locations and I think generally I have one lock up every 6 months or so. A PoE power cycle on the switch recovers it, so overall I've been really happy with them. I believe they're a one-person shop.
I had that issue with older firmware. Hasn’t popped up lately. They are nice hands off cheap devices for what they provide.
Do you automate monitoring ntp health to power cycle the switch poe?
I have our monitoring stack ping the device once a minute and after 5 minutes of no pings, it will cycle the Poe on the port.
Very cool, thanks so much for sharing.
What do you use them for?
NTP :) Honestly, they're not needed. I just like being self-sufficient as much as possible. We have a quarter rack of machines in each location that sync data between them so they do need some time accuracy, but not nearly as much as these devices provide.
I see, makes sense. I was hoping you needed it for some really esoteric purpose lol.
Note that the page at https://www.ntppool.org/join/configuration.html specifically recommends using the Reference Implementation of NTP (namely, `ntpd`).

Although I looked at that page and didn’t see anything about whether or not it was okay to use an NTP,server running under a VM.

I will contact Ask Bjørn Hansen about this.

systemd-timesyncd is an SNTP client. It is meant to set time, not serve it out, but there are lots more regular servers than time servers.
The Reference Implementation for NTP does support hardware timestamping. And the Network Time Foundation is also now the home for PTP, where this kind of thing is vital if you really care about the nanoseconds.

But if you have any questions on this, I can ask my friend Harlan.

Some of the cool kids are moving to https://github.com/pendulum-project/ntpd-rs
I think most people run chrony or ntpd-rs; not part of the pool, but I've been using chrony for a while, and it seems like ntpd-rs's support for PTP (which I "need") is still under development
Well, I’m partial to Meinberg. After all, when I joined the NTP Public Services Project in 2003, it was Heiko Gerstung who gave me my first Primary Time Appliance, for our testing purposes. And they’ve been a strong supporter of NTP.org and the Network Time Foundation ever since.

Heiko is now the CEO of that company. I got to see his face in person for the first time a few years ago, when I was working on the EC2-Chronos team at AWS, and we were considering bringing in Meinberg as one of our preferred vendors of Primary Time Appliances, with a goal to install them at each and every AWS datacenter around the world.

That effort was part of the enhanced version of the Amazon Timekeeping Service that we officially launched in 2023, and highlighted as part of the Re:Invent keynote that Peter DeSantis did (see: https://www.youtube.com/watch?v=pJG6nmR7XxI). Originally, the SLA was accuracy within one millisecond, but with this project, we got that down to 20 microseconds.

Internally, AWS uses Chrony. Both on the back-end Stratum-2 time servers, and we also controlled the default Chrony configuration on all of the EC2 instances. And I so got familiar with doing chronyd configurations.

I think it’s fine for that purpose, but I would make sure that you’re not doing leap second smearing. I know the leap second is going away, but the last time I checked with Ask Bjørn Hansen, he did not allow any time servers into the pool if they were doing leap smearing. Which is why we could operate our own time.aws.com service, but we couldn’t contribute time servers to the NTP Pool, because all of our servers did leap smearing.

Ironically, during the time I was actively working to support NTP.org, I helped Ask Bjørn Hansen to set up the NTP Pool, but it has been years since I talked to him about it. I should reconnect with him.