Re: [nfsv4] Tsvart early review of draft-ietf-nfsv4-rpcrdma-version-two-06

Chuck Lever III <chuck.lever@oracle.com> Mon, 14 March 2022 20:01 UTC

Return-Path: <chuck.lever@oracle.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 48D2A3A14E6; Mon, 14 Mar 2022 13:01:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=oracle.com header.b=iY/5Cgk9; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.b=WPah48VK
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 YeXAT9dOyM3B; Mon, 14 Mar 2022 13:01:53 -0700 (PDT)
Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) (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 DECE83A14E4; Mon, 14 Mar 2022 13:01:49 -0700 (PDT)
Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 22EI1VoM014849; Mon, 14 Mar 2022 20:01:46 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=VSbn0wwQ3sZMDRDBaMxZJQW5rkz5HzPzoB7uqF1x+Gk=; b=iY/5Cgk91mwSgbuHTC9pcnT5ghz++XlJeYI7HeSgwrniLeVNPXwXUO5Q+v6L6riNrqmn pPr6ZvGXMijrblTRDh/Q86adjTDqVe6iqo0bhqfsO964Krj8whW3S1X13iZLEXbSwsv6 cBxr3pn5OvCG2SQgkmHtjkWuk1fw18MH5sY6ERxDnU8zShXBmkmrsxPbnBTksyaxBK93 5bg4qwRUdiSMfG0T6/GFgEb88y5MpDR+WFcrmcUrQ8xuA4wwkLowmtSxGvkSFFnieJ/x yAbcssRb/DrRUHVDXPYuU0bkHdEui/XY7hHlX4ud7QUxBIF+rg1CAbBeBicUcNLNuPB3 IA==
Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by mx0b-00069f02.pphosted.com with ESMTP id 3et52psdnx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 14 Mar 2022 20:01:45 +0000
Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 22EK1a8w017678; Mon, 14 Mar 2022 20:01:44 GMT
Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2174.outbound.protection.outlook.com [104.47.56.174]) by aserp3020.oracle.com with ESMTP id 3et64jexvk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 14 Mar 2022 20:01:44 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AyBXxqpreenDilkOj3DslHLsFa0vrl4gUl8Y4KbqrJt1SAyrF/oYRlGlMMAWouX068seEMC/DBfzwMHaXrgQp2G7e20AEx9ToxuTE/RleYyadiI3b3h4m5Tr07xKEMhII/A2kRTbZivpvi8iC3kS0E+6S+0ZYo9SuAU9GN0FqiedqDgjTwksbR+0zzX4c+x5GJG05k5V8CXEbRozt2LtxZAV/7rFvkI0Xj8ZcUx1M2KF4XDvcCXE6Z9u77021WvLWQp+13iikgxBcN36JUIe6MnOxZDa7VHMvnN75twL8OdBODmFv69dBqsjygyKHxRtFK2Y0XoQ2Td45nxNGpWkeg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VSbn0wwQ3sZMDRDBaMxZJQW5rkz5HzPzoB7uqF1x+Gk=; b=MGr1NW1pDheo1SILjZlQdoLKxUxmNiOnWuIbeXyumt/rmifbczQze5QG2uH7xUsV7nUylz2qQvhTVirUFQRgE+lKGClNzF2+cDrgMne3BH8adw6rNfkMqJ1YlsRUOc9Cmdiphf7dQbUR4qs3GBfdsSMv4c+0ppOgeXvEqlONUsjOe7JZqm8glX5T43GU5vaUD1oLLmvUfraxW9WdzB/PRWWwpzI/o58EvstiBIPX/oqCUlz9IO+WZf8CDKRAcQYjrXQknuT8gd99leuzJkDo7Szyb8Oq6xV564LmGaftbxGvyxfHlTEbB0uAB9vaVlt/XBASsSffVbe00J7hppIBlw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VSbn0wwQ3sZMDRDBaMxZJQW5rkz5HzPzoB7uqF1x+Gk=; b=WPah48VKW2jwQs1h4xWh2nliXaADD9Updc7pEbxutZnVU5L4V6nbG1rK+kmkKKoqwa7hIE/UDHb4xx9gpcrTRSXnP/1Yt0osqSvt+xxeaznJ0Bo9J6TAs++BIOOTiVyVYugJXlqmBqllEBmuOXTKw+ABEsTo+jWI10hMIRfLGsE=
Received: from BN0PR10MB5128.namprd10.prod.outlook.com (2603:10b6:408:117::24) by CH2PR10MB4246.namprd10.prod.outlook.com (2603:10b6:610:a5::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5061.26; Mon, 14 Mar 2022 20:01:41 +0000
Received: from BN0PR10MB5128.namprd10.prod.outlook.com ([fe80::94c5:42b1:5147:b6f0]) by BN0PR10MB5128.namprd10.prod.outlook.com ([fe80::94c5:42b1:5147:b6f0%5]) with mapi id 15.20.5061.028; Mon, 14 Mar 2022 20:01:41 +0000
From: Chuck Lever III <chuck.lever@oracle.com>
To: Jana Iyengar <jri.ietf@gmail.com>
CC: "tsv-art@ietf.org" <tsv-art@ietf.org>, "draft-ietf-nfsv4-rpcrdma-version-two.all@ietf.org" <draft-ietf-nfsv4-rpcrdma-version-two.all@ietf.org>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Thread-Topic: Tsvart early review of draft-ietf-nfsv4-rpcrdma-version-two-06
Thread-Index: AQHYNzNk/EgQ7gtlDkiYpOjCg0i6oqy/TjwA
Date: Mon, 14 Mar 2022 20:01:41 +0000
Message-ID: <83B050FE-8486-4A1B-9B06-89B360C93E3A@oracle.com>
References: <164721467764.7724.3033308208308987893@ietfa.amsl.com>
In-Reply-To: <164721467764.7724.3033308208308987893@ietfa.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3654.120.0.1.13)
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ebc51567-729c-49d7-bae5-08da05f5754b
x-ms-traffictypediagnostic: CH2PR10MB4246:EE_
x-microsoft-antispam-prvs: <CH2PR10MB42464FBB0341807555BB8189930F9@CH2PR10MB4246.namprd10.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 7dkb505KukZS9r+odWfUQj9Qzn3VPC4TsWUbQsLrXQjml9rqo4sdlXd3WJ4eclG0Uzx4lMVWgiw1h+BOKEC8DAH0v3oonuf8KrajqrJFN1ZHt9dDz8bUMUTULhMuvlW/oq1rNAZeAZDIOQtDLPukmBWSMtQU0dgi0Rij6Fbs+/1xw2Wnglck3sD458OFQqv+7HxtxFdwPWESU+mGfSHgj/FX9+2BYyXYpi3VJQGpd+XujlqwXYZZ6yUHEEl4JHbTY3WcmbbpK+OLIrA0IBS8bZbazf7ik58ZcHuMGu61inmZNuBTZnQuS9RCw+GEvGkamTmj+zAJlKIyZnvC9U/4rPdrR7Zq2ATiPqQZ8Zf2YefhikRx6vfUxtyzQFVU+FoiRycKlFAEkjCCSt/zdp3TLD4X4Fi0q/EN5oAQevt9d3FIaedMKDsQIgFicNA4E31DAO3jcFYAwKxL0sMq4rlzf4SO4ChgBe+5Jxf0okm0wWr/eumI80y8Xt6SkMIQx6H0n5TkR7bmSRwhmnsHxeBoy6CHh/nFDKbCf5/eRqV8yrCQaEHu4nBjChVBbirtOKwuD0FYQfqnr0gTty6A9fxvGGFoYQzd2vvU13Ler5EMdVrOqy3SrA35u6+rR8Qx7RqfrHULVpAoEkySiiL5WtcTbKVuYU/XOpUJ884g5QX6OKNxN+qXmc5S66T+Xlr4iFO2kqtteM92DdNKiUCitRQZ7DWTVBlVuImHFtQg9A/nSFknQgk9aKIPKwt8mSuU2ndJ
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN0PR10MB5128.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(5660300002)(36756003)(66556008)(66476007)(76116006)(66946007)(66446008)(64756008)(4326008)(8676002)(91956017)(6916009)(54906003)(83380400001)(33656002)(316002)(8936002)(966005)(2616005)(6512007)(86362001)(71200400001)(26005)(186003)(122000001)(38070700005)(508600001)(6486002)(53546011)(6506007)(2906002)(38100700002)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 5MYR9aA4WWsaO3Ef0ivj8u/jfXGvjnbZAV+0ZNralx2L9t7kqSPqTExmYX5Gr3koM83Uw7QYbZRC4Id5QXhtfFc8f/61Okb+KDgEeSHWoA/rXno+/mS8F0HAJ5qmBvODBMTpTyDVXph6O/hbDihrWggZ0eEZ9PTaeTk+cBFo4OneQN8UV7qfZ7ajycbfDmD0Uj4NRtJgFrMnWjJHMqM3yrJAfJBSASC+vvzRdxDaGPquk0eD7nk67tPpOGzJxjG4mRLyP93KyLJd9+1lW4AvzkR8ECf18129zxknPrV5Npfu40S9cOGXJ6TWvDBLvZmOnksc1QuXliOP0U5de5+qvCSahoqQVYolXq5w1Slr2t5nX4Nu7PWn0UfrFb9SqJjhBkutdiXqqQbiIklHYXr2+BI2Q0MnYbX3OzGdkGc1IYZYT+E/QefsuTUtkV7psDcIf1zKzArzOWv9o/1QrXuBBScOXHVAmAzSOWGHhNgDZybM6cjrsMOnJc/klZU3tdnzggLw4E7grE9PlS8ZhqeiY3tPyvgrzLckkDqaKc0HyH/2ct38BkdWpQInaiSMhQmNakWKKvLnTJ32jR+RcbN8FKFcUHm92Iw5TTu+bKBTUFsx4dRQcMAPMtJo+P0J8s5oGYGvnL7f/IXtd14HBkFVr/hWBQ9UyIa3Adlfpi9olhtJPu4Ddd3qpbLODFh9iiHGh9XvtJNFHEEeiNALxhTzeWFpTbqKOcOBuZNu1d1U65Gqwg9/XxEYF58lAE9HGp7s8M8Tb7ZWJ7PHzAdDorjoc9MZkBqjIGftQHQHVjbiUbvibThlfLe1qRC0v1prCNxu9ihpseEH1l7SHHVlMmn6xjLPMgjwQ9u4C0ZiSIT5fs6or4sfPf254kJ/IdkW7yDDDINM1oDnChS5XMG3Ll0P4En7qkOkaHzB9qFogQW8BF//dmVf2EDJJFzIiIyPTSwgohrOstBT78rC38CfWvys1+LLbxL03NZNozgre1hJuNuXW9wtNB2acqt1+OxETg5+VxV+d9PlaCtV9oyayF53WvWCNdvixJdvSFsOJ7DhPyIamhHl4US79PTHUQH2y9RLkhJlaWo7gQOKpaCK6dSZQi39MvP+Ikn625bD/N4jS2BTeuW0mmNdl8qXAXiQh15P8j+7umsGZ6cgQCyCaLJ2rNqNNrtcxNhn4o3B3Na5Dq31p7elxBqFQNrQLf+zyw88ergEFWOb7vRL/5wNdnNyYYnTifle2uB4JIeU59Fwu+xbjAMueWq5a5/IZYjnmPdR+cBRmAcuKRAeqzxCRzoddwAocdckQ6aaC0eyYxxCf/9Doe0jnyQHKQKuYlmEZfhRPF5NG5JEUZwdJqlAh4Y7I5NqV7HGFnx76f158N33enppVWpdqEcE/AGB4Kf0oB2EiM6IqcywLq/H4XUd+XoVTcjoUqzTio4Dfi6seYZ4C6uBCbthfco3mjm3beihK5LzbP/M0WoxCKQ8bNnYXWAgVg==
Content-Type: text/plain; charset="utf-8"
Content-ID: <DA87FC1768A4C14CB8984DC89E690FCD@namprd10.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BN0PR10MB5128.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ebc51567-729c-49d7-bae5-08da05f5754b
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Mar 2022 20:01:41.8432 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: MbVmkBkwgk5TMrkxHs4i5CtjW72oHuwVd3WWyiKqiIV8gI5JVIV6oQT0tXg6jQPlHgrTPUUpd5MMwuOwdlZJ5Q==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR10MB4246
X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10286 signatures=693139
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 malwarescore=0 mlxscore=0 suspectscore=0 spamscore=0 bulkscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2203140119
X-Proofpoint-GUID: V0mBarF81NeTXwA6x29Azc5yweZcw6a4
X-Proofpoint-ORIG-GUID: V0mBarF81NeTXwA6x29Azc5yweZcw6a4
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/6tGLFbnz-HpvQq1KTvdcfl7w0YM>
Subject: Re: [nfsv4] Tsvart early review of draft-ietf-nfsv4-rpcrdma-version-two-06
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nfsv4/>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Mar 2022 20:01:59 -0000

