RE: Comments on raft-fz-6man-ipv6-alt-mark-01

Tianran Zhou <zhoutianran@huawei.com> Tue, 05 November 2019 10:06 UTC

Return-Path: <zhoutianran@huawei.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 D24D91208BE for <ipv6@ietfa.amsl.com>; Tue, 5 Nov 2019 02:06:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 ZigLGTIVXkZZ for <ipv6@ietfa.amsl.com>; Tue, 5 Nov 2019 02:06:00 -0800 (PST)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (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 E50BC120881 for <ipv6@ietf.org>; Tue, 5 Nov 2019 02:05:59 -0800 (PST)
Received: from lhreml706-cah.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 4D5BFFDFBE3A602C76B2; Tue, 5 Nov 2019 10:05:58 +0000 (GMT)
Received: from lhreml703-chm.china.huawei.com (10.201.108.52) by lhreml706-cah.china.huawei.com (10.201.108.47) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 5 Nov 2019 10:05:57 +0000
Received: from lhreml703-chm.china.huawei.com (10.201.108.52) by lhreml703-chm.china.huawei.com (10.201.108.52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 5 Nov 2019 10:05:57 +0000
Received: from NKGEML413-HUB.china.huawei.com (10.98.56.74) by lhreml703-chm.china.huawei.com (10.201.108.52) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P256) id 15.1.1713.5 via Frontend Transport; Tue, 5 Nov 2019 10:05:57 +0000
Received: from NKGEML515-MBX.china.huawei.com ([fe80::a54a:89d2:c471:ff]) by NKGEML413-HUB.china.huawei.com ([10.98.56.74]) with mapi id 14.03.0439.000; Tue, 5 Nov 2019 18:05:50 +0800
From: Tianran Zhou <zhoutianran@huawei.com>
To: Mark Smith <markzzzsmith@gmail.com>, Ole Troan <otroan@employees.org>
CC: 6man WG <ipv6@ietf.org>
Subject: RE: Comments on raft-fz-6man-ipv6-alt-mark-01
Thread-Topic: Comments on raft-fz-6man-ipv6-alt-mark-01
Thread-Index: AQHVkNp1vSw+2l7wQkiVjZA5BgCgSqd2EMsAgAAC24CAAAVMgIAGGU5Q//+BjICAAI5ZsP//hgqAgAAIVICAAIud0A==
Date: Tue, 05 Nov 2019 10:05:49 +0000
Message-ID: <BBA82579FD347748BEADC4C445EA0F21BF07AE81@NKGEML515-MBX.china.huawei.com>
References: <CALx6S35298CHBJsSs3LGY_0Pp2_eW-dQFCbQ6SLQneoQ5U=_yQ@mail.gmail.com> <FE11E326-43C2-409C-864E-62AD8B893050@employees.org> <BBA82579FD347748BEADC4C445EA0F21BF07ACE4@NKGEML515-MBX.china.huawei.com> <B5464B84-1105-4133-8E77-09FF739D8D38@employees.org> <BBA82579FD347748BEADC4C445EA0F21BF07AD37@NKGEML515-MBX.china.huawei.com> <2CB663DC-8D8B-4CCE-BBF0-2F2CBDEB2E2D@employees.org> <CAO42Z2wBr-UoMG5xh=-7UGRyzYEaBEHOh+MmDynWJ3VN=6W=sg@mail.gmail.com>
In-Reply-To: <CAO42Z2wBr-UoMG5xh=-7UGRyzYEaBEHOh+MmDynWJ3VN=6W=sg@mail.gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.111.156.116]
Content-Type: multipart/alternative; boundary="_000_BBA82579FD347748BEADC4C445EA0F21BF07AE81NKGEML515MBXchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/Lxbsc233BWaPDFko-sun38w-tQM>
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, 05 Nov 2019 10:06:07 -0000

Hi Mark and Ole,

Thanks both of your suggestions.
You are right. Using DO for hop by hop action would cause the performance degradation.
But my question is, do we have anyway for the compatibility?
That’s why we want to discuss the way as in RFC7837, maybe as a deployment consideration.

BR,
Tianran

From: Mark Smith [mailto:markzzzsmith@gmail.com]
Sent: Tuesday, November 05, 2019 5:34 PM
To: Ole Troan <otroan@employees.org>
Cc: Tianran Zhou <zhoutianran@huawei.com>; 6man WG <ipv6@ietf.org>
Subject: Re: Comments on raft-fz-6man-ipv6-alt-mark-01


On Tue, 5 Nov 2019, 20:05 Ole Troan, <otroan@employees.org<mailto:otroan@employees.org>> wrote:
Tianran,

> Yes, I know 8200 considered and changed the way to process the HBH.
> Do you mean the following words?
> NOTE: While [RFC2460] required that all nodes must examine and
> process the Hop-by-Hop Options header, it is now expected that nodes
> along a packet's delivery path only examine and process the
> Hop-by-Hop Options header if explicitly configured to do so.
>
> From this I am always confused. We can decide/configure whether to process the HBH. But we cannot decide whether it's processed in fast path or slow path. I think this is one issue raised by the reference
> https://tools.ietf.org/html/draft-ietf-6man-hbh-header-handling-03
> Do I miss some other words in 8200?

Right, HBH processing by a router now has to be explicitly configured.
E.g. if a router didn't support alt mark, it would be no purpose in even parsing the HBH header (unless other options also was configured and supported).

You can of course not control how efficient that implementation implements your option...

> In addition, we did test many asics and devices. They will direct packet to the slow path.
> In addition, in real deployment, there are legacy devices that follow RFC2460.
>
> So our idea is to show alternative options for potential environment.

Sure, and this was discussed a lot in the context of the other RFC.

Hiding the per-hop options inside of destination options, would have pretty bad performance characteristics I would expect.

For HBH a router needs to:
if ipv6->nh == 0
   walk HBH TLVs and process them

For DestOpt a router would need to:
walk EH chain looking for DestOpt:
  walk DestOpt TLVs and make a guess which one is for in-flight versus destination


Yes, the *Destination* Options are for the device holding the packet's *Destination* Address.



Using HBH you use a mechanism engineered for it, using DestOpt you are in middlebox territory. And you will be much more likely to end up conflicting with host functions.

Best regards,
Ole

PS: If you would do a EH performance testing project at the Singapore hackathon I would be all supportive.
--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org<mailto:ipv6@ietf.org>
Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------