计算机科学 > 分布式、并行与集群计算
[提交于 2026年11月29日]
标题:Performance Analysis of Distributed Training with Ring AllReduce
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Distributed machine learning reduces training time by spreading computations across many workers. Recent measurement studies of distributed training have reported that synchronization and communication overheads leave GPUs substantially underutilized. In this paper, we study the randomness arising from variations in computation, communication, and synchronization as a root cause of worker idle times in distributed training. Our analysis considers Ring AllReduce, a widely used bandwidth-optimal collective communication algorithm. We represent Ring AllReduce as a Stochastic Petri Net (SPN) with exponentially distributed delays. The SPN induces a continuous-time (absorbing) Markov chain with a state space that grows exponentially in the number of workers. Observing that the fraction of idle workers quickly settles to a stable value, we compute the long-run probability that a worker is idle without enumerating the state space. For homogeneous workers, we show that the idle probability of workers converges to 50%. We extend our analysis to settings with less randomness, where delays have both deterministic and random components, and to systems with stragglers. To characterize the fluctuations of completion times beyond their mean, we couple our SPN model to a special case of the totally asymmetric simple exclusion process (TASEP). Exact asymptotic results for TASEP yield the distribution of completion times, showing that performance metrics of Ring AllReduce scale differently than suggested by the central limit theorem.
提交历史
来自:Jorg Liebeherr[v1] 2026年11月29日 星期日 00:24:16 UTC (786 KB)