Re: [Detnet] DetNet - Migration path

nfinn <nfinn@alumni.caltech.edu> Wed, 12 October 2016 16:54 UTC

Return-Path: <nfinn@alumni.caltech.edu>
X-Original-To: detnet@ietfa.amsl.com
Delivered-To: detnet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A865A129619 for <detnet@ietfa.amsl.com>; Wed, 12 Oct 2016 09:54:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.296
X-Spam-Level:
X-Spam-Status: No, score=-7.296 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-2.996] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=alumni.caltech.edu
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IOgkdZzG3-cE for <detnet@ietfa.amsl.com>; Wed, 12 Oct 2016 09:54:41 -0700 (PDT)
Received: from mail.alumni.caltech.edu (mail.alumni.caltech.edu [131.215.242.114]) by ietfa.amsl.com (Postfix) with ESMTP id 5A61B129616 for <detnet@ietf.org>; Wed, 12 Oct 2016 09:54:41 -0700 (PDT)
Received: from [192.168.1.104] (c-24-4-25-128.hsd1.ca.comcast.net [24.4.25.128]) (Authenticated sender: nfinn@alumni.caltech.edu) by mail.alumni.caltech.edu (Postfix) with ESMTPSA id 6247D120084; Wed, 12 Oct 2016 09:54:39 -0700 (PDT)
X-DKIM: Sendmail DKIM Filter v2.8.3 mail.alumni.caltech.edu 6247D120084
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alumni.caltech.edu; s=enforce; t=1476291279; bh=8M3DtNoTkZmxIgqJS37iCdsM+wUN5x5UO3oP3XHNJ2A=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Content-Transfer-Encoding:Message-Id:References:To; b=aWEmD7Fe/qX4gyWI6MNe80Pf1pU/VRYhin9YN960rZBv2Yh1GzfHuQOCLfCTA90Ik x1c3J/DckIvTC2zn0CX3TOyVDkvaBKu2skCZ6nHCZiAGAouJcwMjvlWbYRPTyzMGGU iTXdDBlULu9ZKH1nKEinlWednGkSQ2fvE5pZdVkk=
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.0 \(3226\))
From: nfinn <nfinn@alumni.caltech.edu>
In-Reply-To: <54D1F577-0AA5-4062-AF96-DA74D6CEDE00@cisco.com>
Date: Wed, 12 Oct 2016 09:54:38 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <C6290940-A464-45C0-92A6-79B04417CC36@alumni.caltech.edu>
References: <54D1F577-0AA5-4062-AF96-DA74D6CEDE00@cisco.com>
To: "Patrick Wetterwald (pwetterw)" <pwetterw@cisco.com>
X-Mailer: Apple Mail (2.3226)
X-MailScanner-Information-Alumni:
X-Alumni-MailScanner-ID: 6247D120084.AE49E
X-MailScanner-Alumni: No Virii found
X-Spam-Status-Alumni: not spam, SpamAssassin (not cached, score=-1.1, required 5, ALL_TRUSTED -1.00, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10)
X-MailScanner-From: nfinn@alumni.caltech.edu
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet/yP8n7wTRpFpyKl8NH8GZFjhkrUM>
Cc: Rodney Cummings <rodney.cummings@ni.com>, "Grossman, Ethan A." <eagros@dolby.com>, "detnet@ietf.org" <detnet@ietf.org>
Subject: Re: [Detnet] DetNet - Migration path
X-BeenThere: detnet@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Discussions on Deterministic Networking BoF and Proposed WG <detnet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/detnet>, <mailto:detnet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/detnet/>
List-Post: <mailto:detnet@ietf.org>
List-Help: <mailto:detnet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/detnet>, <mailto:detnet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Oct 2016 16:54:44 -0000

Patrick,

You can build a real-time network baed on average latency and a statistical distribution of variation in latency.  I will claim that that is not a target application for DetNet.  The reason is that requires a test the system, tweak the parameters, measure … cycle to get it right.  Once right, you must not touch anything.  That can be done, today, with no help from TSN or DetNet, although some features of TSN (e.g. transmission preemption) may make life easier.

