Infiniband and RDMA in containers

1,735 views
Skip to first unread message

rama...@gmail.com

unread,
Nov 17, 2016, 10:00:55 AM11/17/16
to CoreOS User
Is there a way to create containers with Infiniband and RDMA support to run MPI applications on stock CoreOS kernel?
After starting the node I can see module ib_mthca: Mellanox InfiniBand HCA driver v1.0 (April 4, 2008), but Infiniband stack doesn't work in privileged container.

Brandon Philips

unread,
Nov 21, 2016, 3:13:54 PM11/21/16
to rama...@gmail.com, CoreOS User
What doesn't work in a priviledged container?

On Thu, Nov 17, 2016 at 7:00 AM <rama...@gmail.com> wrote:
Is there a way to create containers with Infiniband and RDMA support to run MPI applications on stock CoreOS kernel?
After starting the node I can see module ib_mthca: Mellanox InfiniBand HCA driver v1.0 (April 4, 2008), but Infiniband stack doesn't work in privileged container.

--
You received this message because you are subscribed to the Google Groups "CoreOS User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coreos-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

rama...@gmail.com

unread,
Dec 4, 2016, 2:09:34 AM12/4/16
to CoreOS User, rama...@gmail.com
The problem solved by loading existing infiniband-related modules (ib_uverbs, ib_umad, rdma_cm, rdma_ucm). After this Infiniband stack can work in containers.

понедельник, 21 ноября 2016 г., 23:13:54 UTC+3 пользователь Brandon Philips написал:

Brandon Philips

unread,
Dec 5, 2016, 2:41:33 PM12/5/16
to rama...@gmail.com, CoreOS User, Luis Pabon
Yes, you can add these to your /etc/modules file to have them load at boot time automatically.

邱志林

unread,
Jul 24, 2017, 6:57:44 AM7/24/17
to CoreOS User, rama...@gmail.com
Are you using container with docker? I found that most of the solution is by setting containers to using host network stack, like running with option --net=host. It that how you make it works? Or Could you please show us how you make it ?

在 2016年12月4日星期日 UTC+8下午3:09:34,rama...@gmail.com写道:

Paul Morgan

unread,
Jul 24, 2017, 12:53:23 PM7/24/17
to 邱志林, CoreOS User, rama...@gmail.com
On Mon, Jul 24, 2017 at 5:57 AM, 邱志林 <gek...@163.com> wrote:
Are you using container with docker? I found that most of the solution is by setting containers to using host network stack, like running with option --net=host. It that how you make it works? Or Could you please show us how you make it ?



Reply all
Reply to author
Forward
0 new messages