arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.02061cs.DC
收藏

分布式机器学习系统的性能分析与比较

Performance Analysis and Comparison of Distributed Machine Learning Systems

Salem Alqahtani, Murat Demirbas

摘要:

近年来,深度学习已经渗透到计算/处理系统的许多方面。虽然采用分布式训练架构/框架来快速训练大型深度学习模型,但尚未系统地研究这些架构的通信瓶颈及其对计算周期时间和可扩展性的影响。为了分析深度学习模型的同步随机梯度下降(SGD)训练的这个问题,我们开发了三种不同系统架构下的计算时间和通信延迟的性能模型:参数服务器(PS),点对点(P2P)和环所有减少(RA)。为了用定量结果补充和证实我们的分析模型,我们通过使用Tensorflow和Horovod框架进行的实验评估了这些系统架构的计算和通信性能。我们发现系统架构对训练的表现有非常显著的影响。基于RA的系统实现了可扩展的性能,因为它们成功地将网络使用与系统中的工人数量解耦。相比之下,1 PS系统由于参数服务器侧的网络拥塞而遭受低性能。虽然P2P系统比1 PS系统更好,但它们仍然遭受严重的网络瓶颈。最后,RA系统还因计算时间和通信时间重叠而表现出色,这是PS和P2P架构无法实现的。

英文摘要:

Deep learning has permeated through many aspects of computing/processing systems in recent years. While distributed training architectures/frameworks are adopted for training large deep learning models quickly, there has not been a systematic study of the communication bottlenecks of these architectures and their effects on the computation cycle time and scalability. In order to analyze this problem for synchronous Stochastic Gradient Descent (SGD) training of deep learning models, we developed a performance model of computation time and communication latency under three different system architectures: Parameter Server (PS), peer-to-peer (P2P), and Ring allreduce (RA). To complement and corroborate our analytical models with quantitative results, we evaluated the computation and communication performance of these system architectures of the systems via experiments performed with Tensorflow and Horovod frameworks. We found that the system architecture has a very significant effect on the performance of training. RA-based systems achieve scalable performance as they successfully decouple network usage from the number of workers in the system. In contrast, 1PS systems suffer from low performance due to network congestion at the parameter server side. While P2P systems fare better than 1PS systems, they still suffer from significant network bottleneck. Finally, RA systems also excel by virtue of overlapping computation time and communication time, which PS and P2P architectures fail to achieve.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