Hi Jana-

> On Mar 13, 2022, at 7:37 PM, Jana Iyengar via Datatracker <noreply@ietf.org> wrote:
> 
> Reviewer: Jana Iyengar
> Review result: On the Right Track
> 
> Chuck, all,
> 
> Thanks much for the updates to the draft to reflect a working flow control
> mechanism. I think the spirit is correct, but the description is unclear, my
> comments below are an attempt to clarify the text. Otherwise, this is almost
> there! Thanks and apologies for the delay in reviewing.

Thanks for your comments!


> Comments:
> 
> 1/ “A peer tracks a few critical values for each connection.” —> “A sender
> tracks a few critical values for each connection.”

Each peer acts as both a sender and receiver, because
the credit limit values are piggybacked on messages
coming in the other direction. So the original statement,
though generic, seems correct as it stands.

However, coming back to this section after some time away,
I agree that it is not entirely clear.


> 2/ For each of the variables described, replace “peer” with “sender” or
> receiver” as appropriate. Flow control functions require actions at the send
> side and at the receive side, and articulating which side is maintaining a
> variable or performing an action is very important to not introduce ambiguity
> and potential deadlocks.

With a few minor textual corrections it seems like the
intent is now unambiguous, based on the RDMA operation
being counted:

- The peer posts an RDMA Send: the peer is acting as a sender

