﻿# RDMA read credits are not link bandwidth

Inspect initiator depth, responder resources and actual outstanding reads before attributing low RDMA read throughput to network capacity.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/rdma-read-credit-pressure/
Language: en

## The fabric has spare bytes but reads wait

A remote-memory consumer issues many small RDMA reads and achieves less throughput than a large write test on the same link. The comparison does not prove a damaged network. Read concurrency has resources on both the requester and responder, independently of wire bandwidth. If the application cannot keep enough eligible reads outstanding, the link can remain underfilled while every completed operation is correct.

## Distinguish the two QP roles

The [QP modification contract](https://man7.org/linux/man-pages/man3/ibv_modify_qp.3.html) separates max_rd_atomic from max_dest_rd_atomic. The former controls outstanding read and atomic work initiated through the QP; the latter concerns responder resources for incoming operations. These are not socket buffer sizes or a promise of bytes per second. Record the settings at both ends and the actual connection establishment path. A large requester value cannot by itself prove that the peer accepted equivalent responder resources.

## Device ceilings are another boundary

The [device query reference](https://man7.org/linux/man-pages/man3/ibv_query_device.3.html) reports per-QP initiation limits, responder resource limits and other capacities. It explicitly warns that maximum attributes are upper bounds, while machine configuration, memory, permissions and other consumers can constrain what is usable. Do not multiply a published maximum by every connection and call that available parallelism. A shared adapter serving multiple jobs can have a different resource envelope from an otherwise identical isolated test host.

## Observe actual outstanding work

Use [QP queries](https://man7.org/linux/man-pages/man3/ibv_query_qp.3.html) to preserve applicable configured attributes, then connect them to application submission and completion progress. Record operation size, number of active QPs, concurrency, memory placement and errors. Separate a producer that issues requests serially from one blocked by an effective transport limit. A high requested depth is irrelevant if the application waits after every read, and an aggregate host counter cannot establish that the critical connection maintains its intended work window.

## Qualify depth with useful work

Within a supported isolated range, vary outstanding-read depth while holding payload distribution, endpoints and accepted work constant. Observe completed reads, elapsed work time, resource failures and competing traffic. Include smaller and larger operation sizes because a concurrency limit interacts with each operation's latency and byte count. Acceptance establishes the operating point that satisfies the workload without resource errors; it does not require exhausting every advertised credit. No performance numbers or optimal depth are claimed without an actual measured test.

## Preserve the causal boundary

Improvement after a depth change supports a concurrency explanation only when other settings and application behavior remained comparable. PCIe topology, GPU memory ordering, responder processing and congestion can still limit the same workload. The [completion interpretation guide](/journal/guide-net-rdma-completion/) distinguishes failed work from successful but slow progress, while [registered memory accounting](/journal/guide-net-rdma-memory-registration/) explains another independent resource ceiling. Report the actual QP and device bounds with the observation rather than diagnosing spare link bandwidth as evidence that every RDMA layer has spare capacity.
