Is Network the Bottleneck of Distributed Training?

Zhen Zhang, Chaokun Chang, Haibin Lin, Yida Wang, Raman Arora +1 more
6/17/2020
cs.DCcs.LG

Official code: netx-repo/training-bottleneck (20 stars, Python, Apache-2.0, last commit 2020-10-20).

Abstract

Recently there has been a surge of research on improving the communication efficiency of distributed training. However, little work has been done to systematically understand whether the network is the bottleneck and to what extent.

Show full abstract

In this paper, we take a first-principles approach to measure and analyze the network performance of distributed training. As expected, our measurement confirms that communication is the component that blocks distributed training from linear scale-out. However, contrary to the common belief, we find that the network is running at low utilization and that if the network can be fully utilized, distributed training can achieve a scaling factor of close to one. Moreover, while many recent proposals on gradient compression advocate over 100x compression ratio, we show that under full network utilization, there is no need for gradient compression in 100 Gbps network. On the other hand, a lower speed network like 10 Gbps requires only 2x--5x gradients compression ratio to achieve almost linear scale-out. Compared to application-level techniques like gradient compression, network-level optimizations do not require changes to applications and do not hurt the performance of trained models. As such, we advocate that the real challenge of distributed training is for the network community to develop high-performance network transport to fully utilize the network capacity and achieve linear scale-out.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Analyze network performance in distributed training

209Python, C++Jun 4, 20206 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhang2020network,
  title  = {Is Network the Bottleneck of Distributed Training?},
  author = {Zhen Zhang and Chaokun Chang and Haibin Lin and Yida Wang and Raman Arora and Xin Jin},
  year   = {2020},
  eprint = {2006.10103},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.10103}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2006.10103.svg)](https://codeofpaper.com/paper/2006.10103)

Discussion