Re: [spring] Is srv6 PSP a good idea

Gyan Mishra <hayabusagsm@gmail.com> Tue, 17 December 2019 23:08 UTC

Return-Path: <hayabusagsm@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 29E76120058 for <spring@ietfa.amsl.com>; Tue, 17 Dec 2019 15:08:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 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, 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=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 8DGwMpE08H14 for <spring@ietfa.amsl.com>; Tue, 17 Dec 2019 15:08:13 -0800 (PST)
Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (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 013531200B1 for <spring@ietf.org>; Tue, 17 Dec 2019 15:08:13 -0800 (PST)
Received: by mail-io1-xd2d.google.com with SMTP id i11so9856504ioi.12 for <spring@ietf.org>; Tue, 17 Dec 2019 15:08:12 -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=DVikEBvgxPLwUTtwX0ziWiu6PxhUAIaQII58Uq6iHrk=; b=emUjHdNBs8MTut7pk8GtGsR2sfSj90C8DT6MHQtEXps3gEgWKbGrD7NGdl5gotaXA/ fuJz7qhuLvDVpXdBPBDruMZ9bC34eE3dQMkcsmNpOPxAANvsP1D7yLSQ2nuz31qZVElh aRktsht14IE61k0k5YloIopBsWu4Jcn5XfRhWiGp6XInDqEdnsc9uR8dutynj44m8HCl nQqjhpjbHp4hjcPc/7mustba+SythZEyuB1sMVlyhAcDJBjdBB4F+HIYES/zHGKsBFtY XzWkLxcU/7GJI0qiWK4u1QItnfKyAL0mbKbyegk2wxYptJN1PuM98ZwdxkCRwGGPehFy ZY2w==
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=DVikEBvgxPLwUTtwX0ziWiu6PxhUAIaQII58Uq6iHrk=; b=pcuoqoYByl2a395xcpJi5u5l/RgV2z2/at1QlsEPZGNEwxnD+fDh3cqj2NoFSSvV/B s9ahZvmnJTTE17AKUEaTGxylrw1mZH7nIXP5icrgZfispM+M63dxX2RjBned0QaqCn9o +YfMA9yecWhtCC/vo6GJFJc/p7KX8PU2dZvtRMbDZBVX2JZxgoGk6ANZgNs4Fdw73+mO +P+awfFxq3zZPlk/vhvE4eWqO74iJmAl/KANsFTrTbfDvWpGy5BkTnYS4kA6m2XXTuF6 nUZ3by4ieOLGjKmJpjHYxDi6NvZxCfGmmHfmkRfA1D7wZYFBWmbHnqLUL5r3WyAC1R4s zIwg==
X-Gm-Message-State: APjAAAVfWh6L2BHkwTU3itDRY6tWTI7PpS/DCFxdI2alVO/KchYo1C51 cImWFsQFPyxDBJJPEWUoOvg3TRlaFzrClOZ7KNk=
X-Google-Smtp-Source: APXvYqwgtQrWO3hY3Vt0yRcl/2N4xMQfP29fS7g5MqnRIJovU1gLxtCzDnnYLFYymIO9e3VyCiUn7gdN8e+fuCiVAC8=
X-Received: by 2002:a6b:c9ca:: with SMTP id z193mr250524iof.276.1576624091979; Tue, 17 Dec 2019 15:08:11 -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> <58ED78D3-9E0C-4556-8853-8754B361DF6D@cisco.com> <BN7PR05MB5699D79B1FC40662EE9E95B6AE500@BN7PR05MB5699.namprd05.prod.outlook.com>
In-Reply-To: <BN7PR05MB5699D79B1FC40662EE9E95B6AE500@BN7PR05MB5699.namprd05.prod.outlook.com>
From: Gyan Mishra <hayabusagsm@gmail.com>
Date: Tue, 17 Dec 2019 18:08:01 -0500
Message-ID: <CABNhwV0iYxku7ApB6es6UvK+-me-=Psne+7d=OXiQ+xyX3t8sg@mail.gmail.com>
To: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>, "spring@ietf.org" <spring@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f266700599ee660f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/McrzNN73LWp2qXA9TsuY8pNdmow>
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: Tue, 17 Dec 2019 23:08:16 -0000

On Tue, Dec 17, 2019 at 10:05 AM Ron Bonica <rbonica=
40juniper.net@dmarc.ietf.org> wrote:

> Pablo,
>
> In your message below, are you arguing that it is easier for the
> penultimate node to remove the SRH than it is for the ultimate node to
> ignore it? I think that would be a stretch.
>
>
>     Ron
>
>
>
> Juniper Business Use Only
>
> -----Original Message-----
> From: Pablo Camarillo (pcamaril) <pcamaril@cisco.com>
> Sent: Saturday, December 14, 2019 4:50 AM
> To: Ron Bonica <rbonica@juniper.net>; Joel M. Halpern <jmh@joelhalpern.com>;
> spring@ietf.org
> Subject: Re: [spring] Is srv6 PSP a good idea
>
> Ron,
>
> What is the "price paid by the penultimate segment"? All the current
> implementations do this at linerate with no performance degradation as I
> have explained in my email before.
>
> There is substantial benefit. Four operators have deployed PSP, which
> proves the benefit.
> It enables new use-cases that have been provided by other members in the
> list. [1], [2] and [5].
> From operational perspective it is not complex as explained in [3].
> Operators have expressed their value in [4] and [5].
>
> [1].-
> https://urldefense.com/v3/__https://mailarchive.ietf.org/arch/msg/spring/wTLJQkzC6xwSNPbhB84VH0mLXx0__;!!NEt6yMaO-gk!TzJ8_ZyDvWvLPNwsalQ6RiBzoLkP6Vj30eGaDVFEWdDq_IdPkWwaIL4IcdXeBzk_$
> [2].-
> https://urldefense.com/v3/__https://mailarchive.ietf.org/arch/msg/spring/V0ZpjVLSVZxHaBwecXFxqJjlg_c__;!!NEt6yMaO-gk!TzJ8_ZyDvWvLPNwsalQ6RiBzoLkP6Vj30eGaDVFEWdDq_IdPkWwaIL4IcU9bihBc$
> [3].-
> https://urldefense.com/v3/__https://mailarchive.ietf.org/arch/msg/spring/ssobwemrPz0uEZjvRCZP1e4l_l0__;!!NEt6yMaO-gk!TzJ8_ZyDvWvLPNwsalQ6RiBzoLkP6Vj30eGaDVFEWdDq_IdPkWwaIL4Icc_wo902$
> [4].-
> https://urldefense.com/v3/__https://mailarchive.ietf.org/arch/msg/spring/KXCBHT8Tpy17S5BsJXLBS35yZbk__;!!NEt6yMaO-gk!TzJ8_ZyDvWvLPNwsalQ6RiBzoLkP6Vj30eGaDVFEWdDq_IdPkWwaIL4IcRXo_q-1$
> [5].-
> https://urldefense.com/v3/__https://mailarchive.ietf.org/arch/msg/spring/ErcErN39RIlzkL5SKNVAeEWpnAI__;!!NEt6yMaO-gk!TzJ8_ZyDvWvLPNwsalQ6RiBzoLkP6Vj30eGaDVFEWdDq_IdPkWwaIL4IceGPpSab$
>
> Cheers,
> Pablo.
>
> -----Original Message-----
> From: Ron Bonica <rbonica@juniper.net>
> Date: Thursday, 12 December 2019 at 21:50
> To: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>, "Joel M. Halpern" <
> jmh@joelhalpern.com>, "spring@ietf.org" <spring@ietf.org>
> Subject: RE: [spring] Is srv6 PSP a good idea
>
>     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.
>
>                                                         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).



