RE: Comments on draft-bonica-spring-srv6-plus

Ron Bonica <rbonica@juniper.net> Mon, 08 July 2019 22:29 UTC

Return-Path: <rbonica@juniper.net>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DF9B8120090; Mon, 8 Jul 2019 15:29:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, 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=juniper.net
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 ehBQYe7RRXRu; Mon, 8 Jul 2019 15:29:04 -0700 (PDT)
Received: from mx0a-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 87C8F120240; Mon, 8 Jul 2019 15:29:04 -0700 (PDT)
Received: from pps.filterd (m0108158.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x68MJMVq024339; Mon, 8 Jul 2019 15:29:02 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=PPS1017; bh=xAYjBi4ZxlscfZxOrVYUSM9nB6adSrMYGs64Z2GrsuQ=; b=hsYDkTeo+siz0pDS5eLmAPisDqG69t/FYsDkDqAObyhVBxhLZOUdUL9gFI1392VJ5IXo fm9vKGwKqQVpl3l8SpSmUmlUeMOrW4JhMfvK5Gr/z6CARIMRgKILkTK5NyCIwhSanFMl SmRpiCCAPfTQpwARHfTPUeibTcyhV8bxm2ZJ8THiWviAHmIc8Bbij8L4lDZljhv/Z7kD VWEXvej9ScWp/p1kVefZS4G24Oiuo4231fXixarInYKEPkLlF9uHlbNPAw8La049Kg48 EgK+xwSlv0VbTrdc/URmngktssef7E9KjPh93Q8kfNKSNLkVmxsDSJH/3NBCC9VOp0Dl sA==
Received: from nam01-bn3-obe.outbound.protection.outlook.com (mail-bn3nam01lp2050.outbound.protection.outlook.com [104.47.33.50]) by mx0a-00273201.pphosted.com with ESMTP id 2tmd06853g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 08 Jul 2019 15:29:02 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bHnWjCSpTOoG5loG+OcXBosN9IkUSgSpeIUZdnh+JaNAb4V5F30GQ+uvnbmrDkfC8DD7Qt9+iyODaY2GmtK+7gK9WXUrPWj5I0d+0YQojaAdlWSXs1wPkhrxg6IQK7VE834VrQG81ERtmZngS3Z7b5ikFsYJDFzRkJJCvC2R6h3e/BoQo4J4MuPbO7aqBiphAmlgr9tYbKU8hJTOLfexxME9rtM9gt/oWQpQF7eW9lkCrSwrMpLaupaMZsnTu++3y5B7Yyjawe+UHbBHkBppSGC/3xPnfKGAxmMdGj05sb3RVdm6QuoboAEDlMqmDkRZDez0jYgFZTY6as2RznV8cA==
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=xAYjBi4ZxlscfZxOrVYUSM9nB6adSrMYGs64Z2GrsuQ=; b=XbY1UK/EO5OcMZUlSWuW50+PsVwfXQlPXcUanUqT0XASZexyQtTg1ZbDEvpnOTxIBfVPpUM+LfZx8ArjpPuexjFJMjBsYJ0tgjrq8T1L7wSkOdu2p/2RHXd5x7s8m9iVXiPHUifKcand4B7j+NoB80hLAvNuZcoX+/Ua4woS3o2Xk8G9CsBQgCdZVIt1Obk/eQTg5hkAGyMOyrEgHjYHpWJzKg7C53RIPIbEX0MGL0IBEzITvebVwSUYhZY0sAfMNidhteY/G2cTMOG90gcGmuQbPtUzwtstFuR9XBeOXzZ5B7dCPGl+TUOUxsQQZC9P34Xbdgz2CzSkdWUsizmIYw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=juniper.net;dmarc=pass action=none header.from=juniper.net;dkim=pass header.d=juniper.net;arc=none
Received: from BYAPR05MB4245.namprd05.prod.outlook.com (20.176.252.26) by BYAPR05MB4679.namprd05.prod.outlook.com (52.135.233.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.5; Mon, 8 Jul 2019 22:28:59 +0000
Received: from BYAPR05MB4245.namprd05.prod.outlook.com ([fe80::f053:8e51:751c:a6dc]) by BYAPR05MB4245.namprd05.prod.outlook.com ([fe80::f053:8e51:751c:a6dc%5]) with mapi id 15.20.2073.008; Mon, 8 Jul 2019 22:28:59 +0000
From: Ron Bonica <rbonica@juniper.net>
To: Bob Hinden <bob.hinden@gmail.com>
CC: Mark Smith <markzzzsmith@gmail.com>, Tom Herbert <tom@herbertland.com>, SPRING WG <spring@ietf.org>, IPv6 List <ipv6@ietf.org>
Subject: RE: Comments on draft-bonica-spring-srv6-plus
Thread-Topic: Comments on draft-bonica-spring-srv6-plus
Thread-Index: AQHVMc/zNwwWhhCWJkuQwzj0JUWvnaa5SBQwgAAJzwCAAFQxAIAEbdCQgAAPsQCAAyr20A==
Content-Class:
Date: Mon, 08 Jul 2019 22:28:58 +0000
Message-ID: <BYAPR05MB4245020D28DA688617BE0D00AEF60@BYAPR05MB4245.namprd05.prod.outlook.com>
References: <156203443756.5663.9945449277625935606.idtracker@ietfa.amsl.com> <BYAPR05MB42456FC99AE1C49B65A17FF6AEF80@BYAPR05MB4245.namprd05.prod.outlook.com> <CALx6S34Qe1Fqagrv+pv0HG=JO3BWe0vfKmvLNaPhhmYW-aUa+g@mail.gmail.com> <BYAPR05MB4245E320947B75009E90A02FAEFB0@BYAPR05MB4245.namprd05.prod.outlook.com> <CALx6S36GWLTyuXiaBUWCA8ypxv68v7voq_wJUqY8zdr5XrqWaA@mail.gmail.com> <CAO42Z2zHMowTsgjxf-5fz8_DJD3b2mVs6YQCdvP7oG8w1jvB0A@mail.gmail.com> <BYAPR05MB42451A4B567C0418AB1D0EADAEF40@BYAPR05MB4245.namprd05.prod.outlook.com> <DA0E4FF7-7844-4195-B4F1-EE2747B263C7@gmail.com>
In-Reply-To: <DA0E4FF7-7844-4195-B4F1-EE2747B263C7@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
dlp-product: dlpe-windows
dlp-version: 11.2.0.14
dlp-reaction: no-action
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=True; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Owner=rbonica@juniper.net; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2019-07-08T22:28:56.4600671Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Name=Juniper Business Use Only; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Application=Microsoft Azure Information Protection; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ActionId=ea595fa3-ca21-4f13-a7c7-74cb96d9b41f; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Extended_MSFT_Method=Automatic
x-originating-ip: [66.129.239.13]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ec6cfb52-e7d1-40da-1354-08d703f3abe2
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:BYAPR05MB4679;
x-ms-traffictypediagnostic: BYAPR05MB4679:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <BYAPR05MB4679596B541CEEE78498FD4FAEF60@BYAPR05MB4679.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 00922518D8
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(396003)(136003)(366004)(346002)(39860400002)(51914003)(13464003)(189003)(199004)(14444005)(66476007)(64756008)(66446008)(66556008)(14454004)(86362001)(76116006)(66946007)(73956011)(316002)(26005)(76176011)(54906003)(7696005)(6246003)(33656002)(6506007)(71200400001)(53936002)(99286004)(71190400001)(53546011)(256004)(2906002)(186003)(102836004)(52536014)(5660300002)(6116002)(3846002)(55016002)(6436002)(81156014)(9686003)(8936002)(66574012)(68736007)(81166006)(4326008)(229853002)(8676002)(7736002)(25786009)(6306002)(476003)(11346002)(66066001)(478600001)(486006)(74316002)(305945005)(6916009)(966005)(446003); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR05MB4679; H:BYAPR05MB4245.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: KK/UZLI4wOaIJ7sHb3lgomURX4cEfH2yPj85rjUoGjD5pda/YgEyglyx85nUfzzYnhEgbX7SHxxeayHwLaZbBNKkTuEVJFTdoHNM3Ltp+Vm8H3xRfx4+uzX9HpUXm626HwBvS0cz8fw75HrzfLwFzdpSA7sF3abcrgVWocYVXEH9hEMsZYaDoxDCS3XqsHINryRhnhRJ5qzyxWTMVttxYIkmCJ2vwPc89dThfkwFXgSA/4mKMWUQrQvHsxdF9j1szy/jVlANX9HuCUQ00mKwZ1lg3But7a1ltJ8HNgGjgbZCpVfLQSrnqqp5iXIuyfPFxSMbtb33pm3vErToIEDGWl7SnOXG30L3F/pX6kXNo40xXUyPLNRmup3bwicht6Fnx1AMOkJSLffvoxo+HWep2e3qlbDFuivJ97TucZnQeeA=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: ec6cfb52-e7d1-40da-1354-08d703f3abe2
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2019 22:28:58.8482 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: rbonica@juniper.net
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB4679
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-07-08_08:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907080276
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/jaqjupjXIV_0nyVDkLu1SoBy6ac>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Jul 2019 22:29:20 -0000

Bob,

SR encodings that require 128-bytes of overhead consume excessive bandwidth:

- on network links
- in ASICS

While the former is interesting, the later is probably more significant.  In order to process at high speeds, ASICs need to access the entire IPv6 header chain. So, they copy the header chain, including all extension headers,  from buffer memory to on-chip memory. As the number of bytes in the header chain increases, so does the cost of that copy. And the longer the header chain, the less accessible the technology becomes to low-cost ASICs.

So, the most significant benefit may be  in keeping that copy under 128 bytes.

                                                                                                       Ron





Juniper Business Use Only

-----Original Message-----
From: Bob Hinden <bob.hinden@gmail.com>
Sent: Saturday, July 6, 2019 5:42 PM
To: Ron Bonica <rbonica@juniper.net>
Cc: Bob Hinden <bob.hinden@gmail.com>; Mark Smith <markzzzsmith@gmail.com>; Tom Herbert <tom@herbertland.com>; SPRING WG <spring@ietf.org>; IPv6 List <ipv6@ietf.org>
Subject: Re: Comments on draft-bonica-spring-srv6-plus

Ron,

> On Jul 6, 2019, at 2:05 PM, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org> wrote:
> 
> Hi Mark,
> 
> In my experience, operators object when SR overhead consumes more than 80 bytes. Also, I have encountered two classes of operator:

What is special about 80?   Why not 64, 128, 256?

Bob


> 
> 	• Those who avoid strictly-routed segments
> 	• Those who rely heavily on strictly-routed segments
> 
> Those who avoid strictly-routed segments rarely generate SID Lists that contain more than 8 entries. So, they are generally OK with 32-bit encoding. This is because with 32-bit encoding, the total SR overhead is exactly 80 bytes (i.e., 40 bytes for the IPv6 header and 40 bytes for the CRH).
> 
> By contrast, those who rely on strictly-routed segments regularly generate SID Lists that contain more than 8 entries. So, they are generally required 16-bit encoding.
> 
> IMHO, the operator understands its needs better than we do. We should support both. Let the operator decide at run time.
> 
>                                                                                                                  
> Ron
> 
> 
> From: Mark Smith <markzzzsmith@gmail.com>
> Sent: Wednesday, July 3, 2019 9:08 PM
> To: Tom Herbert <tom@herbertland.com>
> Cc: Ron Bonica <rbonica@juniper.net>; SPRING WG <spring@ietf.org>; 
> 6man WG <ipv6@ietf.org>
> Subject: Re: Comments on draft-bonica-spring-srv6-plus
> 
> 
> 
> On Thu., 4 Jul. 2019, 06:06 Tom Herbert, <tom@herbertland.com> wrote:
> On Wed, Jul 3, 2019 at 12:44 PM Ron Bonica <rbonica@juniper.net> wrote:
> >
> > Hi Tom,
> >
> > Thanks for the review.
> >
> > On Friday, I will update draft-bonica-6man-comp-rtg-hdr. It will contain a section on mutability. It will say:
> >
> > - the Segments Left field is mutable
> > - every other field in the CRH is immutable
> >
> > I will also update draft-bonica-6man-vpn-dest-opt and draft-bonica-6man-seg-end-opt. Both of those request an IANA option type with the CHG bit equal to 0. So they are both immutable.
> >
> > SID encoding isn't entirely opportunistic. Since the last IETF, we realized that it would be burdensome for every vendor  to support all three SID lengths. So, we said that implementations MUST support 32-bit encoding and MAY support 16 bit encoding. (We dropped 8-bit encoding entirely).
> 
> This sounds dicey from an interoperability and flexibility point of 
> view. Supposed I've deployed a network where everyone is using 16 bits 
> SIDs. But, then for some reason I need to switch vendors for a small 
> part of the network and their implementation doesn't support 16 bits.
> Do I need to up the MSV and make all SIDs to be 32 bits just on the 
> off chance that one of the new nodes might be in some SID list?
> 
> >
> > A side effect of this decision is that a node should only send CRH's with 16-bit encoding every other node in the domain supports 16-bit encoding.. So, network operators will need to configure the SID length on each node, with the default being 32.
> 
> Well, in light the above problem, I have to wonder if it's better to 
> only support 32 bits. The leap from 128 bits to 32 bits is much more 
> consequential than going from 32 to 16 bits. Other than that, it 
> simplifies the protocol, reduces support and test matrix, ensures 
> interoperability, etc.
> 
> One single size is much better.
> 
> I think most people will pick the larger size, regardless of their functional SID space need, to avoid the possibility of getting it wrong and then having to do a lot of after hours and possibly service impacting work in the future to expand from the smaller to larger size.
> 
> Implementations would also be simpler, so less opportunities for implementation bugs.
> 
> It also means no possibility of configuration errors because the size is a constant rather than a settable parameter.
> 
> A lot of the principles in RFC 5505 - "Principles of Internet Host Configuration" - seem to me to be equally applicable to network interior protocols.
> 
> For example, I think the whole of "2.1. Minimize Configuration" fully applies here.
> 
> Regards,
> Mark.
> 
> 
> 
> 
> Tom
> 
> >
> >                                                                              
> > Ron
> >
> >
> >
> > Juniper Business Use Only
> >
> > -----Original Message-----
> > From: Tom Herbert <tom@herbertland.com>
> > Sent: Wednesday, July 3, 2019 2:48 PM
> > To: Ron Bonica <rbonica@juniper.net>
> > Cc: SPRING WG <spring@ietf.org>; 6man WG <ipv6@ietf.org>
> > Subject: Comments on draft-bonica-spring-srv6-plus
> >
> > Hi Ron,
> >
> > Thanks for the draft.
> >
> > I think the name SRV6+ might be a little misleading in that it could 
> > be misinterpreted as SRV6+ being a superset of SRV6. Specifically,
> > SRV6+ doesn't allow 128 bit SIDs which seems inherent in SRV6 and so
> > the primary function (and implementation) of SRV6 isn't compatible. It doesn't seem like it would be that much effort to allow a 128 bit SID size to be compatible.
> >
> > I don't understand the rationale for needing a MSV to be explictly configured throughout the domain. Couldn't the appropriate SID size be chosen by the sender at run time. For instance, if all the SIDs in a list are less than 65,536 then 16 bit SIDs can be used, else 32 bit SIDs are used (I assume 16 and 32 bit SIDs are in same number space).
> > Since CRH has the bits stating the SID length there is no ambiguity at the receiver. SID compression is opportunistic and it's always good practice to avoid situations that require wide scale renumbering.
> >
> > Please add a section on mutability requirements of protocol fields so that there is no ambiguity.
> >
> > Tom
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
> 
> Juniper Business Use Only
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------