﻿# RDMA perftest results need their measurement mode

Preserve duration or iteration mode, warmup, margins, peak calculation and bidirectional reporting before comparing RDMA bandwidth results.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/perftest-bandwidth-duration-iteration-boundaries/
Language: en

## Two plausible bandwidth numbers measure different runs

A fabric acceptance report compares an iteration-based perftest result with a duration-based result from another host and calls the difference a hardware regression. Message size may match while the timed population, warmup and directional aggregation differ. Preserve the measurement mode before calculating any ratio. A result without these conditions is an incomplete benchmark record, even when the tool printed a precise bandwidth column.

## Start with the operation and endpoints

The [perftest README](https://raw.githubusercontent.com/linux-rdma/perftest/master/README) distinguishes send, write, read and atomic tests and explicitly describes their traffic as synthetic rather than an emulation of a real application. Record the exact binary, revision, transport, memory type, devices, QPs and documented symmetric options on both endpoints. A successful write test does not establish read-credit behavior, receiver provisioning for sends or the communication structure of a collective. Keep those workloads distinct before attributing performance differences to the fabric.

## Define the sampling population

Bandwidth tests can run for iterations or a fixed duration. The README notes that iteration-related bookkeeping can itself grow with the number of iterations and affect results, with peak calculation being a relevant option. More iterations are therefore not a universal improvement in experimental quality. Preserve whether peak and average are reported, the actual stopping condition and the accepted sample window. A missing peak value must not silently become a zero-performance result or be compared with another run's peak.

## Separate warmup from duration margins

The reviewed [parameter implementation](https://raw.githubusercontent.com/linux-rdma/perftest/master/src/perftest_parameters.c) documents duration-mode margins and a distinct warmup option with test-specific applicability. These controls are not interchangeable evidence that all cold-start effects were excluded. Record which options the installed binary supports and actually used. Do not transfer a latency-test remark about the first sample into an invented bandwidth warmup method. Setup, memory preparation and timed transfer remain separate boundaries, especially when a model workload cares about first-use readiness.

## Preserve the directional denominator

The README states that bidirectional runs measure locally initiated traffic on each side and combine the results at the client. The parameter help also provides separate receive/transmit reporting. Retain whether a displayed value combines directions or represents one direction before comparing it with a link rate or a unidirectional run. Keep units explicit. A combined bidirectional result cannot be relabeled as payload delivered through one direction, and a derived number does not replace physical port counters.

## Acceptance connects the tool to its limited question

An approved isolated comparison should retain the full mode record, correct completion and any supported data-validation status, then compare equivalent runs. The [NCCL metric guide](/journal/guide-perf-nccl-tests-bandwidth-units/) explains another benchmark's denominator, while [RDMA completion evidence](/journal/guide-net-rdma-completion/) separates successful posting from completed work. Report synthetic link-path qualification separately from whole-job behavior. No throughput number is claimed here, and no perftest setting can establish model-training performance without the application's own accepted-work comparison.
