RE: ipoib-cm multiple connection model

Vandana Rao <[email protected]> Thu, 20 Oct 2005 10:25:01 -0700
Newsgroups gmane.ietf.ipoib
Message-ID <[email protected]>
--===============0909735999==
Content-Type: multipart/alternative;
	boundary="=====================_178945409==.ALT"

--=====================_178945409==.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

Hi Dror,
I think you are confusing the 2 IDs that come into play in this 
setup. The communication ID is something that the CM entity on a node 
understands but the transaction ID is something that the MAD handling 
entity uses (for retransmission, req/resp matchup etc.).
  So, in the second slide, there should not be a retransmission of 
the left peer REQ MAD since when the left peer accepts the 
connection, it will cancel its outstanding REQ request and hence the 
retransmission should not take place.
-Vandana

At 12:39 AM 10/20/2005, Dror Goldenberg wrote:
>After giving it some more thought, I think that there is still a 
>problem. Please look at the attached pdf.
>
>In the first slide, everything happens smoothly, the left peer knows 
>that it has to accept the connection and the right peer knows that 
>it has to decline.
>On the 2nd slide, the left peer REQ transmission is dropped in the 
>fabric. It is retransmitted independently by the CM way after a 
>channel has already been established. Now the right side can not 
>really tell whether this is a new channel request or an old 
>"simultaneous connection channel". This may lead to two channels 
>being opened mistakenly.
>
>I don't believe it can be solved by looking at the communication ID. 
>This number is just being fabricated by the sender of the REQ and is 
>just a "random number" with respect to what we're trying to determine.
>
>-Dror
>
>-----Original Message-----
>From: Dror Goldenberg
>Sent: Wednesday, October 19, 2005 9:37 PM
>To: 'Vandana Rao'; Dror Goldenberg; [email protected]
>Subject: RE: [Ipoverib] ipoib-cm multiple connection model
>
>Hi Vandana,
>
>Thanks for clarifying this. I agree that if IPoiB-CM implementation 
>looks at the Communication ID it can make those decisions correctly. 
>The question is whether this value is exposed through common CM 
>APIs. For all other purposes, the CM doesn't need to expose the 
>Communication ID to the ULP. However, seems like it's not a big deal 
>to expose this value to the ULP.
>Anyway, it worth noting this explanation in the RFC so that it's 
>clear that a proper implementation of IPoIB-CM should monitor 
>Communication ID as part of the simultaneous connection decision.
>
>-Dror
>-----Original Message-----
>From: Vandana Rao [mailto:[email protected]]
>Sent: Wednesday, October 19, 2005 6:40 PM
>To: Dror Goldenberg; [email protected]
>Subject: Re: [Ipoverib] ipoib-cm multiple connection model
>
>Hi Dror,
>The purpose of the MAD transaction ID is to allow one to do what you 
>say below, i.e. have multiple connection establishment MADs between 
>2 peers. It is essentially the same as the "channel ID" that you 
>talk about below. Its just that it is a generic channel ID for any 
>MAD transactions, not just CM MADs.
>I do not believe there is any issue with existing IB CM in this regard.
>-Vandana
>
>At 03:11 AM 10/19/2005, Dror Goldenberg wrote:
>>I think that the current model for multiple connections 
>>establishment between
>>two peers works well for 1 connection but is broken for more than 
>>one connection.
>>Because of cases where CM packets are dropped or travel on 
>>different VLs, they
>>might get reordered on the way and observed in a different order 
>>than were originally
>>sent. This breaks the current model which assumes that the REQs are sent and
>>processed in order.
>>
>>I think that we need to think of a model which is robust to CM 
>>packets reordering
>>which can be one of:
>>- Adding a "channel ID" in the private data. The field goes 0,1,2 
>>and on. It helps
>>    synchronizing both peers on which is the channel at question 
>> now. The rest
>>    of the decision (per channel) of whether to accept or reject 
>> can be the same
>>    as defined in the draft.
>>- Not supporting multiple connections between the same peers.
>>
>>-Dror
>>_______________________________________________
>>IPoverIB mailing list
>>[email protected]
>>https://www1.ietf.org/mailman/listinfo/ipoverib
>

--=====================_178945409==.ALT
Content-Type: text/html; charset="us-ascii"

