Run CVS InfiniBand bandwidth and latency IB tests

Run CVS InfiniBand bandwidth and latency IB tests#

2026-09-24

2 min read time

Applies to Linux

InfiniBand (IB Perf) tests measure raw bandwidth and latency across the cluster’s InfiniBand fabric using perftest tools. Run IB Perf after burn-in passes and before RCCL tests to validate that the interconnect delivers expected throughput.

Set up config#

Follow these steps to set up the IB performance configuration.

  1. Copy the IB performance configuration file:

    cvs config copy ibperf/ibperf_config.json --output ~/cvs_workspace/ibperf/ibperf_config.json
    
  2. Edit the file and update install_dir to your desired location.

  3. Change any other parameters relevant to your testing requirements.

For the complete field reference, see InfiniBand (IB Perf) test configuration file for Cluster Validation Suite (CVS).

Run tests#

You can list all available IB Perf test cases using the CLI:

cvs list ib_perf_bw_test
Available tests in ib_perf_bw_test:
  - test_ib_bw_perf
  - test_ib_bw_perf
  - test_ib_bw_perf
  - test_ib_lat_perf
  - test_ib_lat_perf
  - test_build_ib_bw_perf_chart
  - test_build_ib_lat_perf_chart

Note

At least two nodes are required to run IB Perf installation and tests.

Run the IB Perf suite:

  1. Run the installation:

    cvs run install_ibperf_tools \
      --cluster_file ~/cvs_workspace/cluster.json \
      --config_file ~/cvs_workspace/ibperf/ibperf_config.json \
      --html=/var/www/html/cvs/ib.html --capture=tee-sys --self-contained-html \
      --log-file=/tmp/ib.log -vvv -s
    
  2. Start the IB Perf test:

    cvs run ib_perf_bw_test \
      --cluster_file ~/cvs_workspace/cluster.json \
      --config_file ~/cvs_workspace/ibperf/ibperf_config.json \
      --html=/var/www/html/cvs/ib.html --capture=tee-sys --self-contained-html \
      --log-file=/tmp/ib.log -vvv -s