Re: [storm] more comments on http://tools.ietf.org/html/draft-ietf-storm-rdmap-ext-00

"Hemal Shah" <hemal@broadcom.com> Fri, 08 July 2011 21:41 UTC

Return-Path: <hemal@broadcom.com>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D889321F8C0D for <storm@ietfa.amsl.com>; Fri, 8 Jul 2011 14:41:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lNm0Uxp-CkPI for <storm@ietfa.amsl.com>; Fri, 8 Jul 2011 14:41:14 -0700 (PDT)
Received: from mms1.broadcom.com (mms1.broadcom.com [216.31.210.17]) by ietfa.amsl.com (Postfix) with ESMTP id 1546821F8C0C for <storm@ietf.org>; Fri, 8 Jul 2011 14:41:14 -0700 (PDT)
Received: from [10.9.200.133] by mms1.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.3.2)); Fri, 08 Jul 2011 14:46:08 -0700
X-Server-Uuid: 02CED230-5797-4B57-9875-D5D2FEE4708A
Received: from IRVEXCHCCR02.corp.ad.broadcom.com ([10.9.200.183]) by IRVEXCHHUB02.corp.ad.broadcom.com ([10.9.200.133]) with mapi; Fri, 8 Jul 2011 14:40:50 -0700
From: Hemal Shah <hemal@broadcom.com>
To: Bernard Metzler <BMT@zurich.ibm.com>, "storm@ietf.org" <storm@ietf.org>
Date: Fri, 08 Jul 2011 14:39:51 -0700
Thread-Topic: [storm] more comments on http://tools.ietf.org/html/draft-ietf-storm-rdmap-ext-00
Thread-Index: Acw7ZebW2MkusTSzQHOtcGFcP3CoYwCOQCpw
Message-ID: <76DBE161893C324BA6D4BB507EE4C3849513514FC9@IRVEXCHCCR02.corp.ad.broadcom.com>
References: <OF68B8817A.D6C70115-ONC12578C4.0052797F-C12578C4.007D5757@ch.ibm.com>
In-Reply-To: <OF68B8817A.D6C70115-ONC12578C4.0052797F-C12578C4.007D5757@ch.ibm.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
MIME-Version: 1.0
X-WSS-ID: 6209A52A3B416905848-01-01
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: Re: [storm] more comments on http://tools.ietf.org/html/draft-ietf-storm-rdmap-ext-00
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Jul 2011 21:41:15 -0000

Bernard,

Thanks for the comments! We will incorporate them in our next rev of the draft!

Below are the responses to your comments!

Hemal

-----Original Message-----
From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On Behalf Of Bernard Metzler
Sent: Tuesday, July 05, 2011 3:49 PM
To: storm@ietf.org
Subject: [storm] more comments on http://tools.ietf.org/html/draft-ietf-storm-rdmap-ext-00

Some comments on the RDMA Protocol Extension draft
(sorry when partially overlapping with Arkady's email
from 3 May).



The terms "Data Source" and "Data Sink" are used for Immediate
Data and Atomic Operations as well. For Atomics I found it
confusing and would prefer to have the 'Requester' and 'Responder'
terms used throughout the whole document.
[Hemal] Good comment! For Atomics, we will make sure that we use terms "Requester" and "Responder" instead of "Data Source" and "Data Sink". 


Immediate Data
The specification introduces a new RDMAP message format.
Section 1 and 6 are limiting its usage to Writes, eg.:
"Immediate Data messages allow the ULP at the sender to
provide a small amount of data following an RDMA Write payload."
Why not Sends, while SendWithImm is defined for other RDMA
transports and is part of a well established RDMA verbs
interface (OpenFabrics)?

[Hemal] Good point! The primary intent for ImmData was to use it with the RDMA Write. That being said, we can change the wording in Section 1 and 6 to allow the Immediate data's usage with any other RDMA message. But, in reality the verbs definition will not allow it to be used with Send Operations (as it will consume two RQ entries which is as good as sending two Send Messages).

While potentially out of the primary business of the
specification of a wire protocol - I assume Immediate Data
will consume a peers Receive Queue Element?[Hemal] Yes

A short discussion including appropriate RQ sizing might
be helpful for the reader (and implementer). It might go
into section 6.1.[Hemal]  This is a protocol specification. RQ sizing is outside the scope of this specification. That being said, Section 6.3 talks about ImmData consuming one Untagged Buffer. I think that text is sufficient. 



Atomics
5.1.1: I found it difficult to understand the FetchAdd decription.
In particular, the statement of
"The setting of "Add Mask" field to 0x0000000000000000 results
in Atomic Add of 64-bit Original Remote Data Value and 64-bit
"Add Data"."
was surprising to me. I would have expected all bits set to 1.
[Hemal] The "Add Mask" is used to exclude the bits from the operation rather than include the bits for the operations. The pseudo-code described in the spec reflects that.

FetchAdd sometimes extends to FetchAndAdd. I would prefer one term
only.
[Hemal] Good catch! We will use FetchAdd consistently in the doc and remove FetchAndAdd occurrences.

The abbreviation of RMW seem to refer to ReadModifyWrite.
Better to be written in full length? It could be confused
with RemoteMemoryWindow.
[Hemal] OK! We will spell out ReadModifyWrite.



Ordering and Completion Table
Section 7 provides a table of operation ordering.
For Immediate Data, I found the term "Placement" inappropriate.
Immediate Data are not placed in a target buffer. Immediate Data
are received and delivered to the ULP. Maybe exchanging "Immediate
Data is Placed at Remote Peer" with "Immediate Data is received
at Remote Peer" would clarify? I see the same issue for Atomic
Responses, which are also not Placed but received.
[Hemal] We would like to follow DDP layer term "Placement" here and be consistent with the RDMAP spec. So, we will keep the Section 7 text as it is.

The discussion of the two consecutive Atomic operations (page 22)
seem to allow re-ordering of Atomic responses. Is that true?
It might complicate response processing. 
[Hemal]  Re-ordering is allowed only from the Placement perspective. The generation of Response Messages is still done in order. So, I do not think it complicates the response processing.


General/Implementation
It might be a good idea to try an implementation of
the proposed RDMAP extension. The SoftiWARP stack might
be a good candidate for that.
[Hemal] Agree!


Thanks,
Bernard.
_______________________________________________
storm mailing list
storm@ietf.org
https://www.ietf.org/mailman/listinfo/storm