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

Bob Hinden <bob.hinden@gmail.com> Tue, 09 July 2019 05:28 UTC

Return-Path: <bob.hinden@gmail.com>
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 2076C120314; Mon, 8 Jul 2019 22:28:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.703
X-Spam-Level:
X-Spam-Status: No, score=-0.703 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, PDS_NO_HELO_DNS=1.295, 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 nrgGGg_PXmBo; Mon, 8 Jul 2019 22:28:38 -0700 (PDT)
Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) (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 8B8A3120326; Mon, 8 Jul 2019 22:28:38 -0700 (PDT)
Received: by mail-wm1-x32f.google.com with SMTP id v15so1665601wml.0; Mon, 08 Jul 2019 22:28:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=5VUbp6buNDTl93ytRekQ9vh3rKbJO5AAVHU/+/pVjuQ=; b=AgfZEPj1nOgCDRqcMvIf42y0jEG0x3QyHMIF4X83FxdgRbjD/Dp8N+Ng7fVoFtcnSf 6F+s7TaFZc1HHTMWI9jYZxomBj/7ZAHNkryf9in6nfIwPfrT9ksanM9uHcxytp4sLDeu 5LPHc/QXOjVX1VaC1SFRMUlFB66b2fABLmBkuWrUF+3GT5U7/yDWVFCqgvh3gzS6t0GC CnfVgvxC7Z0JVHqO1dzx9qmseYoWDX+IcUa+73LAVkJDxlxlg7bPmKBHIoI38r/IXQ5/ 8zKDB4oxsQyILwoQUfSsxV6z8nCDLAfWak6xNoYw6FnCxpP2XB7DVlcq/E9Jn5TQFHrz fyLQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=5VUbp6buNDTl93ytRekQ9vh3rKbJO5AAVHU/+/pVjuQ=; b=lAMIydnlEXUCWY+k6tD5dCd1GowgTm+3UkibYQ7jFADVngJLd9QZEdDk9OkExIhxK9 cdZPFBnmgAW+gYe/nOEJoJS5cZ3V6m74AkAA5MhUegbjMsp4vKYfpVx4wd6IKKmrXv8H djOANRxs7QEcWLYCROKea534R2RvrON8zjQQ8c1s2ZCnsMYX30BYuyRdHmS8QIHO741R ZO0c9e9erjKkn1dfmI1qV5dbMeQ7/BwsUNLhMz8Bf9/L1UAuF5CrrZaKRYDkUsZ68f9m uYp1Fj7v9i39yaipmt9Z0pKLz2BbxG5TqLEtz+gEubNeOBDglnYsh/c4YBQTS+0vqEOR F7Rw==
X-Gm-Message-State: APjAAAU6wRi2NYAlmyAYf+rMug7MfL2ItghfT0UIVX8bc3uwR42aNQAL W9dexapnlfWO2ExhSTbwl/0=
X-Google-Smtp-Source: APXvYqzfRdcBVDy0OAjPau1lYW1zoaHm8WCudsXHSbwunOA7OXIj3OHifRZKTq0wF1COZsDc/Mmfqw==
X-Received: by 2002:a7b:c051:: with SMTP id u17mr19426957wmc.25.1562650116969; Mon, 08 Jul 2019 22:28:36 -0700 (PDT)
Received: from [10.0.0.199] (c-24-5-53-184.hsd1.ca.comcast.net. [24.5.53.184]) by smtp.gmail.com with ESMTPSA id w7sm1262973wmc.46.2019.07.08.22.28.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jul 2019 22:28:36 -0700 (PDT)
From: Bob Hinden <bob.hinden@gmail.com>
Message-Id: <3DC7DA1F-AEB4-4DCD-8486-590C23C23CDF@gmail.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_363C1305-1CB9-4DCB-A321-C5E5B4E33D21"; protocol="application/pgp-signature"; micalg="pgp-sha512"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Subject: Re: Comments on draft-bonica-spring-srv6-plus
Date: Mon, 08 Jul 2019 22:28:31 -0700
In-Reply-To: <BYAPR05MB4245020D28DA688617BE0D00AEF60@BYAPR05MB4245.namprd05.prod.outlook.com>
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>
To: Ron Bonica <rbonica@juniper.net>
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> <BYAPR05MB4245020D28DA688617BE0D00AEF60@BYAPR05MB4245.namprd05.prod.outlook.com>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/cr6Iq5Yjsqka4MzWYiNDh7iyU3c>
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: Tue, 09 Jul 2019 05:28:41 -0000

Ron,

> On Jul 8, 2019, at 3:28 PM, Ron Bonica <rbonica@juniper.net> wrote:
> 
> 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.

So there is nothing special about 80 when you said "operators object when SR overhead consumes more than 80 bytes” other than it is less than 128 (or some other implementation specific number).

Bob


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