<html>
<body>
Hi Dror,<br>
I think you are confusing the 2 IDs that come into play in this setup.
The communication ID is something that the CM entity on a node
understands but the transaction ID is something that the MAD handling
entity uses (for retransmission, req/resp matchup etc.).<br>
&nbsp;So, in the second slide, there should not be a retransmission of
the left peer REQ MAD since when the left peer accepts the connection, it
will cancel its outstanding REQ request and hence the retransmission
should not take place.<br>
-Vandana<br><br>
At 12:39 AM 10/20/2005, Dror Goldenberg wrote:<br>
<blockquote type=cite class=cite cite=""><font size=2 color="#0000FF">
After giving it some more thought, I think that there is still a problem.
Please look at the attached pdf.<br>
</font>&nbsp;<br>
<font size=2 color="#0000FF">In the first slide, everything happens
smoothly, the left peer knows that it has to accept the connection and
the right peer knows that it has to decline.<br>
On the 2nd slide, the left peer REQ transmission is dropped in the
fabric. It is retransmitted independently by the CM way after a channel
has already been established. Now the right side can not really tell
whether this is a new channel request or an old &quot;simultaneous
connection channel&quot;. This may lead to two channels being opened
mistakenly.<br>
</font>&nbsp;<br>
<font size=2 color="#0000FF">I don't believe it can be solved by looking
at the communication ID. This number is just being fabricated by the
sender of the REQ and is just a &quot;random number&quot; with respect to
what we're trying to determine.<br>
</font>&nbsp;<br>
<font size=2 color="#0000FF">-Dror<br>
</font>&nbsp;<br>

<dl>
<dd><font face="Tahoma" size=2>-----Original Message-----<br>

<dd>From:</b> Dror Goldenberg <br>

<dd>Sent:</b> Wednesday, October 19, 2005 9:37 PM<br>

<dd>To:</b> 'Vandana Rao'; Dror Goldenberg; [email protected]<br>

<dd>Subject:</b> RE: [Ipoverib] ipoib-cm multiple connection
model<br><br>
</font>
<dd><font size=2 color="#0000FF">Hi Vandana,<br>
</font>
<dd>&nbsp;<br>

<dd><font size=2 color="#0000FF">Thanks for clarifying this. I agree that
if IPoiB-CM implementation looks at the Communication ID it can make
those decisions correctly. The question is whether this value is exposed
through common CM APIs. For all other purposes, the CM doesn't need to
expose the Communication ID to the ULP. However, seems like it's not a
big deal to expose this value to the ULP.<br>

<dd>Anyway, it worth noting this explanation in the RFC so that it's
clear that a proper implementation of IPoIB-CM should monitor
Communication ID as part of the simultaneous connection decision.<br>
</font>
<dd>&nbsp;<br>

<dd><font size=2 color="#0000FF">-Dror<br>
</font>
<dl>
<dd><font face="Tahoma" size=2>-----Original Message-----<br>

<dd>From:</b> Vandana Rao
[<a href="mailto:[email protected]" eudora="autourl">
mailto:[email protected]</a>]<br>

<dd>Sent:</b> Wednesday, October 19, 2005 6:40 PM<br>

<dd>To:</b> Dror Goldenberg; [email protected]<br>

<dd>Subject:</b> Re: [Ipoverib] ipoib-cm multiple connection
model<br><br>
</font>
<dd>Hi Dror,<br>

<dd>The purpose of the MAD transaction ID is to allow one to do what you
say below, i.e. have multiple connection establishment MADs between 2
peers. It is essentially the same as the &quot;channel ID&quot; that you
talk about below. Its just that it is a generic channel ID for any MAD
transactions, not just CM MADs.<br>

<dd>I do not believe there is any issue with existing IB CM in this
regard.<br>

<dd>-Vandana<br><br>

<dd>At 03:11 AM 10/19/2005, Dror Goldenberg wrote:<br>
<blockquote type=cite class=cite cite="">
<dd><font size=2>I think that the current model for multiple connections
establishment between <br>

<dd>two peers works well for 1 connection but is broken for more than one
connection.<br>

<dd>Because of cases where CM packets are dropped or travel on different
VLs, they <br>

<dd>might get reordered on the way and observed in a different order than
were originally<br>

<dd>sent. This breaks the current model which assumes that the REQs are
sent and <br>

<dd>processed in order. <br>
</font>
<dd>&nbsp;<br>

<dd><font size=2>I think that we need to think of a model which is robust
to CM packets reordering<br>

<dd>which can be one of:<br>

<dd>- Adding a &quot;channel ID&quot; in the private data. The field goes
0,1,2 and on. It helps <br>

<dd>&nbsp;&nbsp; synchronizing both peers on which is the channel at
question now. The rest<br>

<dd>&nbsp;&nbsp; of the decision (per channel) of whether to accept or
reject can be the same <br>

<dd>&nbsp;&nbsp; as defined in the draft.<br>

<dd>- Not supporting multiple connections between the same peers.<br>

<dd>&nbsp;<br>

<dd>-Dror<br>
</font>
<dd>_______________________________________________<br>

<dd>IPoverIB mailing list<br>

<dd>[email protected]<br>

<dd>
<a href="https://www1.ietf.org/mailman/listinfo/ipoverib" eudora="autourl">
https://www1.ietf.org/mailman/listinfo/ipoverib</a></blockquote><br>

</dl>
</dl></blockquote></body>
</html>

--=====================_178945409==.ALT--



--===============0909735999==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
IPoverIB mailing list
[email protected]
https://www1.ietf.org/mailman/listinfo/ipoverib

--===============0909735999==--