实测发现网络和硬件拓扑是分布式训练性能瓶颈的关键
When Scaling Fails: Network and Fabric Effects on Distributed GPU Training Performance
- 分析多集群实测数据,揭示网络拓扑与通信模式的影响
- 相同模型在不同硬件下表现差异可达数倍,主因是通信调度
- 提出可操作诊断方法,帮助识别隐藏的系统级性能问题
分布式GPU训练常被假设为可预测地提升性能,但实际中许多大规模部署在达到理论极限前就出现收益递减和行为不稳定。本文通过跨多个生产级集群的实测研究,揭示了网络拓扑、拥塞动态、集体同步行为和GPU本地性等因素在节点数超过一定规模后对端到端训练性能的主导作用。相同模型与软件栈在不同硬件设计下表现出显著不同的扩展特性。我们识别出从单节点转向多节点执行时出现的典型失败模式,包括同步放大、拓扑引发的竞争以及本地性导致的性能波动。这些效应通常无法被标准性能分析工具捕捉,常被误判为框架或模型层面的低效。基于此,我们提出了系统构建者可应用的实用诊断原则,以理解扩展极限、提升预测性并降低大规模分布式训练成本。
原文摘要 · Abstract (English)
Scaling distributed GPU training is commonly assumed to yield predictable performance gains as additional nodes are added. In practice, many large-scale deployments encounter diminishing returns and unstable behavior well before theoretical limits are reached. This paper examines why scaling fails in real systems, with a focus on the role of network and fabric effects that are often overlooked by higher-level training frameworks. We present an empirical study of distributed GPU training performance across multiple production-scale clusters. Our results show that network topology, congestion dynamics, collective synchronization behavior, and GPU locality frequently dominate end-to-end training performance once workloads move beyond a small number of nodes. Identical models and software stacks can exhibit sharply different scaling characteristics depending on fabric design and runtime communication patterns. We identify recurring failure modes that emerge as training transitions from single-node to multi-node execution, including synchronization amplification, topology-induced contention, and locality-driven performance variance. These effects are often invisible to standard profiling tools and are therefore misdiagnosed as framework or model-level inefficiencies. Based on these findings, we outline practical diagnostic principles that system builders can apply to understand scaling limits, improve predictability, and reduce the cost of large-scale distributed training.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。