Re: Predictable Internet Time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I will write up a draft. 

However, I'm not the inventor of time smearing, perhaps someone doing that would want to work with me.


Looking at the problem of time smear, I think Google's 20 hour as opposed to 24 hours approach is probably best. Most platforms use ticks (100 nanosecs on Windows). Using 20 hours means that each increment is exactly even. Using 24 means that they are going to be slightly irregular and can lead to variation.

The problem here is not so much the adjustments themselves but knowing whether an adjustment has been applied or not. If there are two parties can apply an adjustment, it is very common to see 0, 1 and 2 parties make it. 


For any scientific data, times should use TAI and be done. Leap seconds have no place in the physical sciences, astronomy included. Using UTC in science is as barbarous as using imperial over metric.


Another related 'best practice' issue is that we should stop scheduling flag days for midnight on 1st jan. The Internet protocol layer does not have flag days but the WebPKI does and we need them because we regularly phase out algorithms. SHA-1 stopped working when 2017 began in Edinburgh. There is actually a very good reason for that first Thursday after the first Monday business.



On Tue, Jan 3, 2017 at 12:07 PM, Jared Mauch <jared@xxxxxxxxxxxxxxx> wrote:
I'd be interested to see your proposal in the NTP WG, at Chicago or earlier. 

I agree this is an area where there is need for improvement and assistance is welcome. 

Jared Mauch

On Dec 31, 2016, at 4:32 PM, Phillip Hallam-Baker <phill@xxxxxxxxxxxxxxx> wrote:

Well the astronomers are at it again. They are messing about with time which is a terrible idea. Specifically they are adding another leap second.

There are many arguments against leap seconds and the arguments in favor really amount to the astronomers declaring that they are going to rub our noses in it for as long as we let them. So here is an alternative proposal.

The single biggest problem with UTC is that the decisions to add seconds are made by a committee a few months in advance of the change. And this results in time becoming unpredictable because it is never possible to know if we are dealing with a corrected or uncorrected time. For this reason, I have been using TAI as the basis for time representation in my recent protocol proposals. This reduces but does not eliminate the confusion.

Leap seconds occur at a rate of roughly ten per 25 years. So not correcting means a drift of 40 seconds over a century


So to remove the confusion entirely, while preventing the need for a discontinuous adjustment of the drift between UTC and TAI, I propose the Predictable Internet Time (PIT) as follows.

PIT = TAI + delta (y) where

Where Delta (y) = int (37 + 0.4 * (y -2016) ) for y < 2116
= 77 + (UTC-Delta (y-100))

For values above 2116, PIT would make use of the table of UTC corrections with a delay of one century. This would enable manufacturers to build devices with built in correction tables for a design life of one century which should meet everyone's needs except Danny Hillis who is building a clock anyway.


A conversion to PIT would be feasible for most governments as it is highly unlikely that the variance between UTC and PIT would ever be greater than a few seconds.

The big problem with planning such a transition in the past is that the alternatives on the table have been stopping further leap seconds completely and continuing the UTC scheme. That would be a recipe for disaster unless the EU and US both adopted TAI+36 seconds or whatever. We could end up with a situation in which one side digs in its heels, refuses to change and we end up with a 'give us back our eleven days' type correction.

Nor is changing the definition of UTC to effect simultaneous change a feasible solution because to do so would be to demand the astronomers accept a diminution in their own prestige.

With a suitable definition, PIT could create a condition in which it would only take a decision by one major government to force a change on the astronomers. The commercial advantages of PIT over UTC are obvious - fewer things are going to break for no good reason. That is an argument that every politician is willing to listen to.

While a variance of a second or three between New York and London might be inconvenient, the inconvenience is going to be a lot worse for the side not using PIT who have all the inconvenience of unpredictable leap seconds plus the inconvenience of the difference. The pressure on other governments to adopt PIT over is going to be significant. It is hard to see that there would be any real constituency for the UTC approach, the astronomers are much more interested in buying telescopes than time in any case.


We could tweak the definition so that the corrections kick in sooner but it should be possible to build for a minimum of a fifty year service life.


[Index of Archives]     [IETF Annoucements]     [IETF]     [IP Storage]     [Yosemite News]     [Linux SCTP]     [Linux Newbies]     [Fedora Users]