Use:
https://github.com/linux-rdma/perftest
Clone the repository on the nodes of interest
Setup perftest using instructions in the README
ib_write_bw
is the important one