← blackwellsmatter.com / #002 · 2026-12-05
note #002 · gsp firmware & pcie dma stock drivers 575–610.x · zero kernel patches

112.5 GB/s PCIe P2P on Consumer RTX 5090 via One GSP Registry Key

rtx-p2p · RMDisableFeatureDisablement=1 · 595.x 5-key force profile · ReBAR-off safe · RTX 5090 / 5080 / 5060 Ti

112.5
GB/S D2D INTRA-NUMA
112.4 GB/s cross-NUMA · 8× 5090
0
KERNEL PATCHES
single /etc/modprobe.d drop-in
9
EBREAK GUARDS
bypassed cleanly inside GSP
256 MiB
REBAR-OFF SAFE
works even with ReBAR disabled

01 The Artificial PCIe P2P Lockout on GeForce Blackwell

Consumer GeForce RTX 50-series GPUs share the exact same PCIe Gen5 DMA hardware as RTX PRO Blackwell cards, yet stock NVIDIA drivers disable direct GPU-to-GPU PCIe peer-to-peer transfers — forcing multi-GPU LLM inference (TP=2/4/8) and collective all-reduce traffic through host RAM staging. Previously, unlocking PCIe P2P meant compiling and maintaining out-of-tree kernel driver forks on every driver upgrade.

Reverse engineering Blackwell's RISC-V GSP firmware revealed that the consumer P2P restriction is enforced by a software feature-disablement gate guarded by nine ebreak checks, controlled by a single undocumented GSP registry key: RMDisableFeatureDisablement=1.

Stock consumer driver:
  GPU 0 ──► Host RAM (bounce) ──► GPU 1     [GSP feature-gate blocks direct BAR1 P2P]

With /etc/modprobe.d/nvidia-p2p.conf (RMDisableFeatureDisablement=1; ...):
  ┌───────────┐   PCIe Gen5 direct DMA (112.5 GB/s)   ┌───────────┐
  │ RTX 5090  ├──────────────────────────────────────►│ RTX 5090  │
  │  (GPU 0)  │◄──────────────────────────────────────┤  (GPU 1)  │
  └───────────┘     0 kernel patches · stock driver   └───────────┘

02 Driver Profiles: Minimal (575/580) vs. Force (595.x+) vs. Static BAR1

Community silicon reports on kacper-daftcode/rtx-p2p established three clean profiles covering consumer Blackwell SKUs across drivers 575.x through 610.x:

Profile Registry Keys (NVreg_RegistryDwords) When to Use
minimal RMDisableFeatureDisablement=1; RMEnablePcieP2P=1 RTX 5090 on 575.x / 580.x / 590.x with direct PCIe switch / PHB topology.
force (--595) RMDisableFeatureDisablement=1; RMEnablePcieP2P=1; RMForceP2PType=1; RMPcieP2PType=1; ForceP2P=0x11 Driver 595.x+, CNS chipsets, dual-socket NODE/SYS, or UEFI ReBAR-off hosts. Verified on 8× RTX 5090 (595.99.02) at 112.5 / 112.4 GB/s D2D even with 256 MiB BAR1.
rtx5060 force keys + RMForceStaticBar1=1 Dual RTX 5060 Ti (GB206, verified on 610.43.03) and dual RTX 5080 (GB203, headless at boot).

03 Reversible Setup & Verification

# Clone rtx-p2p and enable the 595.x force profile (backs up existing modprobe.d config)
git clone https://github.com/kacper-daftcode/rtx-p2p.git && cd rtx-p2p
sudo ./scripts/enable-p2p.sh --force --dry-run   # preview first
sudo ./scripts/enable-p2p.sh --force             # apply (or --rtx5060 for 5060 Ti / 5080)

# Verify topology, BAR1, IOMMU/ACS flags, and cudaDeviceCanAccessPeer
./scripts/verify-p2p.sh
python3 scripts/p2p-bandwidth.py --verify        # per-pair P2P vs HOST-STAGED GB/s
NCCL & vLLM Multi-GPU Checklist

If nvidia-smi topo -p2p r shows OK on reads/writes and NS on atomics (normal for consumer PCIe P2P), pass --disable-custom-all-reduce in vLLM and set NCCL_P2P_LEVEL=SYS (with iommu=pt and PCIe ACS disabled in BIOS or via setpci for root-complex topologies).

← #003 25.36 gh/s rtx 5090 #001 mercury 949 ptxas knobs →