> [Gyan].  Good point Joel.  So I think providing parity between SR-MPLS and
SRv6 being two completely different specifications like apple versus
orange.  SR-MPLS reuses the MPLS ldp data plane so PHP and UHP is popping
the traditional MPLS 4 byte shim.  So with SR-MPLS since you are reusing
the ldp data plane with new SRGB range 16000-23999 you are still doing
label swapping and not label stacking. Only when doing SR-TE are you
stacking the transport labels additional transport label per hop for the
traceroute.

My point is that SRV6 being a completely different animal from SR-MPLS we
don’t have to and should not carry over feature parity for the sake of
doing so if it’s unnecessary.  The main point here is PSP and USP are not
popping a transport header or topmost label as with SR-MPLS.  So with PSP
and USP the pseudocode is identical and repetitive with SL==0, pop SRH.
>From an SRV6 technical standpoint at the egress P PSP node or egress PE USP
node you would always only have a single SRH present

The only process that adds the additional SRH is TI-LFA and I believe we
decided that SRH would be part of a new 6in6 encapsulation done st the PLR
node.

If I am wrong, please correct me.

The only other scenario which I believe was brought up is if the SRH was so
large that it was fragmented and so have a fragmentation eh present as well
and then in that case instead of popping both SRHs now present on the USP
egress PE node which would be more processing you would pop the 1st EH on
the PSP node and the last EH fragment on the USP egress PE node.

I want to make sure I am not off on my thinking on USP and PSP as far as
when each happens.  So both USP and   PSP are the 1st two SIDs in the list
USP then PSP and the SL is processed in reverse order.  So am I wrong in my
thinking that in processing the SL as PSSI occurs at each hop along the
source routed path that when SL==0 you would process the 2nd to last
special  PSP SID and that would be the 2nd to last node in the SRv6 domain
which would in fact be the Penultimate hop node and you pop the SRH. Then
when SL==0 you you process the last special USP SID and that would be the
last node in the SRv6 domain which would be in fact the Ultimate hop PE
node and then you would pop the final SRH of present.

>
>         _______________________________________________
>         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
>
-- 

Gyan S. Mishra

IT Network Engineering & Technology

Verizon Communications Inc. (VZ)

13101 Columbia Pike FDC1 3rd Floor

Silver Spring, MD 20904

United States

Phone: 301 502-1347

Email: gyan.s.mishra@verizon.com

www.linkedin.com/in/networking-technologies-consultant