Expand description
RDMA configuration attributes.
Statics§
- RDMA_
ALLOW_ TCP_ FALLBACK - Allow TCP fallback when ibverbs hardware is unavailable.
- RDMA_
CQ_ BUSY_ POLL_ WINDOW - Cooperative-yield window for the ibverbs CQ poll loop. While
the policy is within this window it calls
tokio::task::yield_nowbetween polls; past it, polls fall into an exponential backoff sleep (1ms initial, x2, capped at 10ms).None(the default) disables the cutoff entirely: the loop only ever yields, never sleeps. - RDMA_
DISABLE_ IBVERBS - Disable ibverbs even when hardware is present.
- RDMA_
MAX_ CHUNK_ SIZE_ MB - Maximum chunk size in MiB for TCP-based RDMA transfers.
- RDMA_
MR_ LRU_ CACHE_ SIZE - Capacity of the per-processor LRU cache that memoizes
IbvMemoryRegionViews by(virtual_addr, size). Hits skip the manager round-trip; misses ask the manager to register the region and insert the result. A value of0is clamped to1(the LRU is effectively disabled at that size, but the processor still functions). - RDMA_
QP_ INIT_ TIMEOUT - Per-side budget for the
QueuePairInitializerhandshake. The timer arms once when we sendEnsureQueuePairand is rearmed after we hit RTS while still waiting for the peer’sNotifyRts. If it fires the entry is tombstoned with aqp_initializer_failedso furtherRequestQueuePaircalls for the same key surface the same error rather than hanging. - RDMA_
TCP_ FALLBACK_ PARALLELISM - Number of parallel channels for TCP fallback transfers.