|
|
Log in / Subscribe / Register

A rift in the NTP world

A rift in the NTP world

Posted Feb 9, 2017 10:12 UTC (Thu) by mtaht (guest, #11087)
In reply to: A rift in the NTP world by mtaht
Parent article: A rift in the NTP world

Just a quick followup, because I dated myself - "time-nuts" is a mailing list that goes back to the beginning of "web" time: http://www.leapsecond.com/time-nuts.htm

Prior to that there was a usenet newsgroup, going back to the beginning of internet time. Much, much, lost lore there.

Time problems remain with us, and we still keep getting it wrong in major daemons and slices of code - there are multiple ways of dealing with it in the Linux kernel, all needed, all in partial conflict. Why do you use periodic timers? Can you trust them? Does anyone know when and where you should use CLOCK_MONOTONIC vs CLOCK_MONOTONIC_RAW? What are the flaws in using one or the other? How can you represent stuff "right" in postgres? Should you smear time across a leapsecond? What happens when you slew time forward from the epoch? A lot of crypto protocols rely on time marching forward. DNSSEC needs it close to within an hour -

I happen to love fdtimers, which gets us away from do_something; sleep(1); do_itagain()....

if only there was a way to get at fdtimers from the shell! A lot of primitive benchmarks would get better.

We dealt OK with Y2K, but I increasingly worry about Y2036.

Dealing with time is hard. We need more people trying to get it right. My own interest in ntp was revived by realizing that ntp's ancient "huff and puff" algorithm was probably affected by bufferbloat, and, well, you have to obsessive about stuff like this to truly get it right.


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds