<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>分层通信 - 标签 - 集合通信博客</title><link>https://hccl.club/tags/%E5%88%86%E5%B1%82%E9%80%9A%E4%BF%A1/</link><description>分层通信 - 标签 - 集合通信博客</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><lastBuildDate>Tue, 03 Nov 2026 11:30:00 +0800</lastBuildDate><atom:link href="https://hccl.club/tags/%E5%88%86%E5%B1%82%E9%80%9A%E4%BF%A1/" rel="self" type="application/rss+xml"/><item><title>拓扑感知与分层算法</title><link>https://hccl.club/docs/algorithms/topology-aware-algorithms/</link><pubDate>Tue, 03 Nov 2026 11:30:00 +0800</pubDate><author><name>Innoecho</name></author><guid>https://hccl.club/docs/algorithms/topology-aware-algorithms/</guid><description><![CDATA[<p>前几篇的复杂度推导都建立在同一个假设上：网络是同构的，任意两点之间带宽相同、时延相同。真实集群恰恰相反——节点内 NVLink 比节点间网卡快一个数量级，PCIe 又与两者都不同。把为同构网络设计的算法原样搬到异构拓扑上，理论最优会瞬间失效。</p>
<p>本文讨论让算法&quot;长在拓扑上&quot;的一族技术：层次化（Hierarchical）两级通信、2D Mesh/Torus 的行列分解、rail 优化的多网卡并行，以及 ring 摆放（ring placement）对多机多卡吞吐的影响，最后看 NCCL 如何探测拓扑并自动选路。</p>]]></description></item></channel></rss>