Re: [AVTCORE] Leap seconds

Marshall Eubanks <marshall.eubanks@gmail.com> Wed, 21 September 2011 20:54 UTC

Return-Path: <marshall.eubanks@gmail.com>
X-Original-To: avt@ietfa.amsl.com
Delivered-To: avt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AF5CC11E8140 for <avt@ietfa.amsl.com>; Wed, 21 Sep 2011 13:54:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.217
X-Spam-Level:
X-Spam-Status: No, score=-103.217 tagged_above=-999 required=5 tests=[AWL=0.381, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jCirTMIQw+f0 for <avt@ietfa.amsl.com>; Wed, 21 Sep 2011 13:54:09 -0700 (PDT)
Received: from mail-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44]) by ietfa.amsl.com (Postfix) with ESMTP id 5C5D211E813D for <avt@ietf.org>; Wed, 21 Sep 2011 13:54:07 -0700 (PDT)
Received: by ywa6 with SMTP id 6so1831528ywa.31 for <avt@ietf.org>; Wed, 21 Sep 2011 13:56:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fStCOiJXrtl+88GNJBM4mWN7kNk4cooNj1M7nYtRPYY=; b=jiGG9desexM1q/BilBtGBHR3k0bnG9Me9oGygY6ARt0xzRp9aFwPjEFvjAv80qbiHj cn6TN49vsvKBE1oYpBb6gxHGtHuqcYKVh1ppxX792FXPEayo384kueL2m5czc4Itblsd 0GUVBalxPHO9E+dES7AJuDT5zhRXquu8xcBXg=
MIME-Version: 1.0
Received: by 10.150.115.16 with SMTP id n16mr1458016ybc.174.1316638596557; Wed, 21 Sep 2011 13:56:36 -0700 (PDT)
Received: by 10.151.26.10 with HTTP; Wed, 21 Sep 2011 13:56:36 -0700 (PDT)
In-Reply-To: <1EBE92F6-A24D-4B6B-B692-23D396BF5E30@bluecoat.com>
References: <CALw1_Q0qK1WDc_KjEneOWrqr+jfVsqdwFYpF=ht-tS4SSNp8nQ@mail.gmail.com> <71C9EC0544D1F64D8B7D91EDCC6220200A2D0340@NABSREX027324.NAB.ORG> <alpine.BSF.2.00.1109141110001.25117@hsa.packetdesign.com> <CALw1_Q2L5z1bdVaENm7ky-epWjmxD326FLQ7THrObO_KMfdXfw@mail.gmail.com> <78481CCB-7A70-4BC4-91DC-A707301F22A5@apple.com> <CALw1_Q2VFe3d52ufVp2wSeNCHiwqgnhLh39dQTWYa52jWLaV+g@mail.gmail.com> <8EF3B729-407D-4A6F-9B5C-9E6833F2478B@apple.com> <CALw1_Q05fXDmTFapSaH1NRCsp2eWdemNus40gXsFwsx4HbR34Q@mail.gmail.com> <0F41102E-7F7A-4D69-B22D-6BFC3215D6C0@apple.com> <CALw1_Q0UD563WAES2bauEFa2+zr+qtwCs_=sX8hRED1VgPQTfw@mail.gmail.com> <CAJNg7VJqxQ9QFV7dgBbH8PVQVt88kAsX-xgr9XAf4ZO4-_x2kw@mail.gmail.com> <CALw1_Q2jGj_pHowfzgxMSBKXdEU99k=ST217PCBYtznRjBsvfA@mail.gmail.com> <4E78487D.1030602@ericsson.com> <CALw1_Q0urojdegAdsJ7L7bT=0680RN-0pk1g7J4zhP-aK3M5ew@mail.gmail.com> <6A72C4E9-B429-4B97-B4AA-98E420DF4C94@csperkins.org> <CALw1_Q1hb3mynU9J-PmdBH33RT2tWYt6Ba6he7Tojog-b-3GaQ@mail.gmail.com> <CAJNg7VJwaNTzDWq5cO9MqXK-wa+bz_=K9YL1ooD=J4e2CLjjeA@mail.gmail.com> <1EBE92F6-A24D-4B6B-B692-23D396BF5E30@bluecoat.com>
Date: Wed, 21 Sep 2011 16:56:36 -0400
Message-ID: <CAJNg7VLPyyimujcuUOZZ1XgFsmd-_CPyBfk7gp78rnLgt6aMZg@mail.gmail.com>
From: Marshall Eubanks <marshall.eubanks@gmail.com>
To: "Frederick, Ron" <ron.frederick@bluecoat.com>
Content-Type: multipart/alternative; boundary="000e0cd57396d86bc204ad79cf9a"
Cc: "avt@ietf.org" <avt@ietf.org>
Subject: Re: [AVTCORE] Leap seconds
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Audio/Video Transport Core Maintenance <avt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/avt>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Sep 2011 20:54:11 -0000

On Wed, Sep 21, 2011 at 4:07 PM, Frederick, Ron
<ron.frederick@bluecoat.com>wrote:

> On Sep 21, 2011, at 10:13 AM, Marshall Eubanks wrote:
> On Tue, Sep 20, 2011 at 7:17 PM, Kevin Gross <kevin.gross@avanw.com
> <mailto:kevin.gross@avanw.com>> wrote:
> Well, that would fix things. By my reading, RFC 3550 is not clear on this
> however. I'm not sure trying to figure out the original intent of the RFC
> will help us resolve things because nowhere in the text do I see any
> indications that the RFC authors gave consideration to the NTP leap second
> issue.
>
> The RFC does say "Wallclock time (absolute date and time) is represented
> using the timestamp format of the Network Time Protocol (NTP), which is in
> seconds relative to 0h UTC on 1 January 1900." (emphasis on timestamp format
> mine) Since it doesn't say anything about leap seconds, you could interpret
> it as Dave Singer and Colin Perkins have to mean actual seconds elapsed.
>
> But a couple sentences later there's, "Running NTP may be useful for
> synchronizing streams transmitted from separate hosts." Again, no mention of
> leap-seconds but here, since we're talking about actual NTP (as opposed to
> "NTP timestamp format"), wouldn't you be inclined to assume that leap
> seconds are included in timestamps in this suggested implementation?
>
> I have already determined that TAI time is best for my application. If
> anyone knows of any existing signaling mechanism I can use to communicate
> this to receivers (e.g. specific SDP a= records), I would welcome
> suggestions.
>
>
> Yes, I don't know why leap seconds aren't treated as are the time zones and
> DST (i.e., instead of keeping UTC and displaying UTC + Z, you would keep TAI
> and display TAI + L  + Z). I urged that many years ago, but got absolutely
> no traction.
>
> It sounds like what we would really want is to have RTP's timestamp is in
> NTP format with a timebase of 1 January 1900 0h TAI instead of UTC (which
> are actually the same time, since that date predates any added leap
> seconds). The challenge I see, though, is that operating system functions
> which applications are likely to use to get wallclock time are likely to
> return UTC, not TAI, and short of hardcoding a schedule of leap-seconds in
> the applications it will be difficult to convert back. Even then, if the
> system really does "freeze" the time it returns for a second during a leap
> second, there's no way to recover the correct TAI time and strange results
> will be seen when an SR is generated during that second.
> --
>

The 800 kg elephant in the room is of course the suspicion that different
implementations do different things during that second.

I know back when I was doing VLBI ops the policy was, "don't schedule  an
observation over a leap second."  Media doesn't always
have that luxury.

Regards
Marshall


> Ron Frederick
> ronf@bluecoat.com<mailto:ronf@bluecoat.com>
>
>