Re: [Detnet-dp-dt] [EXT] Re: Data Plane Approach - Synchronization Traffic

Loa Andersson <loa@pi.nu> Wed, 08 February 2017 04:58 UTC

Return-Path: <loa@pi.nu>
X-Original-To: detnet-dp-dt@ietfa.amsl.com
Delivered-To: detnet-dp-dt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 122E512994F for <detnet-dp-dt@ietfa.amsl.com>; Tue, 7 Feb 2017 20:58:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 tlNtRZeqgHTJ for <detnet-dp-dt@ietfa.amsl.com>; Tue, 7 Feb 2017 20:57:58 -0800 (PST)
Received: from pipi.pi.nu (pipi.pi.nu [83.168.239.141]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7B10C1296FC for <detnet-dp-dt@ietf.org>; Tue, 7 Feb 2017 20:57:58 -0800 (PST)
Received: from [192.168.1.11] (unknown [112.204.169.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: loa@pi.nu) by pipi.pi.nu (Postfix) with ESMTPSA id 4EDFE18013D1; Wed, 8 Feb 2017 05:57:54 +0100 (CET)
To: Tal Mizrahi <talmi@marvell.com>, "detnet-dp-dt@ietf.org" <detnet-dp-dt@ietf.org>
References: <3DF0466E9510274382F5B74499ACD6F8C3257C@dfwpml702-chm.exmail.huawei.com> <3B0A1BED22CAD649A1B3E97BE5DDD68BBAB0F843@szxema506-mbs.china.huawei.com> <DBXPR07MB12887A58BA3E4FD731353AFAC430@DBXPR07MB128.eurprd07.prod.outlook.com> <02cffc2b-f530-f052-6750-2ca7bae4a4df@pi.nu> <ce4b10261f5f4f4982569f077913c9d0@IL-EXCH01.marvell.com>
From: Loa Andersson <loa@pi.nu>
Message-ID: <564ade86-3005-58c0-6016-dd75d6cddd97@pi.nu>
Date: Wed, 8 Feb 2017 12:57:49 +0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0
MIME-Version: 1.0
In-Reply-To: <ce4b10261f5f4f4982569f077913c9d0@IL-EXCH01.marvell.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet-dp-dt/ZKh6GMHVbbiWvLqibeawQfUS8z0>
Subject: Re: [Detnet-dp-dt] [EXT] Re: Data Plane Approach - Synchronization Traffic
X-BeenThere: detnet-dp-dt@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: DetNet WG Data Plane Design Team <detnet-dp-dt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/detnet-dp-dt>, <mailto:detnet-dp-dt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/detnet-dp-dt/>
List-Post: <mailto:detnet-dp-dt@ietf.org>
List-Help: <mailto:detnet-dp-dt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/detnet-dp-dt>, <mailto:detnet-dp-dt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Feb 2017 04:58:01 -0000

Tal,

On 2017-02-08 00:05, Tal Mizrahi wrote:
> Hi Loa,
>
> Here is my understanding:
>
>> The reason why we not want to use a DetNet network that do replication and
>> elimination is that the intermediate nodes "fiddle" with the synchronization
>> packets, and when doing so they leave traces, so the target node will have a hard
>> time (or can't) coordinate the packet flow and the synchronization is lost.
>
> The reason we do not want replication/elimination is that if PTP packets are intermittently sent through two different paths, they would intermittently have two delay values.

This may be self-evident, but I don't really follow.

Any network will give you some delay variation, the PTP packet might 
sometime fall behind a larger packet, sometimes be forwarded ahead of
the large packet.

Now in the DetNet scenario (the slides we had before) where A
replicate the packet to B and C, which forward to D, and where D
eliminate the late packet.

There is only one packet coming through, the one that had the least 
delay of a replicated pair. I don't immediately see why this is a
problem.

Is it obvious that the DetNEt scenario causes larger delay variation 
than a network without DetNet cpabilities?

Looking forward to the discussion.

/Loa


Having a non-constant delay makes it hard for the PTP slave algorithm to 
accurately synchronize.
>
> There are other issues that have been discussed on this thread, and I will try to summarize these in the DETNET DT meeting tomorrow (or today, depending on the time zone :).
>
> Cheers,
> Tal.
>
>> -----Original Message-----
>> From: Detnet-dp-dt [mailto:detnet-dp-dt-bounces@ietf.org] On Behalf Of Loa
>> Andersson
>> Sent: Tuesday, February 07, 2017 5:06 PM
>> To: detnet-dp-dt@ietf.org
>> Subject: Re: [Detnet-dp-dt] [EXT] Re: Data Plane Approach - Synchronization
>> Traffic
>>
>> Folks,
>>
>> Let me re-iterate the PTP and replication/elimination discussion from my
>> understanding of synchronization (which is close to zero).
>>
>> The reason why we not want to use a DetNet network that do replication and
>> elimination is that the intermediate nodes "fiddle" with the synchronization
>> packets, and when doing so they leave traces, so the target node will have a hard
>> time (or can't) coordinate the packet flow and the synchronization is lost.
>>
>> On the other hadnd this needs not be  problem since not all DetN, traffic will b e
>> replicated/eliminated, just send the traffic on a path that is true hop-by-hop.
>>
>> /Loa
>>
>> On 2017-02-07 14:50, Balázs Varga A wrote:
>>> Hi,
>>>
>>> we do not have an use-case to transport "sync over DetNet" and in my view
>> that is intentional.
>>> DetNet functions may rely on "time sync" of network nodes. So the
>>> "better approach" as described by Norm is the preferred solution.
>>> Namely, the network synchronizes all its components in a secure and
>>> robust manner. That "infrastructure clock" serves as a master clock to its
>> attached endpoints and used by the DetNet nodes.
>>>
>>> If "gold, silver, bronze" sync service have to be provided for
>>> endpoints, than gold requirements are needed in the transport network
>>> nodes and You can destroy the accuracy level (over the UNI interface) to
>> "bronze" if You intend to do so.
>>>
>>> Cheers
>>> Bala'zs
>>>
>>> -----Original Message-----
>>> From: Jiangyuanlong [mailto:jiangyuanlong@huawei.com]
>>> Sent: Tuesday, February 07, 2017 3:31 AM
>>> To: Norman Finn
>>> Cc: jouni.korhonen@broadcom.com; Balázs Varga A ; talmi@marvell.com;
>>> loa@pi.nu; detnet-dp-dt@ietf.org
>>> Subject: RE: [Detnet-dp-dt] [EXT] Re: Data Plane Approach -
>>> Synchronization Traffic
>>>
>>> Norm, please see my inline comments prefixed with [YJ].
>>>
>>> Thanks,
>>> Yuanlong
>>>
>>> From: Norman Finn [mailto:norman.finn@mail01.huawei.com]
>>> Sent: Tuesday, February 07, 2017 6:22 AM
>>> To: Jiangyuanlong
>>> Cc: jouni.korhonen@broadcom.com; balazs.a.varga@ericsson.com;
>>> talmi@marvell.com; loa@pi.nu; detnet-dp-dt@ietf.org
>>> Subject: Re: [Detnet-dp-dt] [EXT] Re: Data Plane Approach -
>>> Synchronization Traffic
>>>
>>> Networks that have but one application can run some profile of IEEE 1588.
>> IMO, that's running 1588, not time as a service.  I'm not sure if that is your 2,
>> below, or not.
>>> [YJ] Yes, I think this is case 2. DetNet network needs a high precision
>> synchronization itself, and IEEE 1588 seems to be the appropriate technology.
>>>
>>> You can tailor some networks to treat PTP preferentially, presumably as
>> extremely high priority, perhaps allowing it to do preemption.  (Your 1, below, I
>> think)  This gets problematical as the rate of PTP traffic grows, perhaps because
>> many applications or many users want their own independent PTP instances, and
>> of course, the individual instances are not cheap to supply with masters and
>> maintain.  Jumps in time happen when a netquake alters path lengths.
>>> [YJ] Yes, this is case 1. Synchronization service can also be differentiated, for
>> example, to 3 classes: gold, silver, bronze. Only the critical users need the gold
>> sync service (DetNet can be the very underlying technology), but the cost will be
>> high. Some other business only need a moderate sync service, but more reliable
>> or more accurate than the time service available over the Internet (totally free of
>> charge;).
>>>
>>> A better approach for a great many networks will be for the network to
>> synchronize all its components in a secure and robust manner, so that there is a
>> "good clock" in or near every PE. That "good clock" serves as a master clock to its
>> attached users, using most any PTP profile, perhaps one that hasn't been created,
>> supplying time as a service.  I'm not sure if that is your 2, below, or not.  This way,
>> there is only one good, managed, stable, PTP instance (or multiple instances, for
>> redundancy -- that's up to the network administration).  Time is hard.  The end-
>> to-end model may be great for lots of things, but not necessarily for time.
>>> [YJ] I think this scenario is more or less aligned with Figure 4 & Figure 5 in ITU-T
>> G.8275, that is, the PRTC (Primary Reference Time Clock) is distributed to the
>> edge of the backhaul network. Since the sync processing is local and there is no
>> need of network transport, this case seems out of scope of DetNet.
>>> [YJ] BTW, we happened to come across the same problem (synchronization
>>> in DetNet) last year, please see more details in
>>>
>> https://mailarchive.ietf.org/arch/msg/scsn/HmC7hoCxO1TabhZdGHhFY_VOnbg
>>>
>>> -- Norm
>>>
>>> ###############
>>>  On Feb 6, 2017, at 04:22, Jiangyuanlong <jiangyuanlong@huawei.com>
>> wrote:
>>>
>>> Synchronization traffic can be categorized into two cases:
>>> 1. Synchronization as a service, high availability can be an advantage for this
>> kind of service Synchronization service is transported from an ingress PE to an
>> egress PE, replication/elimination can optionally be applied between two PEs (i.e.,
>> on S-PEs), while all network nodes including PEs and S-PEs are not aware of the
>> sync message themselves (that is, they don't need to process the PTP messages in
>> the service). And the egress PE will terminate and provide a single copy of each
>> sync packet to a destination CE.
>>>
>>> 2. Synchronization as an infrastructure Since existing technology including
>> SyncE and IEEE 1588 rely heavily on a tree topology to work properly,
>> replication/elimination must not be used in this case.
>>>
>>> My 2 cents,
>>> Yuanlong
>>>
>>>
>>> -----Original Message-----
>>> From: Detnet-dp-dt [mailto:detnet-dp-dt-bounces@ietf.org] On Behalf Of
>>> Jouni Korhonen
>>> Sent: Wednesday, February 01, 2017 4:25 AM
>>> To: Balázs Varga A
>>> Cc: Loa Andersson; Tal Mizrahi; detnet-dp-dt@ietf.org
>>> Subject: Re: [Detnet-dp-dt] [EXT] Re: Data Plane Approach -
>>> Synchronization Traffic
>>>
>>> Indeed. Not all traffic will receive the replication/elimination service. That is
>> based on the configuration.
>>>
>>> - Jouni
>>>
>>>
>>> --
>>> Jouni Korhonen, Broadcom Ltd.
>>> M: +1-408-391-7160
>>>
>>>
>>> On Jan 31, 2017, at 12:13 PM, Balázs Varga A <balazs.a.varga@ericsson.com>
>> wrote:
>>>
>>>
>>> Hi,
>>> For sync usually we need hop-by-hop forwarding.
>>> So it is not clear why to consider replication (and elimination) at all?
>>> Cheers
>>> Bala'zs
>>>
>>> -----Original Message-----
>>> From: Detnet-dp-dt [mailto:detnet-dp-dt-bounces@ietf.org] On Behalf Of
>>> Tal Mizrahi
>>> Sent: Friday, January 27, 2017 8:37 AM
>>> To: Jouni Korhonen <jouni.korhonen@broadcom.com>
>>> Cc: detnet-dp-dt@ietf.org; Loa Andersson <loa@pi.nu>
>>> Subject: Re: [Detnet-dp-dt] [EXT] Re: Data Plane Approach -
>>> Synchronization Traffic
>>>
>>>
>>> In a path redundancy case would the PTP messages on multiple paths be exact
>> copies a single origin PTP message or different PTP messages?
>>>
>>> They would be two different PTP messages.
>>> This implies that we would not like PTP packets to be subject to replication and
>> elimination.
>>>
>>>
>>> Tal.
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: Jouni Korhonen [mailto:jouni.korhonen@broadcom.com]
>>> Sent: Thursday, January 26, 2017 8:40 PM
>>> To: Tal Mizrahi
>>> Cc: Loa Andersson; detnet-dp-dt@ietf.org
>>> Subject: Re: [Detnet-dp-dt] [EXT] Re: Data Plane Approach -
>>> Synchronization Traffic
>>>
>>>
>>>
>>>
>>> On Jan 25, 2017, at 11:10 PM, Tal Mizrahi <talmi@marvell.com> wrote:
>>>
>>> Hi Loa,
>>>
>>>
>>>
>>> - If the answer is yes: not sure replication and elimination makes sense for PTP.
>>>
>>>
>>> Why is that?
>>>
>>> In order for PTP to work well, PTP packets have to be consistently sent over the
>> same path. If packets are intermittently sent through two different paths (with
>> two different delays) the PTP slave will not be able to synchronize in a stable way.
>>>
>>> However, it *does* make sense for PTP to be sent through two different
>>> paths
>>> *without* elimination at the end. Such path redundancy allows the slave to
>> always receive the sync information through both paths, which actually allows
>> more robust synchronization than over a single path.
>>>
>>>
>>> So path redundancy is good for PTP, but elimination - not so good.
>>>
>>> In a path redundancy case would the PTP messages on multiple paths be exact
>> copies a single origin PTP message or different PTP messages?
>>>
>>> - JOuni
>>>
>>>
>>>
>>>
>>> Cheers,
>>> Tal.
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: Loa Andersson [mailto:loa@pi.nu]
>>> Sent: Thursday, January 26, 2017 9:01 AM
>>> To: Tal Mizrahi; detnet-dp-dt@ietf.org
>>> Subject: [EXT] Re: [Detnet-dp-dt] Data Plane Approach -
>>> Synchronization Traffic
>>>
>>> External Email
>>>
>>> -------------------------------------------------------------------
>>> -
>>> -
>>> -
>>> Tal,
>>>
>>> On 2017-01-26 14:44, Tal Mizrahi wrote:
>>>
>>> Hi,
>>>
>>> I realize this is a bit off-topic, but one of the things I am wondering about is how
>> synchronization traffic (PTP) is forwarded in the context of the data plane
>> approaches we have been considering.
>>>
>>> Is PTP transported as a DETNET flow?
>>> - If the answer is no: does that mean we are assuming that synchronization is
>> achieved at a different layer, possibly requiring dedicated communication
>> between the customer and provider?
>>>
>>> - If the answer is yes: not sure replication and elimination makes sense for PTP.
>>>
>>>
>>> Why is that?
>>>
>>> /Loa
>>>
>>>
>>> Will be happy to hear your thoughts, and apologies if this has already been
>> discussed elsewhere and I am not aware.
>>>
>>>
>>> Cheers,
>>> Tal.
>>> _______________________________________________
>>> Detnet-dp-dt mailing list
>>> Detnet-dp-dt@ietf.org
>>> https://www.ietf.org/mailman/listinfo/detnet-dp-dt
>>>
>>> --
>>>
>>>
>>> Loa Andersson                        email:
>>> loa@mail01.huawei.com
>>>
>>> Senior MPLS Expert                          loa@pi.nu Huawei Technologies (consultant)
>> phone: +46 739 81 21 64
>>>
>>> _______________________________________________
>>> Detnet-dp-dt mailing list
>>> Detnet-dp-dt@ietf.org
>>> https://www.ietf.org/mailman/listinfo/detnet-dp-dt
>>>
>>> _______________________________________________
>>> Detnet-dp-dt mailing list
>>> Detnet-dp-dt@ietf.org
>>> https://www.ietf.org/mailman/listinfo/detnet-dp-dt
>>>
>>> _______________________________________________
>>> Detnet-dp-dt mailing list
>>> Detnet-dp-dt@ietf.org
>>> https://www.ietf.org/mailman/listinfo/detnet-dp-dt
>>> _______________________________________________
>>> Detnet-dp-dt mailing list
>>> Detnet-dp-dt@ietf.org
>>> https://www.ietf.org/mailman/listinfo/detnet-dp-dt
>>>
>>> _______________________________________________
>>> Detnet-dp-dt mailing list
>>> Detnet-dp-dt@ietf.org
>>> https://www.ietf.org/mailman/listinfo/detnet-dp-dt
>>>
>>
>> --
>>
>>
>> Loa Andersson                        email: loa@mail01.huawei.com
>> Senior MPLS Expert                          loa@pi.nu
>> Huawei Technologies (consultant)     phone: +46 739 81 21 64
>>
>> _______________________________________________
>> Detnet-dp-dt mailing list
>> Detnet-dp-dt@ietf.org
>> https://www.ietf.org/mailman/listinfo/detnet-dp-dt
> _______________________________________________
> Detnet-dp-dt mailing list
> Detnet-dp-dt@ietf.org
> https://www.ietf.org/mailman/listinfo/detnet-dp-dt
>

-- 


Loa Andersson                        email: loa@mail01.huawei.com
Senior MPLS Expert                          loa@pi.nu
Huawei Technologies (consultant)     phone: +46 739 81 21 64