* WRITE/SEND to multiple destinations
@ 2014-11-03 2:32 floaterions
[not found] ` <loom.20141103T000730-108-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: floaterions @ 2014-11-03 2:32 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA
Hello everyone,
As a newbie to the world of InfiniBand programming,
I would appreciate your helps on my somewhat general and basic question.
Assume that I have a server, and N clients (N > 1).
I would like my server to set all clients' memory buffers to some value V.
How would I go about this problem?
So far, I've managed to establish 1-1 connections using READ/WRITE/SEND/RECEIVE.
So I guess the core of my question is:
how 1-to-N connections are established in InfiniBand, and
if, in this regard, there is any difference between
RDMA verbs (READ/WRITE) vs. SEND/RECEIVE?
--
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] 4+ messages in thread[parent not found: <loom.20141103T000730-108-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>]
* Re: WRITE/SEND to multiple destinations [not found] ` <loom.20141103T000730-108-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org> @ 2014-11-03 20:50 ` Anuj Kalia [not found] ` <CAJRcJr0LSLzSVJqwqLwiZh05NBVJMz59q3wx4-BCLUpYy7m6Qg@mail.gmail.com> 0 siblings, 1 reply; 4+ messages in thread From: Anuj Kalia @ 2014-11-03 20:50 UTC (permalink / raw) To: floaterions; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org You can do SEND/RECV over Unreliable Datagram multicast which could be beneficial in your situation (i.e., better than 1-1 connections). You can't use multicast for READs or WRITEs. --Anuj On Sun, Nov 2, 2014 at 9:32 PM, floaterions <floaterions-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > Hello everyone, > > As a newbie to the world of InfiniBand programming, > I would appreciate your helps on my somewhat general and basic question. > > Assume that I have a server, and N clients (N > 1). > I would like my server to set all clients' memory buffers to some value V. > How would I go about this problem? > So far, I've managed to establish 1-1 connections using READ/WRITE/SEND/RECEIVE. > So I guess the core of my question is: > how 1-to-N connections are established in InfiniBand, and > if, in this regard, there is any difference between > RDMA verbs (READ/WRITE) vs. SEND/RECEIVE? > > -- > 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] 4+ messages in thread
[parent not found: <CAJRcJr0LSLzSVJqwqLwiZh05NBVJMz59q3wx4-BCLUpYy7m6Qg@mail.gmail.com>]
[parent not found: <CAJRcJr0LSLzSVJqwqLwiZh05NBVJMz59q3wx4-BCLUpYy7m6Qg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: WRITE/SEND to multiple destinations [not found] ` <CAJRcJr0LSLzSVJqwqLwiZh05NBVJMz59q3wx4-BCLUpYy7m6Qg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2014-11-04 3:05 ` Anuj Kalia [not found] ` <CADPSxAiqRG7TATOXia89uZQSypL3b_EjTpU=YB6cLaR2ZeYuwQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Anuj Kalia @ 2014-11-04 3:05 UTC (permalink / raw) To: Just Floaterions; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org For the RC transport, the answer is yes. You definitely need one queue pair per client at the server, although it could be possible for the QPs at the server to share an event channel. But UD transport is also pretty "reliable" as packet loss in any InfiniBand transport is extremely rare. A rather high ballpark is one in a billion. --Anuj On Mon, Nov 3, 2014 at 5:59 PM, Just Floaterions <floaterions-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > Thank you for your help. So the question is, for reliable connections, do I > need separate event channel/queue-pairs for each connection? > > On Mon, Nov 3, 2014 at 3:50 PM, Anuj Kalia <anujkaliaiitd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> You can do SEND/RECV over Unreliable Datagram multicast which could be >> beneficial in your situation (i.e., better than 1-1 connections). You >> can't use multicast for READs or WRITEs. >> >> --Anuj >> >> On Sun, Nov 2, 2014 at 9:32 PM, floaterions <floaterions-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> > Hello everyone, >> > >> > As a newbie to the world of InfiniBand programming, >> > I would appreciate your helps on my somewhat general and basic question. >> > >> > Assume that I have a server, and N clients (N > 1). >> > I would like my server to set all clients' memory buffers to some value >> > V. >> > How would I go about this problem? >> > So far, I've managed to establish 1-1 connections using >> > READ/WRITE/SEND/RECEIVE. >> > So I guess the core of my question is: >> > how 1-to-N connections are established in InfiniBand, and >> > if, in this regard, there is any difference between >> > RDMA verbs (READ/WRITE) vs. SEND/RECEIVE? >> > >> > -- >> > 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] 4+ messages in thread
[parent not found: <CADPSxAiqRG7TATOXia89uZQSypL3b_EjTpU=YB6cLaR2ZeYuwQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: WRITE/SEND to multiple destinations [not found] ` <CADPSxAiqRG7TATOXia89uZQSypL3b_EjTpU=YB6cLaR2ZeYuwQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2014-11-04 3:10 ` Anuj Kalia 0 siblings, 0 replies; 4+ messages in thread From: Anuj Kalia @ 2014-11-04 3:10 UTC (permalink / raw) To: Just Floaterions; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Stupid me. I totally forgot about the XRC transport: http://mvapich.cse.ohio-state.edu/static/media/publications/abstract/koop-cluster08.pdf. --Anuj On Mon, Nov 3, 2014 at 10:05 PM, Anuj Kalia <anujkaliaiitd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > For the RC transport, the answer is yes. You definitely need one queue > pair per client at the server, although it could be possible for the > QPs at the server to share an event channel. > > But UD transport is also pretty "reliable" as packet loss in any > InfiniBand transport is extremely rare. A rather high ballpark is one > in a billion. > > --Anuj > > On Mon, Nov 3, 2014 at 5:59 PM, Just Floaterions <floaterions-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> Thank you for your help. So the question is, for reliable connections, do I >> need separate event channel/queue-pairs for each connection? >> >> On Mon, Nov 3, 2014 at 3:50 PM, Anuj Kalia <anujkaliaiitd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >>> >>> You can do SEND/RECV over Unreliable Datagram multicast which could be >>> beneficial in your situation (i.e., better than 1-1 connections). You >>> can't use multicast for READs or WRITEs. >>> >>> --Anuj >>> >>> On Sun, Nov 2, 2014 at 9:32 PM, floaterions <floaterions-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >>> > Hello everyone, >>> > >>> > As a newbie to the world of InfiniBand programming, >>> > I would appreciate your helps on my somewhat general and basic question. >>> > >>> > Assume that I have a server, and N clients (N > 1). >>> > I would like my server to set all clients' memory buffers to some value >>> > V. >>> > How would I go about this problem? >>> > So far, I've managed to establish 1-1 connections using >>> > READ/WRITE/SEND/RECEIVE. >>> > So I guess the core of my question is: >>> > how 1-to-N connections are established in InfiniBand, and >>> > if, in this regard, there is any difference between >>> > RDMA verbs (READ/WRITE) vs. SEND/RECEIVE? >>> > >>> > -- >>> > 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] 4+ messages in thread
end of thread, other threads:[~2014-11-04 3:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-03 2:32 WRITE/SEND to multiple destinations floaterions
[not found] ` <loom.20141103T000730-108-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2014-11-03 20:50 ` Anuj Kalia
[not found] ` <CAJRcJr0LSLzSVJqwqLwiZh05NBVJMz59q3wx4-BCLUpYy7m6Qg@mail.gmail.com>
[not found] ` <CAJRcJr0LSLzSVJqwqLwiZh05NBVJMz59q3wx4-BCLUpYy7m6Qg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-04 3:05 ` Anuj Kalia
[not found] ` <CADPSxAiqRG7TATOXia89uZQSypL3b_EjTpU=YB6cLaR2ZeYuwQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-04 3:10 ` Anuj Kalia
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox