Re:Time is an illusion – challenges in distributed computing...
by lostcolony on Tuesday January 19, 2016 @09:18AM
(#10930864)
Not to mention what it'd mean about watches (the dumb kind). Digital watches as a whole, even the cheap ones I'd own as a kid, never drifted that far that fast. I can't imagine that the cheap ones had better crystals in them than a laptop.
I think it may just be badly phrased. "will drift out of sync within minutes" was meant as it'll almost assuredly have gained/lost a few microseconds from what it should have, given the progression of 'real' time for its frame of reference, but that it -may- be that bad. Which, yeah, sure, it -may-. Not bloody likely, but maybe.
Re:Time is an illusion – challenges in distributed computing...
by YZF on Tuesday January 19, 2016 @04:19PM
(#10934126)
I'm not quite sure what's in my laptop right now but it used to be that there was a separate crystal for time keeping, typically around 32KHz. I believe digital watches used similar crystals. Those drift a lot less than the high frequency crystals used to generate the CPU clock. Their accuracy is on the order of 10ppm. The other thing that matters is the temperature variation as the frequency will change with temperature. A wrist watch probably sees more uniform temperatures (esp. if it's worn all the time and e.g. has a large metallic backing). Laptops can get quite hot and quite cold.
You can get temperature compensated oscillators down to about 1ppm accuracy over a larger temperature range. 1ppm is about 1 second/week.
Back in the day I wrote a little utility where every time you adjusted your computer clock it took notice of the drift and fed that back into the time calculation. I.e. it continuously adjusted the clock based on the corrections given to it.
Re:Time is an illusion – challenges in distributed computing...
by jacquesm on Tuesday January 19, 2016 @09:50AM
(#10931074)
For ordering purposes a few microseconds will do.
Re:Time is an illusion – challenges in distributed computing...
by techdragon on Tuesday January 19, 2016 @10:21AM
(#10931286)
For your ordering purposes it might be, but it sure as hell is not good enough for me on a regular basis.
Re:Time is an illusion – challenges in distributed computing...
by jacquesm on Tuesday January 19, 2016 @10:34AM
(#10931371)
I meant that as in 'enough to get you out of wack', not the other way around. For proper ordering you'd need better than microsecond resolution so if you're off by a few microseconds you might as well use rand().
This doesn't match my experience at all. I've had smartphones disconnected from the network for weeks at a time without drifting "several minutes away" from the consensus time. Drift is a thing, but it seems like that estimate is several orders of magnitude larger than anything I've seen in practice.