Re: [spring] Is srv6 PSP a good idea

Mark Smith <markzzzsmith@gmail.com> Sun, 15 December 2019 03:08 UTC

Return-Path: <markzzzsmith@gmail.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 50675120099 for <spring@ietfa.amsl.com>; Sat, 14 Dec 2019 19:08:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.396
X-Spam-Level:
X-Spam-Status: No, score=-0.396 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, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 XCK7IfYuVIMJ for <spring@ietfa.amsl.com>; Sat, 14 Dec 2019 19:08:45 -0800 (PST)
Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) (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 3BA2312004C for <spring@ietf.org>; Sat, 14 Dec 2019 19:08:45 -0800 (PST)
Received: by mail-oi1-x232.google.com with SMTP id d62so2689054oia.11 for <spring@ietf.org>; Sat, 14 Dec 2019 19:08:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WFeyvNDAiYPIdQ/h625VuMHWPKbfn6vRZWT6SIuVczQ=; b=e8G/cdkCKn/pAGuWkZdsZ2Pv94mcj5lxLI3q6ut9bfQlAmKnYtws5wUrpX7JbG7QG0 84NP2DJ3mlEYTvD6Sy97j0QCWwA0/veZA1nTHgJrPlEgsKJjRf5EGTK0+dzDpBe2LtQ6 +BKbmeOP9sAuBh/e7afKSYDPiPGGYy6VreFXMBYUbgDiDS9S2FX3Pvu19nNq7TVMVrWD k7DEbGgTXfS81A5wjd2O0tq04GNxwnFnkRKTOaKeoMA8KR8Kdf+W/aC86mUxfSdNON+C xl2Gj3M44qYC2ddeoo7STV6l5JlMZ9vVtV+4JNzDucAVrciD3W/1ErwNhjzCMI2iY71e iNuQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WFeyvNDAiYPIdQ/h625VuMHWPKbfn6vRZWT6SIuVczQ=; b=YD7oc9wkae9URW6SHgCcIpi8+JsVurcYlrjSeoRtGzH6zbpCkWX451c1CEm/KxA5Nx bCufsLaz/bie7CD3N7ZkxPUjE7gr+sDrIgyn8gf4blxx4oxnhPa2T27rlojeqxHNuZUK 6n59xMcDB9vGaX7VChh7B5EDQdqijcLSECL+eeAxHBLtC0Nfdpaaof4OTNxm1kgZqWL7 /22lSd/Si3hA18QUm7TSSZxctgjCvYPFJ4LjC/k2ZS/aDwtC0dXME2upJv6OMGyMe8jW OFK5cDh0lZMrKVYDa8U8+55vs2Lxz7FHXo1ieDfdWgpqDizoYC+Kkl/HvBMm1WcXYF3n mNyg==
X-Gm-Message-State: APjAAAXvrAAtFhj39mq05qQodgKRTEwxKdewo4zNO4h0AAYYCi3bJ9f2 jjVEUiKWiAL3Rk1YaOOIOOp2ft24pn6N/95jarQ=
X-Google-Smtp-Source: APXvYqxnbf1RkSHp46lUZatrP4S2wpqIPACCQTJOkCFabQZXNAGrW2V9pSyrt4NFKiy6gdtx5EfP65XmtwOJeZfPr24=
X-Received: by 2002:a05:6808:f:: with SMTP id u15mr8489990oic.164.1576379324452; Sat, 14 Dec 2019 19:08:44 -0800 (PST)
MIME-Version: 1.0
References: <5c2a4b36-0c59-709e-23eb-00f4aa1ce52f@joelhalpern.com> <9B89F4C2-5594-4D31-8893-21F3F4A0DF6C@cisco.com> <BN7PR05MB569969EE8D1929E7069E1BB0AE550@BN7PR05MB5699.namprd05.prod.outlook.com>
In-Reply-To: <BN7PR05MB569969EE8D1929E7069E1BB0AE550@BN7PR05MB5699.namprd05.prod.outlook.com>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Sun, 15 Dec 2019 14:08:32 +1100
Message-ID: <CAO42Z2xuHbaWRfxjDR9k90QfH6ZeE5fuiaE1VtH7Ptpby2FkRQ@mail.gmail.com>
To: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>
Cc: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>, "Joel M. Halpern" <jmh@joelhalpern.com>, "spring@ietf.org" <spring@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000aa53280599b5697f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/8J-5zmF1XYBEcSLEjY_1xY2z618>
Subject: Re: [spring] Is srv6 PSP a good idea
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 15 Dec 2019 03:08:47 -0000

On Fri, 13 Dec 2019, 07:50 Ron Bonica, <rbonica=40juniper.net@dmarc.ietf.org>
wrote:

> Pablo,
>
> I am not convinced the benefit derived by the ultimate segment justifies
> the price paid by the penultimate segment. Specifically,
>
> - the ultimate segment benefits because it doesn't have to skip over the
> SRH with SL == 0
> - in order for the ultimate segment to derive this benefit, the
> penultimate segment needs to remove bytes from the middle of the packet and
> update two fields in the IPv6 header
>
> As Joel said, we typically don't add options (i.e., complexity) to a
> specification unless there is substantial benefit.
>


It's also contrary to the SPRING charter:

"SPRING WG should avoid modification to existing data planes that would
make them incompatible with existing deployments. Where possible,
existing control and management plane protocols must be used within
existing architectures to implement the SPRING function."

The only time significant changes to IPv6 operation should be proposed are
if what is being tried to be done is impossible using existing mechanisms,
or there is a very significant benefit that far outweighs the cost and
consequences of changing a protocol that is decades old and already has
millions of deployments.

When significant changes to a protocol are needed or would provide
significant advantages, that's a sign that either (a) it's the wrong
protocol to try to use or (b) it's time for a new version of the protocol.

The 'man' in 6man stands for 'maintenance'. IPv6 is way past the
development stage (that was 1995 and earlier).

It seems SPRING is commonly taking a "new protocol development" approach
regarding IPv6, rather than "use an existing protocol" approach. This "new
protocol development" approach is costing a lot of time and effort due to
long debates that really shouldn't be needed if the SPRING charter was
being followed, and IPv6 was just being used rather than attempted to be
being redeveloped.

Regards,
Mark.



>                                                     Ron
>
>
>
>
> Juniper Business Use Only
>
> -----Original Message-----
> From: spring <spring-bounces@ietf.org> On Behalf Of Pablo Camarillo
> (pcamaril)
> Sent: Wednesday, December 11, 2019 3:12 PM
> To: Joel M. Halpern <jmh@joelhalpern.com>; spring@ietf.org
> Subject: Re: [spring] Is srv6 PSP a good idea
>
> Joel,
>
> 1.- The use-case for PSP has already been provided at the mailer. There
> are scenarios where it provides benefits to operators.
>
> 2.- The PSP behavior is optional. It is up to the operator in his
> deployment to decide whether to enable it or not at one particular router.
> Similarly, a vendor may decide not to implement it. The PSP behavior has
> been implemented by several vendors and deployed (see the srv6 deployment
> draft).
>
> 3.- A network may have PSP enabled at some nodes and not at others.
> Everything is still interoperable and works fine.
>
> 4.- PSP is not a complex operation in hardware (doable at linerate on
> existing merchant silicon).
> Example: It has been implemented and deployed on Broadcom J/J+. If I
> recall correctly Broadcom Jericho+ started shipping in March 2016! PSP is
> supported on this platform at linerate with no performance degradation
> (neither PPPS nor BW).
> Given that this is doable in a platform from more than 3 years ago, I fail
> to see how you need "very special provision" to do this.
>
> Is it really something that horrible to provide freedom of choice to the
> operators deploying?
>
> In summary, it can be implemented without any burden in hardware and
> deployment experience prove this is beneficial to operators.
>
> Thanks,
> Pablo.
>
> -----Original Message-----
> From: spring <spring-bounces@ietf.org> on behalf of "Joel M. Halpern" <
> jmh@joelhalpern.com>
> Date: Wednesday, 11 December 2019 at 03:55
> To: "spring@ietf.org" <spring@ietf.org>
> Subject: [spring] Is srv6 PSP a good idea
>
>     For purposes of this thread, even if you think PSP violates RFC 8200,
>     let us assume that it is legal.
>
>     As I understand it, the PSP situation is:
>     o the packet arrives at the place (let's not argue about whether SIDs
>     are locators) identified by the SID in the destination address field
>     o that SID is the next to last SID in the SID list
>     o that sid is marked as / known to be PSP
>     o at the intended place in the processing pseudocode, the last (first)
>     entry in the SRH is copied into the destination IPv6 address field of
>     the packet
>     -> The SRH being used is then removed from the packet.
>
>     In order to evaluate whether this is a good idea, we have to have some
>     idea of the benefit.  It may be that I am missing some of the benefit,
>     and I would appreciate clarification.
>     As far as I can tell, the benefit of this removal is that in exchange
>     for this node doing the work of removing the SRH, the final node in
> the
>     SRH does not have to process the SRH at all, as it has been removed.
>
>     I have trouble seeing how that work tradeoff can be beneficial.
>     Removing bytes from the middle of a packet is a complex operation.
>     Doing so in Silicon (we expect this to be done in the fast path of
>     significant forwarders as I understand it) requires very special
>     provision.  Even in software, removing bytes from the middle of a
> packet
>     requires somewhere between some and a lot of extra work.  It is
>     distinctly NOT free.
>
>     In contrast, we have assumed that the work of processing SRH itself is
>     tractable, since otherwise all of SRv6 would be problematic.  So why
> is
>     this necessary.
>
>     Yours,
>     Joel
>
>     PS: Note that both the MPLS case and the encapsulation case are very
>     different in that the material being removed is at the front of the IP
>     packet.  Pop or prepend are MUCH easier than middle-removal (or
>     middle-insertion).
>
>     _______________________________________________
>     spring mailing list
>     spring@ietf.org
>
> https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/spring__;!!NEt6yMaO-gk!Uvd5DRUIJlsmob5a7r4JRgMMbZcE60JOPIW3K2MubKpIuKXA1r78vsFpWAHa8hW2$
>
>
> _______________________________________________
> spring mailing list
> spring@ietf.org
>
> https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/spring__;!!NEt6yMaO-gk!Uvd5DRUIJlsmob5a7r4JRgMMbZcE60JOPIW3K2MubKpIuKXA1r78vsFpWAHa8hW2$
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring
>