RDMA Loopback test

Testing the network is important, but sometimes it is important to test single server itself, including the CPU and PCI. Use the following RDMA loopback tests for single server.

 

Commnand Stracture:

run_perftest_loopback <server core> <client core> <perftest command and flags>

 

Examples:

1. Test RDMA Bandwidth between two cores on the same host (In this example, core number 0 and 1 that are on the same socket, close to mlx5_0 device):

$ run_perftest_loopback 0 1 ib_write_bw -d mlx5_0 --report_gbits -F --output=bandwidth 106.051744

 

2. Test RDMA Bandwidth between two cores on the same host (In this example, core number 38 and 39 that are on the second socket comparing to mlx5_0 device):

$ run_perftest_loopback 0 1 ib_write_bw -d mlx5_0 --report_gbits -F --output=bandwidth 104.185879

 

3. Test RDMA Latency between two cores on the same host (In this example, core number 0 and 1 that are on the same socket, close to mlx5_0 device):

 

4. Test RDMA Latency between two cores on the same host (In this example, core number 38 and 39 that are on the second socket comparing to mlx5_0 device):

Â