Skip to main content
QUICK REVIEW

[Paper Review] Blink: Fast and Generic Collectives for Distributed ML

Guanhua Wang, Shivaram Venkataraman|arXiv (Cornell University)|Oct 11, 2019
Stochastic Gradient Optimization TechniquesComputer Science20 citations
TL;DR

Blink is a high-performance, topology-aware collective communication library for distributed machine learning that dynamically generates optimal communication primitives using spanning tree packing to maximize link utilization across heterogeneous GPU interconnects (e.g., NVLink and PCIe). It achieves up to 8× faster model synchronization and reduces end-to-end training time by up to 40% compared to NCCL, especially in heterogeneous or partially allocated GPU environments.

ABSTRACT

Model parameter synchronization across GPUs introduces high overheads for data-parallel training at scale. Existing parameter synchronization protocols cannot effectively leverage available network resources in the face of ever increasing hardware heterogeneity. To address this, we propose Blink, a collective communication library that dynamically generates optimal communication primitives by packing spanning trees. We propose techniques to minimize the number of trees generated and extend Blink to leverage heterogeneous communication channels for faster data transfers. Evaluations show that compared to the state-of-the-art (NCCL), Blink can achieve up to 8x faster model synchronization, and reduce end-to-end training time for image classification tasks by up to 40%.

Motivation & Objective

  • Address the growing communication bottleneck in large-scale data-parallel DNN training due to hardware heterogeneity and partial GPU allocations.
  • Overcome limitations of ring-based protocols like NCCL, which underutilize high-bandwidth links (e.g., NVLink) due to reliance on the slowest link in the ring.
  • Enable optimal utilization of heterogeneous interconnects (NVLink, PCIe) in multi-GPU servers and dynamic cluster scheduling environments.
  • Design a generic, scalable, and adaptive communication library that works across diverse topologies without requiring prior topology knowledge.
  • Minimize end-to-end training time by maximizing link utilization and reducing synchronization overhead in distributed deep learning workloads.

Proposed method

  • Dynamically generate communication primitives by packing spanning trees to maximize link utilization across heterogeneous GPU interconnects (NVLink and PCIe).
  • Use a tree-packing algorithm that minimizes the number of spanning trees while ensuring full connectivity and load balancing across all GPUs.
  • Model the communication network as a weighted graph, where edge weights represent bandwidth, and apply an optimization to select trees that maximize aggregate throughput.
  • Extend the framework to support heterogeneous channels by assigning higher-priority communication paths to faster links (e.g., NVLink over PCIe).
  • Support both intra-node and inter-node communication, with automatic adaptation to varying network topologies and partial GPU allocations.
  • Integrate with existing deep learning frameworks via a lightweight API, enabling transparent acceleration of collective operations like AllReduce and Broadcast.

Experimental results

Research questions

  • RQ1Can a communication library dynamically generate optimal communication patterns that fully utilize heterogeneous GPU interconnects (e.g., NVLink and PCIe) in real-time?
  • RQ2How does Blink’s spanning tree packing approach compare to ring-based protocols like NCCL in terms of end-to-end training speed and link utilization?
  • RQ3To what extent can Blink reduce synchronization overhead in partially allocated GPU clusters where topology heterogeneity is common?
  • RQ4How does Blink scale across multi-node DGX systems with varying inter-machine bandwidth?
  • RQ5Can Blink maintain high performance across diverse hardware generations (e.g., DGX-1P vs. DGX-1V) without requiring manual tuning?

Key findings

  • Blink achieves up to 8× faster model synchronization compared to NCCL in multi-GPU, heterogeneous environments.
  • In image classification training workloads, Blink reduces end-to-end training time by up to 40% compared to NCCL.
  • Blink achieves near-optimal link utilization by dynamically packing spanning trees, avoiding the bandwidth bottleneck of ring-based protocols.
  • Even when ring-based protocols are forced to use slower links (e.g., PCIe), Blink maintains high throughput by prioritizing faster links like NVLink.
  • In multi-DGX-1 configurations, Blink scales effectively with increasing inter-machine bandwidth, outperforming NCCL which is limited by intra-node PCIe throughput.
  • Blink’s performance advantage becomes more pronounced as inter-machine bandwidth increases, indicating strong potential for future high-bandwidth clusters.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.