some question about multicast in rdma perftest?

i want to test multicast.

server:

ib_send_bw -d mlx5_1 -F -x 3 -c UD --run_infinitely --report_gbits -M 225.1.1.20

client:

ib_send_bw -d mlx5_1 -F -x 3 -c UD --run_infinitely --report_gbits -g -M 225.1.1.20

and in this way, i failed.

i don’t know correct parameters to test multicast. can anyone help me?

Hi ,

Please try to run the below commands

ib_send_bw 2 -g -x 0

ib_send_bw 2 -g -x 0 225.1.1.20

The -g, --mcg Send messages to multicast group with 1 QP attached to it.

In your case you only need to add -g in the server side

server:

ib_send_bw -d mlx5_1 -F -g -x 3 -c UD --run_infinitely --report_gbits -M 225.1.1.20

client:

ib_send_bw -d mlx5_1 -F -g -x 3 -c UD --run_infinitely --report_gbits -M 225.1.1.20

Thanks

Samer

sorry to bother you again. there is also some question.

when i set your commands, both output is as below:


  • Waiting for client to connect… *

how can i set receiver at the cilent?

i want to test one sender, two receiver. can i achieve it with perftest?

Yes

On Server 1 run the ib_send_bw command

On server 2 run ib_send_bw and IP address of the Server 1

example:

Server1# ib_send_bw

Server2# ib_send_bw <IP address of the Server 1>

In addition you can refer to the below links

https://community.mellanox.com/s/article/perftest-package

https://community.mellanox.com/s/article/howto-enable-perftest-package-for-upstream-kernel

Thanks

Samer