Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InfiniBand support #28

Open
mvhulten opened this issue May 27, 2022 · 1 comment
Open

InfiniBand support #28

mvhulten opened this issue May 27, 2022 · 1 comment

Comments

@mvhulten
Copy link

mvhulten commented May 27, 2022

One of our users has tested Sarus on our cluster. He gets poor performance and we think it is because it does not use InfiniBand efficiently. This test was with Sarus 1.4.2 (one release behind).

If our assumption is correct, are there plans or is it possible to provide InfiniBand support, e.g. through an OCI hook?

@Madeeks
Copy link
Member

Madeeks commented Jun 7, 2022

Hi @mvhulten, at the moment we have no plans for a dedicated InfiniBand hook.
I have limited experience with InfiniBand, but it should be possible to make IB-based networks work with the current MPI hook.
Taking as example an MPI hook configuration we have for a system at CSCS:

  • ibverbs libraries (e.g. /usr/lib64/libibverbs.so.1 and /usr/lib64/libibverbs/libmlx5-rdmav25.so) should be added to MPI_DEPENDENCY_LIBS;
  • the path for drivers config files (e.g. /etc/libibverbs.d) should be added to BIND_MOUNTS;
  • InfiniBand devices (e.g. /dev/infiniband/issm0, /dev/infiniband/rdma_cm, /dev/infiniband/umad0, and /dev/infiniband/uverbs0) should be added to BIND_MOUNTS

In case you would like the IB network to be exposed into any container, an alternative option could be to define ibverbs libraries and config directory as siteMounts and the IB devices as siteDevices.

I hope these tips are useful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants