Microsoft announced a developer preview of RDMA over USB4 on Windows 11, introducing a breakthrough architecture for consumer and edge artificial intelligence inference. By implementing Remote Direct Memory Access (RDMA) primitives directly across standard USB4 and Thunderbolt interconnect cables, the software provider bypasses traditional operating system networking stacks. This allows developers to link multiple consumer desktop PCs or compact mini PCs into a low-latency, unified memory cluster capable of running 100-billion to 200-billion parameter open-weights models locally without expensive enterprise server hardware.
For local machine learning practitioners, home-lab builders, and software engineers, running massive open models like Qwen 235B or deep Mixture-of-Experts architectures has historically encountered a rigid hardware barrier: consumer graphics cards lack the onboard VRAM to store large model weights, while enterprise servers with InfiniBand or RoCE networking adapters cost tens of thousands of dollars. RDMA over USB4 bridges this divide by turning inexpensive, high-bandwidth USB4 host ports into an enterprise-grade distributed memory bus.
The VRAM Wall on Consumer Desktops
In local artificial intelligence inference, memory capacity determines whether a foundation model can load, while memory bandwidth and interconnect latency determine generation speed. A quantized 70-billion parameter model fits comfortably within 48 gigabytes of video memory, reachable with dual enthusiast graphics cards or high-tier unified memory laptops. However, frontier open-weights models and specialized reasoning systems ranging from 120 billion to 235 billion parameters require between 80 and 160 gigabytes of memory even after four-bit quantization.
Until now, users wishing to pool multiple separate desktop machines faced severe network penalties. Standard Gigabit or 10-Gigabit Ethernet connections carry significant TCP/IP protocol overhead, packet fragmentation, and operating system context-switching delays.
Even previous host-to-host implementations over USB4, which used Ethernet-over-USB emulation via UDP packet encapsulation, suffered from round-trip latencies between 116 and 194 microseconds. In distributed tensor parallelism, where layers of a neural network split calculations across multiple machines and exchange intermediate hidden state vectors after every attention layer, high latency stalls tensor operations and drops token generation speeds down to unreadable crawls.
How RDMA over USB4 Works
Remote Direct Memory Access solves the network latency bottleneck by allowing the network interface of one computer to directly access the system memory of another computer without involving the operating system kernel or CPU on either side. Historically, this capability required specialized Network Interface Cards (NICs) supporting InfiniBand or RoCE (RDMA over Converged Ethernet).
Microsoft’s new software provider, released under the Windows USB and NetworkDirect kernel architecture, maps RDMA verbs directly onto the native DMA (Direct Memory Access) rings of the USB4 host router.
+-----------------------------------------------------------------------+
| Application Layer (llama.cpp) |
+-----------------------------------------------------------------------+
|
v
+-----------------------------------------------------------------------+
| Windows NetworkDirect API (SPI v2) |
+-----------------------------------------------------------------------+
|
v
+-----------------------------------------------------------------------+
| USB4 RDMA Software Provider (windows-usb4-rdma) |
+-----------------------------------------------------------------------+
| (Zero-Copy DMA Ring Mapping)
v
+-----------------------------------------------------------------------+
| Hardware USB4 / Thunderbolt Host |
+-----------------------------------------------------------------------+
|
[ Standard USB4 Type-C Interconnect Cable ]
|
v
+-----------------------------------------------------------------------+
| Target PC System Memory / GPU VRAM |
+-----------------------------------------------------------------------+
By leveraging Windows’ NetworkDirect service provider interface (SPI v2), existing distributed applications require zero USB4-specific networking code. Standard message-passing frameworks and inference engines simply call established NetworkDirect APIs.
The USB4 provider translates memory write and read requests directly into host-to-host tunnel packets over the USB4 transport layer, eliminating intermediate buffer copying, kernel interrupts, and network stack parsing.
The Latency Breakthrough: 28 to 50 Microseconds
The performance gain delivered by eliminating packet protocol overhead is dramatic. In official benchmarks conducted across 40 Gbps USB4 links and 80 Gbps USB4 v2 / Thunderbolt 5 connections, small-message round-trip latencies dropped to between 28 and 50 microseconds. This represents a fourfold latency reduction compared to UDP-based Ethernet emulation across identical physical cables.
| Interconnect Method | Physical Medium | Protocol Stack | Typical Round-Trip Latency | Relative Overhead | Multi-Node Scaling Feasibility |
|---|---|---|---|---|---|
| Gigabit Ethernet | Cat6 Copper Cable | Kernel TCP/IP Sockets | 800 - 1,500 microseconds | Extremely High | Pipeline parallelism only (slow) |
| 10GbE Network Adapter | SFP+ Optical / DAC | User-Space TCP/UDP | 180 - 350 microseconds | Moderate | High latency penalty on tensor steps |
| Ethernet over USB4 | USB4 Type-C Cable | Emulated Virtual UDP NIC | 116 - 194 microseconds | Significant | Noticeable stutter during hidden state sync |
| RDMA over USB4 (40 Gbps) | Certified USB4 Cable | Direct Host DMA Rings | 28 - 50 microseconds | Minimal | High-efficiency tensor parallelism |
| RDMA over USB4 (80 Gbps) | Thunderbolt 5 Cable | Direct Host DMA Rings | 24 - 38 microseconds | Negligible | Near-native local cluster scaling |
This ultra-low round-trip latency transforms multi-node inference. Because tensor parallelism requires frequent, low-payload synchronization barriers between matrix multiplications, maintaining sub-50-microsecond round-trip times prevents accelerator cores from idling while waiting for adjacent worker nodes.
Benchmarks and Cluster Topologies
Microsoft collaborated with hardware partners to demonstrate real-world throughput across compact consumer PC clusters running a specialized fork of llama.cpp adapted for NetworkDirect (microsoft/llama.cpp-nd-usb4).
In one flagship demonstration, a cluster of three mini PCs powered by AMD Ryzen AI Max processors (each equipped with 128 gigabytes of unified memory, providing 384 gigabytes of cluster memory) was networked via standard 40 Gbps USB4 cables. The cluster loaded the massive Qwen3-235B-A22B foundation model quantized to 4-bit precision. Under distributed tensor parallelism, the three-node setup generated responses at sustained speeds between 18.5 and 21.98 tokens per second, transforming what would have been an unrunnable model on consumer hardware into an interactive workstation tool.
Similarly, testing on clusters of three and four Intel Core Ultra Series 3 systems running over 80 Gbps Thunderbolt links demonstrated generation speeds of 49 tokens per second (three nodes) and 54 tokens per second (four nodes) when serving a 120-billion parameter foundation model across a 1,000-token context window.
For optimal performance, Microsoft strongly recommends a direct point-to-point mesh cabling topology. In a three-node cluster, each PC connects directly to the other two machines via independent USB4 ports (requiring N - 1 ports per node). While daisy-chaining nodes through shared hubs is technically possible, routing traffic through intermediary host controllers increases latency and reintroduces serialization delays.
Hardware Requirements and Implementation Caveats
Because RDMA allows direct memory reading and writing across external cables, Microsoft implemented strict security and system validation gates. Users planning to test this developer preview on Windows 11 systems must account for several prerequisites and technical constraints:
First, systems must possess Windows-managed USB4 host controllers with Kernel DMA Protection enabled in system BIOS. This security feature prevents rogue peripheral devices from executing unauthorized memory injections.
Second, the current preview requires Windows 11 Insider Preview builds deployed via the Experimental Channel (Future Platforms). Testers must manually enable the feature flag by setting EnableInterDomainRdma to 1 in the system registry under HKLM\SYSTEM\CurrentControlSet\Services\Usb4HostRouter\Parameters.
Third, early preview builds require enabling test signing (bcdedit /set testsigning on) and temporarily disabling Secure Boot in firmware to load the unsigned prototype NetworkDirect driver. Furthermore, the early preview does not feature automated reconnect logic; if a cable is disconnected during active tensor transfers, the inference process terminates immediately rather than gracefully degrading.
Despite these preview-stage limitations, RDMA over USB4 establishes an entirely new category of decentralized AI computing. By providing enterprise-grade DMA throughput over consumer cables, it democratizes frontier model experimentation for developers and independent research teams worldwide.