技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
rdma_rocev2_hardware_datapath【数据与研究】Hardware meta-skill analyzing RDMA & RoCEv2 datapath for zero-copy GPU-to-GPU interconnects over converged ethernet fabrics.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Remote Direct Memory Access (RDMA) over Converged Ethernet v2 (RoCEv2) is the foundational interconnect protocol for exascale distributed training. It bypasses the traditional TCP/IP kernel stack, eliminating context switches, CPU interrupts, and intermediate buffer copies.
At the silicon level, RoCEv2 encapsulates InfiniBand (IB) transport headers within UDP/IP/Ethernet frames. The network interface card (NIC) hardware implements the entire transport layer. When a GPU initiates a memory write to a remote node, the memory controller (via PCIe or NVLink/NVSwitch) interacts directly with the NIC DMA engine.
%%{init: {"theme": "default", "flowchart": {"useMaxWidth": true}}}%%
flowchart TD
subgraph NodeASenderNodeNodeASenderNode ["Node_A['Sender Node<br><br><br>"]
direction TB
GPU_A["GPU HBM (Source Buffer)"]
PCIe_A["PCIe Switch"]
NIC_A["RNIC (RoCEv2 Hardware)"]
GPU_A -->|PCIe DMA Read| PCIe_A
PCIe_A -->|Payload| NIC_A
NIC_A -->|WQE Polling| Doorbell_A["Doorbell Register"]
end
subgraph FabricSpineLeafEthernetFabricFabricSpineLeafEthernetFabric ["Fabric['Spine-Leaf Ethernet Fabric<br><br><br>"]
direction TB
ToR_A["ToR Switch (PFC/ECN)"]
Spine["Spine Switch"]
ToR_B["ToR Switch (PFC/ECN)"]
ToR_A --> Spine
Spine --> ToR_B
end
subgraph NodeBReceiverNodeNodeBReceiverNode ["Node_B['Receiver Node<br><br><br>"]
direction TB
NIC_B["RNIC (RoCEv2 Hardware)"]
PCIe_B["PCIe Switch"]
GPU_B["GPU HBM (Dest Buffer)"]
NIC_B -->|PCIe DMA Write| PCIe_B
PCIe_B -->|Direct Memory Access| GPU_B
end
NIC_A -->|UDP/IP Encapsulation| ToR_A
ToR_B -->|UDP/IP Decapsulation| NIC_B