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

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 27 July 2021 02:41 UTC

Return-Path: <brian.e.carpenter@gmail.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 643293A1356 for <anima@ietfa.amsl.com>; Mon, 26 Jul 2021 19:41:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham 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 Kc2PIQHavlXI for <anima@ietfa.amsl.com>; Mon, 26 Jul 2021 19:41:32 -0700 (PDT)
Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) (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 463213A12E8 for <anima@ietf.org>; Mon, 26 Jul 2021 19:41:31 -0700 (PDT)
Received: by mail-pl1-x62d.google.com with SMTP id n10so14192283plf.4 for <anima@ietf.org>; Mon, 26 Jul 2021 19:41:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=27Rbxg/pY+25gm+7iyadL/2TsZlBXfbvvUTtzyQ5Coc=; b=ZnBaUureSaYx9f+h5Gu7WeH9LtndWvWee8Kjv40FJWilnBeXEVUGYBlr8GthPkzPzp jLRF1HEVFaHCAWPGJpDIsv0+uxNsISEq90Hxy06rAPaDOW+nQiu2Oug2FQnpyFHpIzCA Ai4mfHjIQOb35YzEt3bsaiS138kFNX5T8Io6mNXzcrMWPH0HiopXGQop1yZwaP4WBPfF 2bl9l9rIa0MqBzl0YnGHC1rL427m6ZVjYidr8O+Cbdm1/jdzUROy+U/vgwRpQQdV7B+f 4P7eQvoHjkkZVelIe5YdJXJS42vxOcXG7HMY7qmknXoyNAKQIRLRO7kaESc1zH+NHtG5 5ruQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=27Rbxg/pY+25gm+7iyadL/2TsZlBXfbvvUTtzyQ5Coc=; b=mlvSi5FxIjho2jwJI0z/DN1lawGHj5JIwkRDdHnDTesWWuUjIfKroauGYHLYEkBkN7 c3c2/GnLvVfb//cChREDjNVFRf98rlqZwFe44fyFZROtnJcgv/iFgtAGjkzn3ctKaKJS zk8RUCD9PHnGy2JYLREatqTP5fI7BNxaTjbCrWwufwannYOx+VFjq6VzNCBW+eiiGa1R 4e1OBtXcH5X7LOCEDwC1XQ1Ef3peZR6ZKLXaFSWXgij138BAeWtIzkPxslwSni+QYqw5 C/U8ECuBCiumAhz1V2I0pd0UuBTDmNF/PhAcK7kr4wxpwqC8P0MeZspck0Av16yW5hLK pTQA==
X-Gm-Message-State: AOAM533AQjTSBMSczy5bUlIPq3tMF4feUvww0Rr72iSyAWe4GxnkhEej i6LZs6NuUW2QX4qlLZQ5rBmi86+sPqeOBw==
X-Google-Smtp-Source: ABdhPJxF2eV1PtAENWXR5nhVhBwZHhKlqgW0J3794O320h3hNwo/ssodj7KlRKKIyuciU4DS64WPVw==
X-Received: by 2002:a17:902:a50f:b029:11a:cd45:9009 with SMTP id s15-20020a170902a50fb029011acd459009mr16780839plq.38.1627353689562; Mon, 26 Jul 2021 19:41:29 -0700 (PDT)
Received: from ?IPv6:2406:e003:1188:5b01:80b2:5c79:2266:e431? ([2406:e003:1188:5b01:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id a8sm1281875pgd.50.2021.07.26.19.41.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Jul 2021 19:41:28 -0700 (PDT)
To: Michael Richardson <mcr+ietf@sandelman.ca>, Anima WG <anima@ietf.org>
References: <f192ab41-d2a3-9ab6-082b-efd1c5a5e021@gmail.com> <27712.1627353124@localhost>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <123bde7e-67bf-7c24-2eb9-7a0a34c8be58@gmail.com>
Date: Tue, 27 Jul 2021 14:41:24 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <27712.1627353124@localhost>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/TDo9BHW4s1qtOkl8QPZdecWtDDs>
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: Tue, 27 Jul 2021 02:41:42 -0000

On 27-Jul-21 14:32, Michael Richardson wrote:
> 
> Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
>     > 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.)
> 
> Could the receiving end of the transfer simply declare their maximum in the
> F_NEG or something like that?

I'm tempted to try implementing something before answering. I have a little toy that I use to move files between machines on my desktop via GRASP, and I think I will play with that when I have some time.

   Brian