- An RDMA Receive completes: the peer is acting as a receiver

But looks like the text needs to tie these counters to a
particular connection. They are not peer-wide counters.


> 3/ “Remote credits” —> I would suggest changing this to “Advertised Credits”,
> to avoid confusion about which endpoint uses this.

Below you used "Advertised credits" to mean a peer's "Credit limit"
which is not the same as "Remote credits". Therefore...

I will replace "Credit limit" with "Advertised credits" and
"Remote credits" with "Received credits". Hopefully that will
avoid the confusion you pointed out.


> 4/ “The sender MUST NOT post this message if the sender's "Send message
> counter" is greater than the current "Remote credits" value.” —> Two issues:
> (i) What is the “send message counter”? Is this supposed to be “Sent message
> count”? Or a new variable?

That's a typo. "Sent message counter" was intended. Fixed.


> (ii) each endpoint has its “Remote credits” value,
> which one does this sentence refer to?

The local peer's "Remote credits" value, which is defined as the
most recent "Credit limit" received from the remote peer.

The text assumes that the peer makes sending decisions based only
on information that is local to it (the four critical values).


> 5/ “A receiver MAY adjust its credit limit” —> “A receiver MAY adjust its
> advertised credit limit”

The peer adjusts its "Credit limit" value in this case, not its
"Received credits". Adjusted to use the new term.


> 6/ “For instance, a peer may” —> “For instance, a receiver may”

Again, the peer is acting in both capacities. It adjusts its
"Credit limit" here, meaning it is changing the value it advertises
to the other peer. I'm adjusted this text slightly to help clarify.

So, "peer" seems unambiguous to me, and "sender/receiver" seems
more confusing rather than less. It's just ones and zeros, though,
so please let me know if I've made things worse.

https://chucklever.github.io/i-d-rpcrdma-version-two/draft-ietf-nfsv4-rpcrdma-version-two.html#name-reliable-message-delivery


--
Chuck Lever