IMO, the target for DetNet is applications that use synchronized time.  They have to 1) know the MaxLatency value, so they know the deadline for transmitting action orders in time to be received before the action is to be performed; and 2) allocate enough buffer space at the receiver to accommodate the difference between MaxLatency and MinLatency.  Those two items are required to achieve real-time operations with 0 congestion loss no matter what the actual latency distribution looks like, and if those two items are done, then the actual distribution does not matter at all.  Average latency means nothing.  Variations from the averages mean nothing.  Max,Latency, and perhaps MinLatency, carry all the information that needs to be specified.

I’m not saying that one model is right or wrong; only that I’m not trying to solve all the world’s problems, or even all the world’s real-time problems.  I think that it would be best for DetNet to concentrate on the Min?Max problem, and leave the average/distribution problem to another effort.

— Norm

> On Oct 12, 2016, at 9:12 AM, Patrick Wetterwald (pwetterw) <pwetterw@cisco.com> wrote:
> 
> Dear all,
> 
> I’m trying to catch up with the different mails exchanged in the last 15 days or so and I may have missed some information.
> 
> My big trouble is on the terminology. My guess is that we will have to converge to a single one and probably align the different WG documents (including use case) with this terminology.
> So terms like AccumulatedLatency, minlatency, maxlatency should be clearly defined within Detnet if we choose to use them.
> 
> The second aspect is that I see some diverging points of view if you are talking about Audio/video or Electrical/utility field or other use cases.
> Some examples: In Electrical and probably industrial use cases, we usually try to express delay, jitter related to the communication network and treat the overall time budget at a different stage.  
> Independently from the delay, the jitter and symmetry are really important as it could make a control loop or teleprotection to become unstable or diverge. 	
> 
> My 2 cents,
> 
> Patrick
> 
> 
> 
> On 12/10/2016, 14:25, "detnet on behalf of Rodney Cummings" <detnet-bounces@ietf.org on behalf of rodney.cummings@ni.com> wrote:
> 
>    No problem Ethan,
> 
>    In 802.1Qcc, MaxLatency is the bounded latency over time. It might be uncommon for AccumulatedLatency to increase while the flow is in use, but the assumption is that it is possible.
> 
>> -----Original Message-----
>> From: Grossman, Ethan A. [mailto:eagros@dolby.com]
>> Sent: Tuesday, October 11, 2016 5:11 PM
>> To: Rodney Cummings <rodney.cummings@ni.com>; detnet@ietf.org
>> Subject: RE: DetNet - Migration path
>> 
>> Thanks Rodney. Since a DetNet network must provide bounded latency and
>> jitter, once the network promises an AccumulatedLatency value to a flow,
>> doesn't it have to maintain that value at least for the duration of the
>> flow? We haven't discussed much about the consistency over time of such
>> things as latency and jitter, but I assumed they would be within some
>> given bound over time, right? Or is it an enduring property of the given
>> network? Isn't that in effect a MinLatency value?
>> Ethan.
>> 
>> -----Original Message-----
>> From: detnet [mailto:detnet-bounces@ietf.org] On Behalf Of Rodney Cummings
>> Sent: Tuesday, October 11, 2016 5:54 AM
>> To: Grossman, Ethan A.; detnet@ietf.org
>> Subject: Re: [Detnet] DetNet - Migration path
>> 
>> Thanks Ethan,
>> 
>> The current draft of 802.1Qcc has both for each flow (stream):
>> 
>> - AccumulatedLatency: This is provided from network to user, and it
>> represents the currently configured maximum latency.
>> 
>> - MaxLatency: This is provided from user to network as the maximum latency
>> that the application requires. If AccumulatedLatency exceeds this value,
>> the network reports failure (flow not configured).
>> 
>> The assumption was that the network configuration may need to adapt to
>> changing physical hardware and/or the requirements of new flows, and
>> therefore AccumulatedLatency isn't always stable.
>> 
>> Early drafts of 802.1Qcc had a MinLatency requirement (for low jitter),
>> but that was removed due to concerns that it would require significant
>> buffering. Application representatives (e.g. automotive, industrial) did
>> not make strong arguments to keep MinLatency.
>> 
>> Rodney
>>> -----Original Message-----
>>> From: Grossman, Ethan A. [mailto:eagros@dolby.com]
>>> Sent: Friday, October 7, 2016 3:21 PM
>>> To: Rodney Cummings <rodney.cummings@ni.com>; detnet@ietf.org
>>> Subject: RE: DetNet - Migration path
>>> 
>>> Thanks Rodney. On a peripherally related note, one thing you mention
>>> below about 802.1Qcc is "the user ... requests a maximum latency". In
>>> another current DetNet discussion there is the distinction between the
>>> user requesting a specific latency (presumably implying a reply from
>>> the network saying whether it was available or not) vs only being able
>>> to query the network about its latency performance. I thought we were
>>> converging on the latter model, but now I'm not as clear. Am I missing
>>> something here?
>>> Thanks,
>>> Ethan.
>>> 
>>> -----Original Message-----
>>> From: Rodney Cummings [mailto:rodney.cummings@ni.com]
>>> Sent: Friday, October 07, 2016 11:23 AM
>>> To: Grossman, Ethan A.; detnet@ietf.org
>>> Subject: RE: DetNet - Migration path
>>> 
>>> Great topic,
>>> 
>>> I'm not completely clear on what it would mean for a router to support
>>> DetNet, but let's assume it means that the router:
>>> 1. Uses one of the solutions from draft-dt-detnet-dp-alt to identify
>>> flows of DetNet data.
>>> 2. Uses queuing/shaping/scheduling techniques from 802.1Q to provide
>>> DetNet guarantees for that data (e.g. max latency).
>>> 3. Provides YANG management for #1 and #2.
>>> 
>>> All of this could be done today using vendor-specific YANG modules,
>>> with centralized network management software from that vendor. That's
>>> not ideal of course, but it is useful.
>>> 
>>> How would a user application (protocol from
>>> draft-ietf-detnet-use-cases) use this?
>>> 
>>> I would argue that the user applications should use the "API"
>>> specified in 802.1Qcc clause 46 (currently in draft). That API is
>>> agnostic of layer 2/3 details and the data-plane encoding. The user
>>> simply identifies the flows from the host perspective (e.g. UDP header
>>> fields), and requests a maximum latency. The API is used between the
>>> user's application and the centralized network management software.
>>> The API specifies YANG, so it can be implemented as a RESTful API or
>> similar.
>>> 
>>> AVnu Alliance's goal is to certify conformance to standards (i.e.
>>> multiple vendors).
>>> 
>>> Can AVnu Alliance certify the vendor-specific router implementation?
>>> No Can AVnu Alliance certify the 802.1Qcc API between the user
>>> application and the vendor-specific network manager? Yes As time goes
>>> on and DetNet standards are published, can AVnu Alliance certification
>>> do deeper into the routers? Yes
>>> 
>>> That's one hypothetical intermediate plan.
>>> 
>>> Rodney
>>> 
>>> From: detnet [mailto:detnet-bounces@ietf.org] On Behalf Of Grossman,
>>> Ethan A.
>>> Sent: Friday, October 7, 2016 12:42 PM
>>> To: detnet@ietf.org
>>> Subject: [Detnet] DetNet - Migration path
>>> 
>>> Hi Folks,
>>> 
>>> I did a brief "DetNet Status" presentation to the AVnu Alliance
>>> Technical Working Group, which is an industry group that promotes
>>> AVB/TSN. The attendance at this particular meeting was mostly Pro
>>> Audio people, and their main line of questioning was "What is the plan
>>> for incrementally migrating users from where they are today to
>>> increasingly improved network performance, which would eventually
>>> culminate in "full DetNet"?"  Another way to put it might be "Can we
>>> leverage the work of DetNet to improve networking capabilities between
>>> now and when DetNet is implemented on most routers?"
>>> 
>>> As far as I know, we don't have a plan to roll out a "migration path"
>>> with intermediate performance levels, using today's protocols, perhaps
>>> with "minor" changes to support DetNet. We are designing an
>>> architecture and protocol extensions that will do the job, leveraging
>>> existing  protocols to the extent possible, but it is an end goal, not a
>> roadmap.
>>> 
>>> Having said that, do we have any other more helpful reply to this line
>>> of questioning?
>>> 
>>> Thanks,
>>> Ethan.
>>> 
>> 
>> _______________________________________________
>> detnet mailing list
>> detnet@ietf.org
>> https://www.ietf.org/mailman/listinfo/detnet
> 
>    _______________________________________________
>    detnet mailing list
>    detnet@ietf.org
>    https://www.ietf.org/mailman/listinfo/detnet
> 
> 
> _______________________________________________
> detnet mailing list
> detnet@ietf.org
> https://www.ietf.org/mailman/listinfo/detnet