Re: [Int-area] [EXTERNAL] Re: MCP Hint Option

"Robinson, Herbie" <Herbie.Robinson@stratus.com> Tue, 31 May 2022 16:58 UTC

Return-Path: <herbie.robinson@stratus.com>
X-Original-To: int-area@ietfa.amsl.com
Delivered-To: int-area@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 52B27C147930 for <int-area@ietfa.amsl.com>; Tue, 31 May 2022 09:58:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.908
X-Spam-Level:
X-Spam-Status: No, score=-6.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2broCzSMUoyf for <int-area@ietfa.amsl.com>; Tue, 31 May 2022 09:58:17 -0700 (PDT)
Received: from us-smtp-delivery-131.mimecast.com (us-smtp-delivery-131.mimecast.com [170.10.129.131]) (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 04AA8C159490 for <int-area@ietf.org>; Tue, 31 May 2022 09:58:16 -0700 (PDT)
Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam08lp2046.outbound.protection.outlook.com [104.47.74.46]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-315-tLXS1i4JMx-8Pv1TroRhtQ-2; Tue, 31 May 2022 12:58:13 -0400
X-MC-Unique: tLXS1i4JMx-8Pv1TroRhtQ-2
Received: from BN6PR08MB2803.namprd08.prod.outlook.com (2603:10b6:404:126::16) by BL3PR08MB7267.namprd08.prod.outlook.com (2603:10b6:208:33e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.12; Tue, 31 May 2022 16:58:11 +0000
Received: from BN6PR08MB2803.namprd08.prod.outlook.com ([fe80::15f9:ca22:e796:fd5e]) by BN6PR08MB2803.namprd08.prod.outlook.com ([fe80::15f9:ca22:e796:fd5e%7]) with mapi id 15.20.5293.019; Tue, 31 May 2022 16:58:11 +0000
From: "Robinson, Herbie" <Herbie.Robinson@stratus.com>
To: Erik Kline <ek.ietf@gmail.com>
CC: "int-area@ietf.org" <int-area@ietf.org>
Thread-Topic: [EXTERNAL] Re: [Int-area] MCP Hint Option
Thread-Index: AdhxaS9FHV68lHN1TPSXNrjXUhKmLQA4/X2AAK7yffA=
Date: Tue, 31 May 2022 16:58:10 +0000
Message-ID: <BN6PR08MB2803EB8B6F655146B51BE5E6E6DC9@BN6PR08MB2803.namprd08.prod.outlook.com>
References: <BN6PR08MB2803879D8E27A91F265949FDE6D89@BN6PR08MB2803.namprd08.prod.outlook.com> <CAMGpriVv74-NMVkUiEL4EvwzfooUd=K6nzFuJUtgpv5ZNGWM2w@mail.gmail.com>
In-Reply-To: <CAMGpriVv74-NMVkUiEL4EvwzfooUd=K6nzFuJUtgpv5ZNGWM2w@mail.gmail.com>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 55fe0dda-36af-42e8-4237-08da4326be73
x-ms-traffictypediagnostic: BL3PR08MB7267:EE_
x-microsoft-antispam-prvs: <BL3PR08MB72679950E827B8C6E3007029E6DC9@BL3PR08MB7267.namprd08.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0
x-microsoft-antispam-message-info: ds0JhwH9EN0EFKHnps0JfHewlGg+mu8GqSgiP2HNLHI5xwbF8w7yYRnO2end6eC87iru9irHFlgQcnsvanP7tpa+6TmmMwdud7xvzmyvN0iEmq2YuxAQr5HiWCw4SwG5whBPJMLPw5YuncD+VHF8fvROtz5qj/hwR4kAxBo/SLeWSF4dLbydpWB3QqAWY6kKBzfB/GorkHetLJVvGuEBM7Wx03jvqHvAfRbyxurZ80jXGmZLyxLeQpwkOdlsFSDDoHVMrfDe0t8cj+T17o+NVpGbEuqVQDCd3kHQ5hKEGE7V75wepsbluN8yw1ThQBJ8yLyrJixzuRnN1dTwAgOkiPKyF20jgaUYu4CRmoz3wTkJY1j2rcuUUo0hBOaEU53u2ujhE57XXUSXttjh4FGDst6G6venC2IlGJhfkSUChu8rCswNQChu1n84AGr2xFFxamPQCLmzsafy/Y3GwfnVNGrwpJSZPcjUjiLKNtUk66dXetoO2WnhuPcjIwWtxgkq/vk6uOsG/13BSEtFJCXYvmY9H81R89TTwyZByJCJHDdV845D/Ei7uNJRqZ9aBEspo+PFwLQsMt7PuA8NQ4GLj61AC0LGTmKnHhuVxq+YgE7ZxpQ4OW2pWkT9pifFmPDAnxOy5V9THLmSTh8JAT6+uliKF855EiTxpp1/INglQ3yLw67ugyCjg8YRhVrkQ74pc1PBO5QF/8caOdHKB5eMMHUVavMh8ruEvy8Ib9I+7ZcBVwvI3Ne3qIHa4Pl2ArK4/68cuaTEfFt4ROn7zCaCiLtcpt0F2bFIcUycGXaJ1rk5i7rnHQfpCDRtMIcbeguRi+3rfz+FK2yP91vAvFQKvQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR08MB2803.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(26005)(186003)(9686003)(53546011)(7696005)(6506007)(38070700005)(66556008)(66476007)(6916009)(64756008)(316002)(4326008)(76116006)(71200400001)(66446008)(8676002)(66946007)(122000001)(966005)(8936002)(5660300002)(38100700002)(508600001)(33656002)(2906002)(166002)(86362001)(55016003)(83380400001)(52536014); DIR:OUT; SFP:1102
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: hpXa+3rbdkiamE9E8j3b87VP1x2pQ1Z0uPtB7eQMdx3bkwOHcPYtMRZwXyXoDUbH/Zu0K43S1YllvT0jRTkWeQqLmVi0emMQHKweyTFVEKJA1YKGux7Xn84DyP2JQM4lYA1Ik/ipWPyibRaQ0eu6xSuG9dD7uFl8PM7FAp5VF9TUlDaLGG66Lk1LZe7R38Pibn2jpgGi30eccvc5alZRwrEPuuylkEFKthJTIrbXmBdlEVKeZOU9pSW7TH1lRdbcnnQrh19J0JPpCDMrW5kfQwGJZSfSbIj4RQIMxOzFPX4mi8eOxhE/zAh1HWkT0LpSTnqk39geR4/RmKhGOLuwD5YVMRNRLm2j6v5swvF82j8MGqVEs3MxtaBEgq4VfsZY+PXmrNj7RqJyQJarqzAKmBn7vm6Zdxo0Bmbqk4bawB7A6MbQZCvERo3MTr4rKx3l67uqhbSQauoEyHeGqRhJTxlkol4yQwGnrXaNswlSjpN9q6RuAFnYHPo/Vf3IKcI6G+1QOYhieiPzqde4RHdwlUU4/d68uqL86YTAC/+4UMFR1Que4IbwVjx1gxrgcU2IMdds2cgcGvYI7rWc53+r90Rtb9Xaq2ImAViH+Yhr1OHdx6yWnKoYDMynx47Vak05c7RzPvCQG8YWu6aCHjRQuj6KHeRpO03SZLhtXQBVC5/ny0OBS32JJh4vwfe1dE91t4kFQbyWD1A9rxqR1OcErvElMQdj6lA1B6uRBEfbgcus4lDoyL35L8QGGLNHGmi9n0jHdIIY3uZBYMPpcTy3Q/OplougFaY1Ofat4S+hzRkIsx9tlVyR4XtLb9JSsCGOEzxC4hdRiE9nVEZ6iSIzvhxgPV5AW3SP9lJBgU4oNokfXeA4N6tc0s/tWPJQWYNaqHpA1oiUSTzmD2F0/0i6qk+Xjz5VaJFMg2KM5oEPbUZRh9ZoqLCoSBKBcPjMvgD1wVr2ZmSkuBZ9aEZDz9VPrTUIkwhLku1wHGs4yTsWir1fwTU0cE4th5w2Kdc7/hZX+OznLX+wJDCN5nkWY0JZW/48ILkl/py/B+RaAfbK2VDSF/EO4AV/U7Wjo1xWXif4XV5XUAaZsjgo3AG1x2Bklef1l9YxrKHGWlQXBkugV7aN6gQf+VXWy+7R9vzoMLPdEY6d3tyxsOKeF4987zm9WXurHWl+UC6QBbr+nV8udIaAfidTKJ254IiJB2y1a0XqQj0IaykR2bZtnXfh7LlsTeA0UHnkrGHOTTyPQRPXwU6Ej3ohdCZPG3MXM7loM9eOTii6oVcBZV3T0j97r1GU083JnTZTTZaOcB2HPv1Ic6TSuvMXGpFm3oSqHiJ8dTI0cUinZ6qGZnDrtXjfCMDvqrRl9I20qzLgiycelsPbtRKiEHY9SQ6PUEKN5Mvhl9zYt+5JPS6AA5ju4mnrQ4xGAywftY2RMIdIfxEDfLH82KtOTDQGLGvHYE+GJH7YDpSazKL2B8HzXsKxs7Pw3DZyIKTYcqvlYxkDssQ0UhnSjpkVwBddOyEIIkJ+G1F8ATEZyNBd9DHCTRC8wBDafevbFeRb4jO4R69C2vid2sq5A7N1fn6ySfrmx5dtOfi6zpqcy/vf4HUNIG/KUco/j4HFJ6uTvUVarPukZmBqOs/lDyuq7+1+QkG0g/xK/KDchIXJ9ijtm497BnpWrmitX45a5qruEY8MGFLc9r085dV+PVCsMKqWfsAwERUqBpoX7vJUhayzIbLWB8mP1qljupwU44eWAY2aHmnJzbgnNOxz1gU=
MIME-Version: 1.0
X-OriginatorOrg: stratus.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BN6PR08MB2803.namprd08.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 55fe0dda-36af-42e8-4237-08da4326be73
X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2022 16:58:10.8764 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: de36b473-b8ad-46ff-837f-9da16b8d1b77
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: ivkeEy3RAdssbqJRe5NSTGGljPRIxoCqDFTYVAp9Kxu4yyGa41jpgm5X3mY73BMyF08L7byERC4jVomGIRYmZapnd9qjNKd6UFJuqTLWXb4=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR08MB7267
Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA31A22 smtp.mailfrom=herbie.robinson@stratus.com
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: stratus.com
Content-Language: en-US
Content-Type: multipart/alternative; boundary="_000_BN6PR08MB2803EB8B6F655146B51BE5E6E6DC9BN6PR08MB2803namp_"
Archived-At: <https://mailarchive.ietf.org/arch/msg/int-area/0_Z_lgb7bUJtwXw0-nPZbFFhpkM>
Subject: Re: [Int-area] [EXTERNAL] Re: MCP Hint Option
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: IETF Internet Area WG Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/int-area/>
List-Post: <mailto:int-area@ietf.org>
List-Help: <mailto:int-area-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 May 2022 16:58:18 -0000

It didn’t agree with my understanding, either…   Until I did a careful re-read and found section 4.5, page 17, second paragraph:

“The Per-Fragment headers must consist of the IPv6 header plus any
      extension headers that must be processed by nodes en route to the
      destination, that is, all headers up to and including the Routing
      header if present, else the Hop-by-Hop Options header if present,
      else no extension headers.”

I would be really surprised if there is any implementation out there that tosses datagrams that put just a destination options header before a fragment header, but the standard would appear to say they can…

I found more related to this topic in RFC-3542, section 9.2, page 40:

The set preceding
   a Routing header are specified with the cmsg_level member set to
   IPPROTO_IPV6 and the cmsg_type member set to IPV6_RTHDRDSTOPTS.  Any
   setsockopt or ancillary data for IPV6_RTHDRDSTOPTS is silently
   ignored when sending packets unless a Routing header is also
   specified.

Of course, this is referring to what is specified by the API, and doesn’t exactly say the kernel can’t insert just a destination options header; however, it does point out that numerous authors have been assuming there can’t be per fragment destination options without a routing header.

Unfortunately, I think that if one wants the MCPHINT option to be useable for defragmentation, one needs to include the null routing header.  Unless…

This gives me an idea.  What if the IPv6 MCPHINT was conveyed in a routing header with a new routing type and zero for segments left?  I cringe a little bit, but it is a sort of routing.


From: Erik Kline <ek.ietf@gmail.com>
Sent: Saturday, May 28, 2022 12:41 AM
To: Robinson, Herbie <Herbie.Robinson@stratus.com>
Cc: int-area@ietf.org
Subject: [EXTERNAL] Re: [Int-area] MCP Hint Option


[EXTERNAL SENDER: This email originated from outside of Stratus Technologies. Do not click links or open attachments unless you recognize the sender and know the content is safe.]

________________________________
Herbie,

Out of curiosity, can you explain more about what this sentence means:

"""
   Note that RFC8200 [RFC8200] requires that per fragment destination
   headers to be followed by a routing header.
"""

The way I read this sentence doesn't exactly agree with my understanding of 8200.

Thanks,
-ek

On Thu, May 26, 2022 at 6:47 PM Robinson, Herbie <Herbie.Robinson@stratus.com<mailto:Herbie.Robinson@stratus.com>> wrote:
I would like to propose a small (8 page) RFC for the working group to take up.  This is small option that can drastically improve multi-core IPSec performance in some situations.

draft-robinson-intarea-mcphint-00 - Multiple Core Performance Hint Option (ietf.org)<https://datatracker.ietf.org/doc/draft-robinson-intarea-mcphint>

I have prototyped it and the prototype achieved a better than a 3x performance increase on the first test case I tried (haven’t had time to do any more testing).

There are some issues at the end of the document that I would definitely like some feedback on.

Thanks for taking a look.

Also, I should mention that Stratus has applied for a patent.  Management has told me that it will be available free of charge.  The online patent disclosure should get filled in when management gets back from vacation (some time next month).


_______________________________________________
Int-area mailing list
Int-area@ietf.org<mailto:Int-area@ietf.org>
https://www.ietf.org/mailman/listinfo/int-area<https://www.ietf.org/mailman/listinfo/int-area>