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

Brian E Carpenter <brian.e.carpenter@gmail.com> Mon, 26 July 2021 22:28 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 234E73A03EE for <anima@ietfa.amsl.com>; Mon, 26 Jul 2021 15:28:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, RCVD_IN_DNSWL_NONE=-0.0001, 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 cmiExloIiJlN for <anima@ietfa.amsl.com>; Mon, 26 Jul 2021 15:28:38 -0700 (PDT)
Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (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 4F1BC3A03EA for <anima@ietf.org>; Mon, 26 Jul 2021 15:28:38 -0700 (PDT)
Received: by mail-pj1-x102b.google.com with SMTP id g23-20020a17090a5797b02901765d605e14so2109142pji.5 for <anima@ietf.org>; Mon, 26 Jul 2021 15:28:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=6cnLV5ylUwA3kB+V/g86oYNrDXmFMb05jw1milQAofM=; b=fy6pMiaUwt0lbrsvYqPNdf1/UgGOUK+KUfVBgzAGC7y0YYOlrGrcQdo0/HJtuByNPr JQ2CEyJXttiwdSdi4NB/2Z86JcI6/5hPG8QhHgovZq2IyRBFwdaZwJ/3TEwILVVSfs7a CV3h4YPkv2s3DFksa0SPN8ITe/UVwPSpcVd/c4YFCvzAnMdqpO2h8Z32ykYdfVR1xxPZ vOdMQsGmlDk2rsgQzNS5b1VNqoFa8UT/wb8xZz59XwrZHBW2ty2l6zE32XUPJiJr9/2y odhCPiaFMQDQpoOPHNeHkQhY1tdVxSuYy9TkwgI8bXdO4McmQuERDTfGbS542VmI5c81 3X4w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=6cnLV5ylUwA3kB+V/g86oYNrDXmFMb05jw1milQAofM=; b=tmOdAOlBgLzhg6pCL4RvV3eGoKD6RBD0zZWI5aC8m3cVBz285RAb5t6RLlxxA5aVr4 EKvgl3FU3xKjKj3KppEeo26NAv8sENk+cSeTo9gR6BFnt7Xt/e88cKy30QiV9++heIQh wpHTET80o4ypzUGtfzJiO4ZhGvszrpRIASvGU8xMjdA6uArO1nlqy3suwoGJnp8kKKCS L7tfeHOwA6i2w3w13xhWF0IZetZceYqYycNmpxx/YInfCw/Q/r9LpfPdSl56zXS/b5TV X7aljrNcHm9nKIgXa1MsYxPL4b1IN0vxcBQocaMNLW+U52zgnpRocUYWYH5pO/82i/VE u4qw==
X-Gm-Message-State: AOAM532S6347PqK4ZmoTrQRq35DjS/7VDDctJF26xQHQwFddvR++Fuex fNVOT8/YdAm/dstONOa36MbjkXoOamq3og==
X-Google-Smtp-Source: ABdhPJwVeBD5+gte1d/ajL4ubY3GO5OtR8UFaGE2Bsp+yeK7ZM8PU/I7ousdQjyWqrJGr5LeXHOCOw==
X-Received: by 2002:a17:903:1243:b029:ed:8298:7628 with SMTP id u3-20020a1709031243b02900ed82987628mr15966863plh.11.1627338516656; Mon, 26 Jul 2021 15:28:36 -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 j21sm652650pjz.26.2021.07.26.15.28.34 for <anima@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Jul 2021 15:28:35 -0700 (PDT)
To: Anima WG <anima@ietf.org>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <f192ab41-d2a3-9ab6-082b-efd1c5a5e021@gmail.com>
Date: Tue, 27 Jul 2021 10:28:31 +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
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/uYdb1w1m6wwEQysqmzG4P8Xq4fg>
Subject: [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:28:41 -0000

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