<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>GPUDirect - 标签 - 集合通信博客</title><link>https://hccl.club/tags/gpudirect/</link><description>GPUDirect - 标签 - 集合通信博客</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><lastBuildDate>Sat, 05 Dec 2026 22:00:00 +0800</lastBuildDate><atom:link href="https://hccl.club/tags/gpudirect/" rel="self" type="application/rss+xml"/><item><title>GPUDirect RDMA</title><link>https://hccl.club/docs/hardware/gpudirect-rdma/</link><pubDate>Wed, 04 Nov 2026 13:00:00 +0800</pubDate><author><name>Innoecho</name></author><guid>https://hccl.club/docs/hardware/gpudirect-rdma/</guid><description><![CDATA[<p>上一章讲的 RDMA 解决了&quot;主机内存之间的零拷贝传输&quot;，但集合通信真正要搬运的数据在 GPU 显存里。如果网卡只能访问主机内存，那么每一次跨节点 AllReduce 的每一小步，数据都得在显存与主机内存之间来回倒腾。</p>
<p>GPUDirect RDMA 是 NVIDIA 提出的一组技术，允许网卡等第三方设备直接对 GPU 显存做 DMA，把这条来回倒腾的路彻底打通。它是 NCCL 跨节点通信高性能的硬件前提之一。</p>]]></description></item><item><title>从 Native 到 GIN：主机侧网卡上 GPU 通信的四次进化</title><link>https://hccl.club/posts/native-gdr-gda-gin/</link><pubDate>Sat, 05 Dec 2026 22:00:00 +0800</pubDate><author><name>Innoecho</name></author><guid>https://hccl.club/posts/native-gdr-gda-gin/</guid><description><![CDATA[<div class="gin-post">

<p>跨节点集合通信的网卡是「主机侧」的：ConnectX 这类 RDMA 网卡通过 PCIe 挂在 CPU 根复合体下，而真正要搬的数据在 GPU 显存里。网卡与显存之间隔着 PCIe 与 CPU，这张「位置不对」的网卡催生了 NVIDIA 的四次架构级优化：</p>

<ul>
  <li><strong>Native</strong>：分段拷贝——数据先落主机内存再上网，CPU 全程经手；</li>
  <li><strong>GDR</strong>（GPUDirect RDMA）：网卡直达显存，数据路径打通，但控制仍归 CPU；</li>
  <li><strong>GDA</strong>（GPUDirect Async）：GPU kernel 发起通信、设备侧等待完成，CPU 退出逐操作循环；</li>
  <li><strong>GIN</strong>（GPU-Initiated Networking，NCCL 文档与源码中也写作 Gin）：GPU 线程现场构造 WQE、直接敲网卡门铃，连「提交」也归 GPU。</li>
</ul>]]></description></item></channel></rss>