Re: [Pals] draft-ietf-pals-ethernet-cw and enhanced heuristics

"Andrew G. Malis" <agmalis@gmail.com> Wed, 25 October 2017 16:50 UTC

Return-Path: <agmalis@gmail.com>
X-Original-To: pals@ietfa.amsl.com
Delivered-To: pals@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E871F139478; Wed, 25 Oct 2017 09:50:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 X2iHSkrQwIj7; Wed, 25 Oct 2017 09:50:44 -0700 (PDT)
Received: from mail-oi0-x22b.google.com (mail-oi0-x22b.google.com [IPv6:2607:f8b0:4003:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E8FE5138BE7; Wed, 25 Oct 2017 09:50:43 -0700 (PDT)
Received: by mail-oi0-x22b.google.com with SMTP id m198so1119675oig.5; Wed, 25 Oct 2017 09:50:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yBVpt5b+WiFX+ku70JhdnvdmE9eutEdHKTWJ1Lwb75M=; b=EoC9uDCfs+F5v3/hX77L2yMxdqeEWmynVdMvnMk74K4kvXM0HKBb3rRjX5Vk1ImDCZ HxHjJzpld777ezGzHvZ9T2nn4lJESe42As6ZbRfTfuvMNNPm3HOTQSGrq6lrKEtQ7MnW yifyjBxbdZiy2pa91Hxyf92e+0k214j0SjiVfyVlLx7h3ZFBcMfYgNVJyaCp0WWIaPDh yIBTV0R8ql0Lb23iTo2TBWLjXLbXFpvN+wH8U9+KdfGhH4lBdVmktZfa9AjF6qEk5D14 azTNdsu55jWYM5PLHDvtmJR0ZdoyIpD5PVoy4f7J+uBqoN5u1Ehz4ZTWNQafwhQWPTXN JyGQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yBVpt5b+WiFX+ku70JhdnvdmE9eutEdHKTWJ1Lwb75M=; b=CteL8HhaMBJCBA4H8236LUE575euMd2SHQ4SrigoG4Y0EW6D28CljCXDre/E/d5Kgw 36p7Y6ZcdsU0xZWikaz9ydh3F2wasr95Sw/yG1BsiyZliC+GXPQPKRpoezlAf2CqRGlT RrUXu3KBk8vz/2y9JWsNhp/1G7kWJDFao0DqZn9SmXcjUJ1Nl+r0Bn4uNgVWWs7ioJh/ BUeifZ/2N/TqPcu8XyzChCfgfp5iJEcC/YyWwWyrDJ7RhsCIdzmNNusPhF/nOGNsYIuS V59XM5vF6eZiARvpwiV5odH9LLwIn4laUPSMbrP0K82Ek8nqFl0gEO9vjSBd6/+Di35r 7nNA==
X-Gm-Message-State: AMCzsaWE1HPUseI4yjnrPTvZimkOnse/h8v1ynVy1NEX2vtBMBpO0/DP DMwxmx4SMkJnvaYVIio0NaMS3/zTU1yFoLmpHjQ=
X-Google-Smtp-Source: ABhQp+Tii1i3gr08+JWWrQFkM05RerRmqZJ9ldowPnXHyvfEW1JQXFMPDKm6/TyfWYqvUNx4OG48XrnILYFLweythEU=
X-Received: by 10.202.205.150 with SMTP id d144mr1385976oig.333.1508950243210; Wed, 25 Oct 2017 09:50:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.202.171.195 with HTTP; Wed, 25 Oct 2017 09:50:22 -0700 (PDT)
In-Reply-To: <8e6901f8-63ff-008b-ae00-e49620b76769@gmail.com>
References: <8e6901f8-63ff-008b-ae00-e49620b76769@gmail.com>
From: "Andrew G. Malis" <agmalis@gmail.com>
Date: Wed, 25 Oct 2017 12:50:22 -0400
Message-ID: <CAA=duU1E9vdgqB53Ck3M+q53JS1L3d35Lr572+_ZZ3_Dha-wiQ@mail.gmail.com>
To: Stewart Bryant <stewart.bryant@gmail.com>
Cc: "pals@ietf.org" <pals@ietf.org>, draft-ietf-pals-ethernet-cw@ietf.org
Content-Type: multipart/alternative; boundary="001a11c17cac3afac5055c61db50"
Archived-At: <https://mailarchive.ietf.org/arch/msg/pals/eXBArFUWBPACkTAdjKqAIMFrj3s>
Subject: Re: [Pals] draft-ietf-pals-ethernet-cw and enhanced heuristics
X-BeenThere: pals@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Pseudowire And LDP-enabled Services dicussion list." <pals.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pals>, <mailto:pals-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pals/>
List-Post: <mailto:pals@ietf.org>
List-Help: <mailto:pals-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pals>, <mailto:pals-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Oct 2017 16:50:46 -0000

Stewart,

I agree that this should be addressed, as the behavior as described in the
online documentation would prevent guaranteed in-order delivery, which is
what we are trying to address.

I also agree that we should include the quote from 4385 and your suggestion
in your second-to-last paragraph.

I also think that we should include the following, as you suggest in your
last paragraph: “RFC 6391 is RECOMMENDED as the safe and proper way to
achieve ECMP for Ethernet PWs if that indeed is desired." I don’t think we
need to also reference 6790, but that could be just me. :-)

Cheers,
Andy


On Wed, Oct 25, 2017 at 7:07 AM, Stewart Bryant <stewart.bryant@gmail.com>
wrote:

>
> The following has just been drawn to my attention:
>
> https://www.juniper.net/documentation/en_US/junos/topics/
> concept/mpls-encapsulated-payload-load-balancing-overview.html
>
> The writer contacted the authors, but not the list, and stated that this
> heuristic results in similar behaviour to that which we are trying to
> address in this draft, but that the draft as written does not address this
> problem.
>
> I have asked the writer to post to the PALS list or let me do it for them.
>
> In such implementations, even requiring the CW does not address the issue
> that is being reported to us.
>
> Looking at RFC4385 it says:
>
>   If a PW is sensitive to packet misordering and is being carried over
>    an MPLS PSN that uses the contents of the MPLS payload to select the
>    ECMP path, it MUST employ a mechanism that prevents packet
>    misordering.  A suitable mechanism is the PWMCW described in Section
>    3 for data, and the PWACH described in Section 5 for channel-
>    associated traffic.
>
> PWMCW is a reference to the use of the CW  starting with 0000.
>
> I think that the implication in RFC4385 is that implementations should not
> proceed past the CW. That was certainly my intention when I wrote the text
> in 2005. I must say that whilst I knew of implementations that tried to
> perform ECMP on IP payloads, I was not aware of implementations that would
> attempt to glean that the PW was Ethernet and that its payload was IP and
> then perform five-tuple ECMP on the Ethernet payload.
>
> I am wondering if we need to address this, and if so how to proceed.
>
> One way would be to add text quoting RFC4385 and noting the use of the
> control word only prevents incorrect ECMP in implementations that cease
> further packet analysis on encountering a CW. Implementations that do
> packet analysis beyond the CW should expect unpredictable results, and
> therefore as noted in RFC4385 MUST employ an alternate mechanism to prevent
> packet misordering.
>
> We could leave it there or we could suggest that using RFC6391 or RFC6790
> with no further heuristics is a safe way to achieve ECMP.
>
> - Stewart
>
>
>
>