* APM support for IPoIB
@ 2012-10-01 22:23 Bang Nguyen
[not found] ` <506A17EA.8080400-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 12+ messages in thread
From: Bang Nguyen @ 2012-10-01 22:23 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA; +Cc: Richard Frank
Hi,
Adding APM support for IPoIB seems like something worthwhile and we're
thinking about it..but are wondering why has hasn't been done
already..any comments/suggestions?
Thanks, --Bang.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: APM support for IPoIB
[not found] ` <506A17EA.8080400-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
@ 2012-10-01 23:53 ` Jason Gunthorpe
[not found] ` <20121001235303.GH22342-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
0 siblings, 1 reply; 12+ messages in thread
From: Jason Gunthorpe @ 2012-10-01 23:53 UTC (permalink / raw)
To: Bang Nguyen; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Richard Frank
On Mon, Oct 01, 2012 at 03:23:38PM -0700, Bang Nguyen wrote:
> Adding APM support for IPoIB seems like something worthwhile and
> we're thinking about it..but are wondering why has hasn't been done
> already..any comments/suggestions?
I've been quite supportive of APM in the past, IMHO I think it is
something unique to IB that should be exploited as often as possible.
Improving the RDMA-CM to setup APM at all would be a great first step,
but some SM work is also ultimately needed to get sufficiently
independent/redundant paths.
I would like to see the full APM support eventually implemented - this
would be fail over across adaptor ports, where each port is on a
seperate subnet - so you get full redundancy of cabling, switching and
management software.
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: APM support for IPoIB
[not found] ` <20121001235303.GH22342-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
@ 2012-10-02 0:02 ` Bang Nguyen
[not found] ` <506A2F01.8000605-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2012-10-02 16:53 ` Paul Grun
1 sibling, 1 reply; 12+ messages in thread
From: Bang Nguyen @ 2012-10-02 0:02 UTC (permalink / raw)
To: Jason Gunthorpe; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Richard Frank
On 10/1/2012 4:53 PM, Jason Gunthorpe wrote:
> On Mon, Oct 01, 2012 at 03:23:38PM -0700, Bang Nguyen wrote:
>
>> Adding APM support for IPoIB seems like something worthwhile and
>> we're thinking about it..but are wondering why has hasn't been done
>> already..any comments/suggestions?
> I've been quite supportive of APM in the past, IMHO I think it is
> something unique to IB that should be exploited as often as possible.
>
> Improving the RDMA-CM to setup APM at all would be a great first step,
> but some SM work is also ultimately needed to get sufficiently
> independent/redundant paths.
Our version of OFED has full support of APM in RDMA-CM and it's being
used by SDP and RDS..
IPoIB is using CM instead of RDMA CM so we can not leverage it..IPoIB
APM will need to have its own implementation..
> I would like to see the full APM support eventually implemented - this
> would be fail over across adaptor ports, where each port is on a
> seperate subnet - so you get full redundancy of cabling, switching and
> management software.
>
> Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: APM support for IPoIB
[not found] ` <506A2F01.8000605-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
@ 2012-10-02 2:15 ` Roland Dreier
[not found] ` <CAL1RGDWmywbGg0vVb_MqRCHbdgMCZTGN5Y-dX6NkpWRB6P23ug-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 12+ messages in thread
From: Roland Dreier @ 2012-10-02 2:15 UTC (permalink / raw)
To: Bang Nguyen
Cc: Jason Gunthorpe, linux-rdma-u79uwXL29TY76Z2rM5mHXA, Richard Frank
On Mon, Oct 1, 2012 at 5:02 PM, Bang Nguyen <bang.nguyen-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> wrote:
> Our version of OFED has full support of APM in RDMA-CM and it's being used
> by SDP and RDS..
Perhaps working on getting that merged upstream would be a better first step.
- R.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: APM support for IPoIB
[not found] ` <CAL1RGDWmywbGg0vVb_MqRCHbdgMCZTGN5Y-dX6NkpWRB6P23ug-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2012-10-02 8:12 ` Tziporet Koren
[not found] ` <CD250C48050CFB4D95E78C95F2FDDD6E87470513-fViJhHBwANKuSA5JZHE7gA@public.gmane.org>
0 siblings, 1 reply; 12+ messages in thread
From: Tziporet Koren @ 2012-10-02 8:12 UTC (permalink / raw)
To: Roland Dreier, Bang Nguyen
Cc: Jason Gunthorpe,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Richard Frank,
Eli Cohen, Jack Morgenstein
> Perhaps working on getting that merged upstream would be a better first step.
We have it on our plans to submit RDMA-CM APM to upstream.
Since we are in holidays season here it will take us some time to come back with plan.
In any case as Bang wrote this is not related to IPoIB-CM, that requires a different implementation, and any one is welcome to contribute here :-)
Tziporet
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: APM support for IPoIB
[not found] ` <20121001235303.GH22342-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2012-10-02 0:02 ` Bang Nguyen
@ 2012-10-02 16:53 ` Paul Grun
2012-10-02 17:00 ` Jason Gunthorpe
2012-10-02 17:21 ` Hefty, Sean
1 sibling, 2 replies; 12+ messages in thread
From: Paul Grun @ 2012-10-02 16:53 UTC (permalink / raw)
To: 'Jason Gunthorpe', 'Bang Nguyen'
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, 'Richard Frank'
Jason - Like your idea for full APM support especially across subnets, but
wouldn't that require some sort capability that lives above the subnet level
and is able to query both SMs/SAs? Sounds vaguely router-ish?
-Paul
> -----Original Message-----
> From: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org [mailto:linux-rdma-
> owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org] On Behalf Of Jason Gunthorpe
> Sent: Monday, October 01, 2012 4:53 PM
> To: Bang Nguyen
> Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; Richard Frank
> Subject: Re: APM support for IPoIB
>
> On Mon, Oct 01, 2012 at 03:23:38PM -0700, Bang Nguyen wrote:
>
> > Adding APM support for IPoIB seems like something worthwhile and we're
> > thinking about it..but are wondering why has hasn't been done
> > already..any comments/suggestions?
>
> I've been quite supportive of APM in the past, IMHO I think it is
> something unique to IB that should be exploited as often as possible.
>
> Improving the RDMA-CM to setup APM at all would be a great first step, but
> some SM work is also ultimately needed to get sufficiently
> independent/redundant paths.
>
> I would like to see the full APM support eventually implemented - this
> would be fail over across adaptor ports, where each port is on a seperate
> subnet - so you get full redundancy of cabling, switching and management
> software.
>
> Jason
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at
> http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: APM support for IPoIB
2012-10-02 16:53 ` Paul Grun
@ 2012-10-02 17:00 ` Jason Gunthorpe
2012-10-02 17:21 ` Hefty, Sean
1 sibling, 0 replies; 12+ messages in thread
From: Jason Gunthorpe @ 2012-10-02 17:00 UTC (permalink / raw)
To: Paul Grun
Cc: 'Bang Nguyen', linux-rdma-u79uwXL29TY76Z2rM5mHXA,
'Richard Frank'
On Tue, Oct 02, 2012 at 09:53:17AM -0700, Paul Grun wrote:
> Jason - Like your idea for full APM support especially across
> subnets, but wouldn't that require some sort capability that lives
> above the subnet level and is able to query both SMs/SAs? Sounds
> vaguely router-ish?
Well, in terms of the current spec, PRs are fully specified enough
that a sufficiently informed SA can return PRs for a non-requesting
port on the same node. I've long advocated for an improved PR
mechanism that would be more APM 'aware' and router compatible
(Connected Path Query)
There are a few good ways to get that sort of information into the
SA..
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: APM support for IPoIB
2012-10-02 16:53 ` Paul Grun
2012-10-02 17:00 ` Jason Gunthorpe
@ 2012-10-02 17:21 ` Hefty, Sean
1 sibling, 0 replies; 12+ messages in thread
From: Hefty, Sean @ 2012-10-02 17:21 UTC (permalink / raw)
To: Paul Grun, 'Jason Gunthorpe', 'Bang Nguyen'
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
'Richard Frank'
> Jason - Like your idea for full APM support especially across subnets, but
> wouldn't that require some sort capability that lives above the subnet level
> and is able to query both SMs/SAs? Sounds vaguely router-ish?
I'm guessing that it would require that the ports involved have different GIDs and coordinate the partition keys, but I'm not sure anything else is needed. The GIDs and PKeys could be managed manually by an administrator.
A service could query both SAs for PRs, then pass them in a single CM message to the remote side. Since the SAs are on different subnets, no matter which paths were selected, they would automatically by disjoint, so I don't believe any other coordination is required.
- Sean
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: APM support for IPoIB
[not found] ` <CD250C48050CFB4D95E78C95F2FDDD6E87470513-fViJhHBwANKuSA5JZHE7gA@public.gmane.org>
@ 2012-10-03 0:14 ` Bang Nguyen
[not found] ` <506B8365.9010507-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 12+ messages in thread
From: Bang Nguyen @ 2012-10-03 0:14 UTC (permalink / raw)
To: Tziporet Koren
Cc: Roland Dreier, Jason Gunthorpe,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Richard Frank,
Eli Cohen, Jack Morgenstein
On 10/2/2012 1:12 AM, Tziporet Koren wrote:
>> Perhaps working on getting that merged upstream would be a better first step.
> We have it on our plans to submit RDMA-CM APM to upstream.
> Since we are in holidays season here it will take us some time to come back with plan.
>
> In any case as Bang wrote this is not related to IPoIB-CM, that requires a different implementation, and any one is welcome to contribute here :-)
>
> Tziporet
>
Just a crazy thought but IPoIB could use RDMA-CM for all of its
connection management stuff..this way it can leverage the APM support in
RDMA-CM..
comments?...
Thanks, --Bang.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: APM support for IPoIB
[not found] ` <506B8365.9010507-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
@ 2012-10-03 3:03 ` Hefty, Sean
[not found] ` <1828884A29C6694DAF28B7E6B8A8237346A98B11-Q3cL8pyY+6ukrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
0 siblings, 1 reply; 12+ messages in thread
From: Hefty, Sean @ 2012-10-03 3:03 UTC (permalink / raw)
To: Bang Nguyen, Tziporet Koren
Cc: Roland Dreier, Jason Gunthorpe,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Richard Frank,
Eli Cohen, Jack Morgenstein
> Just a crazy thought but IPoIB could use RDMA-CM for all of its
> connection management stuff..this way it can leverage the APM support in
> RDMA-CM..
>
> comments?...
ipoib predates the rdma cm, which is why it's written to the ib_cm directly. Communication setup with the rdma cm follows these 3 steps.
1. address resolution - The rdma cm indirectly ends up using ipoib for this. With ipoib, this step isn't necessary. I think having AF_IB support would help this by avoiding this step, plus it restricts the rdma cm to using IB devices.
2. route resolution (aka path record query) - Ipoib maintains its own path record cache. It can set the rdma cm paths manually, or there would need to be some sort of rework.
3. connection setup - formats the ib cm private data and exchanges messages. The rdma cm would need to know the ipoib private data format.
Sooo... ipoib wouldn't use address resolution. It maintains its own path record cache, which is a significant piece of supporting APM. Ipoib probably doesn't need to maintain its own cache, but there's no decent alternative for kernel clients currently. And connection setup using the rdma cm is only slightly easier than using the ib cm. (I have no idea what APM support in the rdma cm looks like.)
- Sean
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: APM support for IPoIB
[not found] ` <1828884A29C6694DAF28B7E6B8A8237346A98B11-Q3cL8pyY+6ukrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2012-10-03 4:24 ` Bang Nguyen
[not found] ` <506BBDE3.3010904-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 12+ messages in thread
From: Bang Nguyen @ 2012-10-03 4:24 UTC (permalink / raw)
To: Hefty, Sean
Cc: Tziporet Koren, Roland Dreier, Jason Gunthorpe,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Richard Frank,
Eli Cohen, Jack Morgenstein
Here is the presentation on RDMA-CM APM
https://www.openfabrics.org/ofa-documents/presentations/doc_download/516-rdmacm-amp.html
On 10/2/2012 8:03 PM, Hefty, Sean wrote:
>> Just a crazy thought but IPoIB could use RDMA-CM for all of its
>> connection management stuff..this way it can leverage the APM support in
>> RDMA-CM..
>>
>> comments?...
> ipoib predates the rdma cm, which is why it's written to the ib_cm directly. Communication setup with the rdma cm follows these 3 steps.
>
> 1. address resolution - The rdma cm indirectly ends up using ipoib for this. With ipoib, this step isn't necessary. I think having AF_IB support would help this by avoiding this step, plus it restricts the rdma cm to using IB devices.
> 2. route resolution (aka path record query) - Ipoib maintains its own path record cache. It can set the rdma cm paths manually, or there would need to be some sort of rework.
> 3. connection setup - formats the ib cm private data and exchanges messages. The rdma cm would need to know the ipoib private data format.
>
> Sooo... ipoib wouldn't use address resolution. It maintains its own path record cache, which is a significant piece of supporting APM. Ipoib probably doesn't need to maintain its own cache, but there's no decent alternative for kernel clients currently. And connection setup using the rdma cm is only slightly easier than using the ib cm. (I have no idea what APM support in the rdma cm looks like.)
>
> - Sean
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: APM support for IPoIB
[not found] ` <506BBDE3.3010904-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
@ 2012-10-04 16:06 ` Bang Nguyen
0 siblings, 0 replies; 12+ messages in thread
From: Bang Nguyen @ 2012-10-04 16:06 UTC (permalink / raw)
To: Hefty, Sean
Cc: Tziporet Koren, Roland Dreier, Jason Gunthorpe,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Richard Frank,
Eli Cohen, Jack Morgenstein
I'm experimenting with trying to model IPoIB-CM APM after RDMA-CM APM,
particularly the protocol for loading/re-loading of the alternate path
and will see how it goes..
Thanks, --Bang.
On 10/2/2012 9:24 PM, Bang Nguyen wrote:
> Here is the presentation on RDMA-CM APM
>
> https://www.openfabrics.org/ofa-documents/presentations/doc_download/516-rdmacm-amp.html
>
>
> On 10/2/2012 8:03 PM, Hefty, Sean wrote:
>>> Just a crazy thought but IPoIB could use RDMA-CM for all of its
>>> connection management stuff..this way it can leverage the APM
>>> support in
>>> RDMA-CM..
>>>
>>> comments?...
>> ipoib predates the rdma cm, which is why it's written to the ib_cm
>> directly. Communication setup with the rdma cm follows these 3 steps.
>>
>> 1. address resolution - The rdma cm indirectly ends up using ipoib
>> for this. With ipoib, this step isn't necessary. I think having
>> AF_IB support would help this by avoiding this step, plus it
>> restricts the rdma cm to using IB devices.
>> 2. route resolution (aka path record query) - Ipoib maintains its own
>> path record cache. It can set the rdma cm paths manually, or there
>> would need to be some sort of rework.
>> 3. connection setup - formats the ib cm private data and exchanges
>> messages. The rdma cm would need to know the ipoib private data format.
>>
>> Sooo... ipoib wouldn't use address resolution. It maintains its own
>> path record cache, which is a significant piece of supporting APM.
>> Ipoib probably doesn't need to maintain its own cache, but there's no
>> decent alternative for kernel clients currently. And connection
>> setup using the rdma cm is only slightly easier than using the ib
>> cm. (I have no idea what APM support in the rdma cm looks like.)
>>
>> - Sean
>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2012-10-04 16:06 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-01 22:23 APM support for IPoIB Bang Nguyen
[not found] ` <506A17EA.8080400-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2012-10-01 23:53 ` Jason Gunthorpe
[not found] ` <20121001235303.GH22342-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2012-10-02 0:02 ` Bang Nguyen
[not found] ` <506A2F01.8000605-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2012-10-02 2:15 ` Roland Dreier
[not found] ` <CAL1RGDWmywbGg0vVb_MqRCHbdgMCZTGN5Y-dX6NkpWRB6P23ug-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-10-02 8:12 ` Tziporet Koren
[not found] ` <CD250C48050CFB4D95E78C95F2FDDD6E87470513-fViJhHBwANKuSA5JZHE7gA@public.gmane.org>
2012-10-03 0:14 ` Bang Nguyen
[not found] ` <506B8365.9010507-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2012-10-03 3:03 ` Hefty, Sean
[not found] ` <1828884A29C6694DAF28B7E6B8A8237346A98B11-Q3cL8pyY+6ukrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2012-10-03 4:24 ` Bang Nguyen
[not found] ` <506BBDE3.3010904-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2012-10-04 16:06 ` Bang Nguyen
2012-10-02 16:53 ` Paul Grun
2012-10-02 17:00 ` Jason Gunthorpe
2012-10-02 17:21 ` Hefty, Sean
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox