Re: [Anima] Bulk transfer in draft-ietf-anima-grasp-distribution-03

Xun Xiao <Xun.Xiao@huawei.com> Mon, 26 July 2021 22:39 UTC

Return-Path: <Xun.Xiao@huawei.com>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 542863A077C for <anima@ietfa.amsl.com>; Mon, 26 Jul 2021 15:39:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.197
X-Spam-Level:
X-Spam-Status: No, score=-4.197 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, 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 Z9FT5DbSBQ9m for <anima@ietfa.amsl.com>; Mon, 26 Jul 2021 15:39:40 -0700 (PDT)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 058E53A077A for <anima@ietf.org>; Mon, 26 Jul 2021 15:39:40 -0700 (PDT)
Received: from fraeml736-chm.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4GYZLX3cLgz6LB80; Tue, 27 Jul 2021 06:27:48 +0800 (CST)
Received: from fraeml737-chm.china.huawei.com (10.206.15.218) by fraeml736-chm.china.huawei.com (10.206.15.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 27 Jul 2021 00:39:36 +0200
Received: from fraeml737-chm.china.huawei.com ([10.206.15.218]) by fraeml737-chm.china.huawei.com ([10.206.15.218]) with mapi id 15.01.2176.012; Tue, 27 Jul 2021 00:39:35 +0200
From: Xun Xiao <Xun.Xiao@huawei.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, Anima WG <anima@ietf.org>
Thread-Topic: [Anima] Bulk transfer in draft-ietf-anima-grasp-distribution-03
Thread-Index: AQHXgm2ifnZPhpC4+EO8CAfVA9Vqh6tV2R2Q
Date: Mon, 26 Jul 2021 22:39:35 +0000
Message-ID: <e22c5fd7738f4b51b6cfd9dc79939d5b@huawei.com>
References: <f192ab41-d2a3-9ab6-082b-efd1c5a5e021@gmail.com>
In-Reply-To: <f192ab41-d2a3-9ab6-082b-efd1c5a5e021@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.48.218.112]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/pubmef3DVwzBeIwDroHKk5y1eQU>
Subject: Re: [Anima] Bulk transfer in draft-ietf-anima-grasp-distribution-03
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima>, <mailto:anima-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima/>
List-Post: <mailto:anima@ietf.org>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima>, <mailto:anima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Jul 2021 22:39:44 -0000

Hi Brian,

Thanks for the information, I will consider and note it in the '-04' version.

BR/Xun

-----Original Message-----
From: Anima <anima-bounces@ietf.org> On Behalf Of Brian E Carpenter
Sent: Tuesday, 27 July 2021 00:29
To: Anima WG <anima@ietf.org>
Subject: [Anima] Bulk transfer in draft-ietf-anima-grasp-distribution-03

Recently I rediscovered something that we included in RFC 8990:

"2.8.3. Message Size

GRASP nodes MUST be able to receive unicast messages of at least GRASP_DEF_MAX_SIZE bytes. GRASP nodes MUST NOT send unicast messages longer than GRASP_DEF_MAX_SIZE bytes unless a longer size is explicitly allowed for the objective concerned. For example, GRASP negotiation itself could be used to agree on a longer message size."

In other words, the method of bulk transfer described in draft-ietf-anima-grasp-distribution at Section 4.3 "Bulk Information Transfer" could be improved by first negotiating a larger message size than the default 2048 bytes. That might improve efficiency for distributing large files. (All it really changes in a GRASP implementation over TLS or TCP is the buffer sized set in two or three socket recv() calls.)

Regards
   Brian

_______________________________________________
Anima mailing list
Anima@ietf.org
https://www.ietf.org/mailman/listinfo/anima