Leaping seconds and looping servers
Leaping seconds and looping servers
Posted Jul 3, 2012 19:54 UTC (Tue) by paulj (subscriber, #341)In reply to: Leaping seconds and looping servers by drag
Parent article: Leaping seconds and looping servers
Posted Jul 3, 2012 19:59 UTC (Tue)
by drag (guest, #31333)
[Link] (14 responses)
I expect that for a whole host of applications having a second that is randomly different from all other seconds would be irritating. Anything dealing with automation on a assembly line would probably be irritated to know that their devices are going to have to deal with time units that are shifting goal posts. Avionics was mentioned above as well as a couple other things that I won't bother repeating.
The whole point of the leap second is to keep a second a second. When a second is not a second then what do you do to deal with that?
Posted Jul 3, 2012 20:08 UTC (Tue)
by paulj (subscriber, #341)
[Link] (13 responses)
For timestamps for record keeping, with similar requirements, surely they should be using epoch-based kernel interfaces, and doing any remaining formatting to and conversion for calendar times in userspace?
Posted Jul 3, 2012 21:03 UTC (Tue)
by drag (guest, #31333)
[Link] (12 responses)
Well if I was following the discussion correctly it's those 'epoch-based kernel interfaces' that are the things being 'smeared'.
Besides that,
If it was up to me all the programs I use would only see time in epoch UTC. That would be the only time supported by anything. It's the userspace's responsibility to present time in a human-readable format. Unfortunately that is not how people do things.
Posted Jul 3, 2012 23:53 UTC (Tue)
by xman (subscriber, #46972)
[Link] (4 responses)
TAI is the way to go.
Posted Jul 4, 2012 3:28 UTC (Wed)
by drag (guest, #31333)
[Link] (2 responses)
As far as scientific time keeping it's already been found to be fundamentally flawed due to the fact that they didn't take the effect of gravity into it. and is probably going to be replaced by something else eventually that is adjusted for altitude.
Posted Jul 4, 2012 13:26 UTC (Wed)
by andreasb (guest, #80258)
[Link]
Posted Jul 4, 2012 18:32 UTC (Wed)
by cesarb (subscriber, #6266)
[Link]
GPS does. The GPS timestamp is TAI with a fixed offset.
Posted Jul 17, 2012 17:59 UTC (Tue)
by Baylink (guest, #755)
[Link]
The problem here is not the *choice of timescale*: UTC is monotonic even over leap seconds; 58, 59, 60, 00.
The *problem* is that the kernel isn't following UTC *either*; not if it's ticking backwards. It's that *ticking backwards* part that is the problem, and I've yet to see a truly compelling reason why it should do so.
Posted Jul 4, 2012 11:49 UTC (Wed)
by paulj (subscriber, #341)
[Link] (6 responses)
Anyway, the question remains: exactly who needs to have the leap-second occur as an inserted second, rather than a spaced out smear?
People who need precise control/responses: They definitely don't want it, they need accurate relative time.
People who need 1±0.1 second accuracy to the global reference of UTC: well, that must be because they need to compare time across systems. In which case, they need some *other* system to synchronise time across those systems, such as NTP. If those systems are within one organisation, they can use NTP to do the slew in a relatively co-ordinated fashion.
So whose left? It seems to me that it must be organisations who wish to compare time to ±0.1s accuracy across systems distributed over multiple organisations, who do not normally work closely enough together that they can arrange to synchronise to anything other than UTC.
So how many such organisations exist with those kinds of requirements? What is the application? Is it even realistic to expect ±0.1s accuracy in timestamps at such scales?
Why hold the reliability of our software hostage to requirements that few likely need or care about? Would it be possible to punt to userspace, and have NTP handle the method, through an interface that allows the kernel to be agnostic about it? Wouldn't that be much much better for pretty much everyone? (Don't you need to run NTP in the first place in order to get the leap-second?).
Posted Jul 4, 2012 14:01 UTC (Wed)
by faramir (subscriber, #2327)
[Link] (3 responses)
Posted Jul 4, 2012 14:22 UTC (Wed)
by paulj (subscriber, #341)
[Link] (1 responses)
Posted Jul 4, 2012 17:56 UTC (Wed)
by jwakely (subscriber, #60262)
[Link]
Posted Jul 7, 2012 1:13 UTC (Sat)
by BenHutchings (subscriber, #37955)
[Link]
Posted Jul 6, 2012 17:31 UTC (Fri)
by giraffedata (guest, #1954)
[Link]
Well, to be precise, there's no such thing as time since X in UTC. UTC is means of identifying a moment in time that involves year, month, day, etc. It implicitly provides a means of identifying certain intervals too, for example tells you what "February 1992" is. It doesn't deal with lengths of time (periods).
The relationship between the POSIX time representation and UTC is that the POSIX count assumes 60 seconds in every UTC minute, regardless of how long that minute actually lasts.
Posted Jul 12, 2012 18:59 UTC (Thu)
by VITTUIX-MAN (guest, #82895)
[Link]
Any system that has heterogenous hardware and software that nevertheless passes around time stamps, could get upset if different machines used heterogenous sources of time as well, so that this smearing wont happen in unison. That is, different ntp servers some of which smear, others not or they use different smear period and interwall.
Rare - surely, as rare as leap second problems, but have a million systems, and a few gets hitten by this hard.
Leaping seconds and looping servers
Leaping seconds and looping servers
Leaping seconds and looping servers
Leaping seconds and looping servers
Leaping seconds and looping servers
Leaping seconds and looping servers
Leaping seconds and looping servers
Leaping seconds and looping servers
Leaping seconds and looping servers
Leaping seconds and looping servers
Leaping seconds and looping servers
Leaping seconds and looping servers
Leaping seconds and looping servers
Leaping seconds and looping servers
Ah yes, the damn POSIX epoch specifies time since in Epoch in UTC. I thought it was just "seconds since epoch". :(
Leaping seconds and looping servers