Re: [spring] Is srv6 PSP a good idea

"Pablo Camarillo (pcamaril)" <pcamaril@cisco.com> Sat, 14 December 2019 09:50 UTC

Return-Path: <pcamaril@cisco.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 771DF12008C for <spring@ietfa.amsl.com>; Sat, 14 Dec 2019 01:50:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 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_HI=-5, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=LW9j0D+J; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=fgvsXPB9
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 qRJHikwajhjB for <spring@ietfa.amsl.com>; Sat, 14 Dec 2019 01:50:07 -0800 (PST)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1E12E12006B for <spring@ietf.org>; Sat, 14 Dec 2019 01:50:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=9000; q=dns/txt; s=iport; t=1576317007; x=1577526607; h=from:to:subject:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=kq8GzjYNm8WxDObsalzd2SRSKJiNkt18XNlbYWXI8zU=; b=LW9j0D+J+NVHcjNdKUMOfuwDt4iaYulf6dVliMLOadwyj6WYO6Tb4DyI uf48de8d+g77O/eku7kraeY0JIZiKYIRevCYwZ7egUYMq+q0loFVGrGbD H2USMtIKMOml2cBVHEx5kiZA1+ufe3kVCyueAVeNhw0sQh02y0YGjcpCc o=;
IronPort-PHdr: 9a23:Tf9EzRffdaaKUHsb4ercnjOLlGMj4e+mNxMJ6pchl7NFe7ii+JKnJkHE+PFxlwGQD57D5adCjOzb++D7VGoM7IzJkUhKcYcEFnpnwd4TgxRmBceEDUPhK/u/dyczGc1YVVtN9HCgOk8TE8H7NBXf
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DvCACLr/Rd/5ldJa1lHAEBAQEBBwEBEQEEBAEBgX6BS1AFbFggBAsqCoN5g0YDiw1OgWwlmAaBQoEQA1QJAQEBDAEBGAYPAgEBgUyCL0UCF4F4JDgTAgMNAQEEAQEBAgEFBG2FCwYmDIVeAQEBAQMBARARBA0MAQEsDAsEAgEIDgMDAQEBAwImAgICJQsVCAgCBAESIoMAAYJGAy4BAwsDoTACgTiIYXV/M4J+AQEFgTUBg10YghcDBoEOKIwYGoFBP4ERJwwUgh4uPoJkAQGBMBsYgxAygiyNdII+jwyPPgqCNIcohTWJJxuCQ45hiSSLbYJfgUaHCY5ugwoCBAIEBQIOAQEFgWkiZ3FwFTsqAYJBUBEUixyBdgkDF4NQhRSFP3QBgSeMewGBDwEB
X-IronPort-AV: E=Sophos;i="5.69,313,1571702400"; d="scan'208";a="682288952"
Received: from rcdn-core-2.cisco.com ([173.37.93.153]) by rcdn-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 14 Dec 2019 09:50:04 +0000
Received: from XCH-RCD-008.cisco.com (xch-rcd-008.cisco.com [173.37.102.18]) by rcdn-core-2.cisco.com (8.15.2/8.15.2) with ESMTPS id xBE9o4UJ025321 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Sat, 14 Dec 2019 09:50:04 GMT
Received: from xhs-rtp-001.cisco.com (64.101.210.228) by XCH-RCD-008.cisco.com (173.37.102.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sat, 14 Dec 2019 03:50:03 -0600
Received: from xhs-aln-003.cisco.com (173.37.135.120) by xhs-rtp-001.cisco.com (64.101.210.228) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sat, 14 Dec 2019 04:50:02 -0500
Received: from NAM04-CO1-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Sat, 14 Dec 2019 03:50:02 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bjG81LSKGTMzuqw+a+vOnXJWgh40MRg9r+YEpoTEMYwAUJVuOes63KtHrFIxu3UaPpq1+Tyn6nQ5bCTT1NxqdtiomwZbSpzXt6jbsVFjapw62BFPwRpZVsCqIZgJGWvYicYOxmeD+WvGPNN/yvs+NBLpLKJHTUPpVaeNhWwn2lBZHbwbr4oOlCJnRYLupF/dlnP8mObpfIZyJRKC0dvjisu+V0GjfLTPn8FniSKMtlqlq3ZSPrYh3hh1aP4roeGueQsTXy4u6Asi/Dx2TJvFtJVbgd1iHjB54glpJzmr2QNPs1QuMw91exddTTVMHODaKLbVgdooQ6SmhWQSHp1pFQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kq8GzjYNm8WxDObsalzd2SRSKJiNkt18XNlbYWXI8zU=; b=MS+7XThaP+UYzRQjX+LoDDDICqHlkkvccm4X23YQa4R4marttF680p23d6NUEMWw/6YaTgb5vTf+SyWnCCc0GrVekDfWFEohVuhLvC28K3dE1gPk5QsRRxs5OyUqRNmDE9sgdrqLQlg4bsZ31XrNTCR9KNvTwC4XCivDwh9eS2io4Ps0CsXexchR3/AR1SJMkofJ58PL0FW6QYJ+2AQPIw7BXl+qnWIg7pD806FkFTT1miOCvJOd/K9W+ApqncT9i99arO3OgPYoPRt2iRm4sucVSiO1Y0ZlJgCDmQRG1TR0NqmfjwgmGb3H0ymzqY8kekTB6yq09dRRNAqZhYJp4w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kq8GzjYNm8WxDObsalzd2SRSKJiNkt18XNlbYWXI8zU=; b=fgvsXPB9/EpwThrl5CPvfJk35zPB3Zez6IiSgE1S5YQfdkqnEiBkvwvDDzCTZCF7z5fyr8KgH6guRRhiOUJ1oBESUm1R4TOPbT5qS5NwXCvrpGvggCqzqDcK+fyQbQTP4XMGPz1tUXeG2XDkSWd5nHcMlXL7KsoFseSxFoyvAuw=
Received: from MWHPR11MB1374.namprd11.prod.outlook.com (10.169.234.8) by MWHPR11MB1277.namprd11.prod.outlook.com (10.169.236.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.19; Sat, 14 Dec 2019 09:49:59 +0000
Received: from MWHPR11MB1374.namprd11.prod.outlook.com ([fe80::b04b:c9bb:2378:7a8d]) by MWHPR11MB1374.namprd11.prod.outlook.com ([fe80::b04b:c9bb:2378:7a8d%11]) with mapi id 15.20.2538.017; Sat, 14 Dec 2019 09:49:59 +0000
From: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>
To: Ron Bonica <rbonica@juniper.net>, "Joel M. Halpern" <jmh@joelhalpern.com>, "spring@ietf.org" <spring@ietf.org>
Thread-Topic: [spring] Is srv6 PSP a good idea
Thread-Index: AQHVr85jMV33kJTkH0WlnUgh9KVMGKe15N2AgAEXEoCAAnzoAA==
Date: Sat, 14 Dec 2019 09:49:59 +0000
Message-ID: <58ED78D3-9E0C-4556-8853-8754B361DF6D@cisco.com>
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>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.20.0.191208
authentication-results: spf=none (sender IP is ) smtp.mailfrom=pcamaril@cisco.com;
x-originating-ip: [88.27.141.80]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 6c1ebbec-aa12-419f-558d-08d7807afbc7
x-ms-traffictypediagnostic: MWHPR11MB1277:
x-microsoft-antispam-prvs: <MWHPR11MB12773C25C34EF529691D149EC9570@MWHPR11MB1277.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 025100C802
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(376002)(366004)(136003)(396003)(199004)(189003)(13464003)(316002)(110136005)(33656002)(5660300002)(6512007)(6486002)(71200400001)(478600001)(966005)(66476007)(66574012)(66946007)(86362001)(76116006)(91956017)(36756003)(2906002)(53546011)(6506007)(8936002)(26005)(81166006)(81156014)(8676002)(2616005)(186003)(64756008)(66556008)(66446008); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR11MB1277; H:MWHPR11MB1374.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: VKVKgEuiGIz8ztUJAUO9DdnTANzOM5xjaxdSCVW+4TNce43gpiMUm3Q2PjTK/G8l/YWK15eyQyLk7aL2Q8eAZpyDU4z3rinQl/eyOM5GJG7b0ceoRlXVppjN03MRL2y6eMWn87z6d97hHfignLr3kINIt3VXLD8PmIobrHY0xV5FDSgq3RiqQ9GI1KrtD63GOdNrOzAwjW1zpEyWH3Vn51HJ82bK7GllJ/Yfn+u/Cv9AdqGL5sEvANuGlHb2I4pnOofQjTbg4InXkKZZqM9HU0NvV2C5186BZ4xmBAcpOAtYntuMiQmPXmdkQ0re/vFey7dHPP3nRUnyW7yDIGiaOXkpDZm94Xex9sKz542YMagZDVksSX8ff0QDE4XLgdVJPs/7cYnMBLQGNwPEf36UJfLudYxqPkIkng0WbsUdaxiWJswftRraaN/MY9PqPDFVcKp7CoOeIsuUTkZ7fZ1jP57Ikg/7fTna2P1Uk8nsL6SY1WHLbgfPEOR9prxXKyIyS/82BoVVyv6cuRS8TaLfcEshCLslM0ODMsh5xm5i+Bs=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <D8D9C66CC08E1A4B84C024807DFD2C1B@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 6c1ebbec-aa12-419f-558d-08d7807afbc7
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Dec 2019 09:49:59.2985 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: HCMN6t8yCveckDu2hNB3RMTMeMXID0E0l39LDZveNhljf7fFrIPT0wBv6iTSrEeDZdolE5rK91UGDs7aQArc6A==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1277
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.18, xch-rcd-008.cisco.com
X-Outbound-Node: rcdn-core-2.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/-UNJ3uoyQ7dxSLVAXYDIxdYJGJU>
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: Sat, 14 Dec 2019 09:50:09 -0000

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://mailarchive.ietf.org/arch/msg/spring/wTLJQkzC6xwSNPbhB84VH0mLXx0
[2].- https://mailarchive.ietf.org/arch/msg/spring/V0ZpjVLSVZxHaBwecXFxqJjlg_c
[3].- https://mailarchive.ietf.org/arch/msg/spring/ssobwemrPz0uEZjvRCZP1e4l_l0
[4].- https://mailarchive.ietf.org/arch/msg/spring/KXCBHT8Tpy17S5BsJXLBS35yZbk
[5].- https://mailarchive.ietf.org/arch/msg/spring/ErcErN39RIlzkL5SKNVAeEWpnAI

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).
        
        _______________________________________________
        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$