Optimized Broadcast for Deep Learning Workloads on Dense-GPU InfiniBand Clusters: MPI or NCCL?

By Ammar Ahmad Awan, Ching-Hsiang Chu, Hari Subramoni, Dhabaleswar K. D. K. Panda. 2017

51 citations recorded by the source corpus.

Traditionally, MPI runtimes have been designed for clusters with a large number of nodes. However, with the advent of MPI+CUDA applications and dense multi-GPU systems, it has become important to design efficient communication schemes. This coupled with new application workloads brought forward by Deep Learning frameworks like Caffe and Microsoft CNTK pose additional design constraints due to very large message communication of GPU buffers during the training phase. In this context, special-purpose libraries like NCCL have been proposed. In this paper, we propose a pipelined chain (ring) design for the MPI_Bcast collective operation along with an enhanced collective tuning framework in MVAPICH2-GDR that enables efficient intra-/internode multi-GPU communication. We present an in-depth performance landscape for the proposed MPI_Bcast schemes along with a comparative analysis of NCCL Broadcast and NCCL-based MPI_Bcast. The proposed designs for MVAPICH2-GDR enable up to 14X and 16.6X improvement, compared to NCCL-based solutions, for intra- and internode broadcast latency, respectively. In addition, the proposed designs provide up to 7% improvement over NCCL-based solutions for data parallel training of the VGG network on 128 GPUs using Microsoft CNTK. The proposed solutions outperform the recently introduced NCCL2 library for small and medium message sizes and offer comparable/better performance for very large message sizes.

Subfields: Computer Networks and Communications, Electrical and Electronic Engineering, Hardware and Architecture

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Computer Networks and Communications

  1. Sai Praneeth Karimireddy
  2. Ji Liu
  3. Martin Jaggi
  4. Thijs Vogels
  5. Chuanxiong Guo
  6. Dejing Dou
  7. Yibo Zhu
  8. Sebastian U. Stich

In Electrical and Electronic Engineering

  1. Chuanxiong Guo
  2. Dejing Dou
  3. Haoyi Xiong
  4. Martin Jaggi
  5. Ji Liu
  6. Sai Praneeth Karimireddy
  7. Dan Alistarh
  8. Elias Frantar

In Hardware and Architecture

  1. Chuanxiong Guo
  2. Martin Jaggi
  3. Ji Liu
  4. Jiajia Li

Citations in the corpus