Live data from Hacker News

NIST was 5 μs off UTC after last week's power cut

jeffgeerling.com

81–90 of 162 posts

Re: NIST was 5 μs off UTC after last week's power cut

#81
post #43

Are there any plans being made to prevent this happening in the future?

Yes, the US government is banning all those democrat windmills that conspired to blow over the NTP server.

??? The power outage was voluntary and surrounding towns chose not to turn off power. They could absolutely make infrastructure changes, and I’m sure the backups for power could make changes too.

Re: NIST was 5 μs off UTC after last week's power cut

#82
post #50

Nitpick: UTC stands for Coordinated Universal Time. The ordering of the letters was chosen to not match the English or the French names so neither language got preference.

That doesn't quite match what the wikipedia page says:

> The official abbreviation for Coordinated Universal Time is UTC. This abbreviation comes as a result of the International Telecommunication Union and the International Astronomical Union wanting to use the same abbreviation in all languages. The compromise that emerged was UTC, which conforms to the pattern for the abbreviations of the variants of Universal Time (UT0, UT1, UT2, UT1R, etc.).

Re: NIST was 5 μs off UTC after last week's power cut

#83
post #10

Has anyone here ever needed microsecond precision? Would love to hear about it.

Lots of things do. Shoot, even plain old TDM needs timing precision on the order of picoseconds to nanoseconds.

But does that require accurate UTC?

Re: NIST was 5 μs off UTC after last week's power cut

#84
post #56
post #20

Earlier quoted context omitted.

We don't use NTP, but for robotics, stereo camera synchronization we often want the two frames to be within ~10us of eachother. For sensor fusion we then also need a lidar on PTP time to be translated to the same clock domain as cameras, for which we also need We actually disable NTP entirely (run it once per day or at boot) to avoid clocks jumping while recording data.

In your stereo camera example, are these like USB webcams or something like MIPI CSI attached devices?

MIPI CSI, with USB cameras I usually am getting jitter in the millisecond range.

Re: NIST was 5 μs off UTC after last week's power cut

#85
post #20

Earlier quoted context omitted.

We don't use NTP, but for robotics, stereo camera synchronization we often want the two frames to be within ~10us of eachother. For sensor fusion we then also need a lidar on PTP time to be translated to the same clock domain as cameras, for which we also need We actually disable NTP entirely (run it once per day or at boot) to avoid clocks jumping while recording data.

> We actually disable NTP entirely (run it once per day or at boot) to avoid clocks jumping while recording data. This doesn't seem right to me. NTP with default settings should be monotonic. So no jumps. If you disable it Linux enters 11-minute mode, IIRC, and that may not be monotonic.

You are correct, NTP prefers to jump first (if needed) and then slew afterwards (which is exactly what we want!), although it can jump again if the offset is too large.

In our case the jumps where because we also have PTP disciplining the same system clock, when you have both PTP and NTP fighting over the same clock, you will see jumping with the default settings.

For us it was easier to just do a one time NTP sync at the beginning/boot, and then sync the robots local network with only PTP afterwards.

Re: NIST was 5 μs off UTC after last week's power cut

#86
post #43

Are there any plans being made to prevent this happening in the future?

Yes, the US government is banning all those democrat windmills that conspired to blow over the NTP server.

It would greatly decrease electricity prices too. God knows how expensive it is to power those gigantic spinning things

Re: NIST was 5 μs off UTC after last week's power cut

#87
post #42

Earlier quoted context omitted.

> Gah, just when you think you can trust time.nist.gov You still can... If you're that considered about 5 microseconds: Build your own Stratum 1 time server https://github.com/geerlingguy/time-pi or just use ntppool https://www.ntppool.org/en/

It sounds like GPS, and thus a GPS-based stratum 1 server, uses these time servers, but they were successfully failed over: > Jeff finished off the email mentioning the US GPS system failed over successfully to the WWV-Ft. Collins campus. So again, for almost everyone, there was zero issue, and the redundancy designed into the system worked like it's supposed to. So failures in these systems are potentially correlate…

Atomic clocks cover a pretty big range of performance nowadays. You can pick up a used but serviceable rubidium frequency reference for a few hundred dollars but the difference between it and the top of the line clocks is almost as big as the difference between a it and a good pendulum clock.

Re: NIST was 5 μs off UTC after last week's power cut

#88
post #50

Nitpick: UTC stands for Coordinated Universal Time. The ordering of the letters was chosen to not match the English or the French names so neither language got preference.

That doesn't quite match what the wikipedia page says: > The official abbreviation for Coordinated Universal Time is UTC. This abbreviation comes as a result of the International Telecommunication Union and the International Astronomical Union wanting to use the same abbreviation in all languages. The compromise that emerged was UTC, which conforms to the pattern for the abbreviations of the variants of Universal Tim…

Follow the citation: https://www.nist.gov/pml/time-and-frequency-division/how-utc...

> ... in English the abbreviation for coordinated universal time would be CUT, while in French the abbreviation for "temps universel coordonné" would be TUC. To avoid appearing to favor any particular language, the abbreviation UTC was selected.

Re: NIST was 5 μs off UTC after last week's power cut

#89

Out of curiosity, can anyone say the most impactful things they've needed incredibly accurate time for?

I work at a particle accelerator. We use White Rabbit (https://white-rabbit.web.cern.ch/) to synchronize some very sensitive devices, mostly the RF power systems and related data acquisition systems, down to nanosecond accuracy.

Re: NIST was 5 μs off UTC after last week's power cut

#90
post #76
post #50

Nitpick: UTC stands for Coordinated Universal Time. The ordering of the letters was chosen to not match the English or the French names so neither language got preference.

It also stands for Universel Temps Coordonné.

It's le temps universel coordonné in French.
Post reply on HN