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

Mark Smith <markzzzsmith@gmail.com> Tue, 05 November 2019 09:34 UTC

Return-Path: <markzzzsmith@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 51BF0120861 for <ipv6@ietfa.amsl.com>; Tue, 5 Nov 2019 01:34:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.496
X-Spam-Level:
X-Spam-Status: No, score=-0.496 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, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=1, HTML_MESSAGE=0.001, 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 mggTaZLQYCz4 for <ipv6@ietfa.amsl.com>; Tue, 5 Nov 2019 01:34:16 -0800 (PST)
Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) (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 1AE701201E5 for <ipv6@ietf.org>; Tue, 5 Nov 2019 01:34:16 -0800 (PST)
Received: by mail-ot1-x32e.google.com with SMTP id t4so5575098otr.1 for <ipv6@ietf.org>; Tue, 05 Nov 2019 01:34:16 -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=Wc08u2pgOG1SnMEEcXfYKAtTgCRCGS+snH1DJbfFWGQ=; b=Q1zArvU3ZO+bsg5Q72CTLmZ9Y1duS9v89V/+tpCOnpdMWLwxYRu9W1Aub20SOF/Tk7 TId5yPt3BqbuopXmxWJ2DAms6f9ujT2RVj21H+80bWs2kdoUqwIeS+B7koMxAgMfz+00 Xi3KmdNbPpYTHETuQB8eYC6+uLoyMev9K/Gc0qKrjJJaSfOFobspKjpP28MPoYXwHbVK u0oiS0f9wFVwWt+w08ZuRna5ea4HJxo8VBk5yGX7Mbhx0jXH80+Lj+Lc/JCd5OXBZ22u IFOraJcbHIGBv+FakcHRAIfv+3gCiTFZP8/vIhikSrHSPOE+5JTARF8neqgHj7Z21E5B +mBA==
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=Wc08u2pgOG1SnMEEcXfYKAtTgCRCGS+snH1DJbfFWGQ=; b=jj/8c1C70sNG4C1DFmRVI9JnSf4LbzmJPmzxO4l9g0lkKSYdwj22JztDE5XEYbTkRJ maMB/lt2FdkAt/XITLLZqsSW9svuP/s8A5o9OswHlifrBAjKD155nhBx5Gy6sQSm8kc8 FqDDq7Qu5w0b/8SqCEzMm4WWRvx9ucmcro9sJzCiDB8sjPuzyHCLr8tZt9l28GywuW/o TquVQKat1F/iiulqpogr2ohcZUyCP4W/MZz5MhrOPsWpUn54ESO3QHJFb+VDuLbzJEcT o+uJlnMHy96JukABZ1KLrhOlgXTlp4APiGDVQPoAp4ThsOyPGhm42e9QMElx5IwN5hh3 7wxQ==
X-Gm-Message-State: APjAAAXPzn/pCDByo12ZnMBc2FKtdTMK45HyN0QYJLd0yTiNW76uyLYP q0RmDNIElBKOTaKE+BWtXZQWxA3JnNdf1dmdnLU=
X-Google-Smtp-Source: APXvYqyFL9u36NGfaYw2G71FY44kbPPBcj97265Ok/LQb9i6JvNkohrBUyek+mg9+ba3aPJYswXkzUdKlIW0enOuxyc=
X-Received: by 2002:a9d:6f8c:: with SMTP id h12mr886555otq.257.1572946455432; Tue, 05 Nov 2019 01:34:15 -0800 (PST)
MIME-Version: 1.0
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>
In-Reply-To: <2CB663DC-8D8B-4CCE-BBF0-2F2CBDEB2E2D@employees.org>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Tue, 05 Nov 2019 20:34:05 +1100
Message-ID: <CAO42Z2wBr-UoMG5xh=-7UGRyzYEaBEHOh+MmDynWJ3VN=6W=sg@mail.gmail.com>
Subject: Re: Comments on raft-fz-6man-ipv6-alt-mark-01
To: Ole Troan <otroan@employees.org>
Cc: Tianran Zhou <zhoutianran@huawei.com>, 6man WG <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ba10460596962232"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/2nnFuUtADGAwtdsJLXCn85vg4Y4>
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 09:34:18 -0000

On Tue, 5 Nov 2019, 20:05 Ole Troan, <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
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>