Skip to main content
QUICK REVIEW

[Paper Review] MGG: Accelerating Graph Neural Networks with Fine-grained intra-kernel Communication-Computation Pipelining on Multi-GPU Platforms

Yuke Wang, Boyuan Feng|arXiv (Cornell University)|Sep 14, 2022
Advanced Graph Neural NetworksComputer Science7 citations
TL;DR

MGG proposes a fine-grained intra-kernel communication-computation pipelining system for multi-GPU graph neural networks (GNNs), leveraging GNN-tailored pipeline construction and GPU-aware mapping to overlap communication and computation. It achieves up to 10.83× speedup over state-of-the-art systems like ROC, significantly accelerating full-graph GNN inference by dynamically optimizing pipeline configuration and reducing inter-GPU communication bottlenecks.

ABSTRACT

The increasing size of input graphs for graph neural networks (GNNs) highlights the demand for using multi-GPU platforms. However, existing multi-GPU GNN systems optimize the computation and communication individually based on the conventional practice of scaling dense DNNs. For irregularly sparse and fine-grained GNN workloads, such solutions miss the opportunity to jointly schedule/optimize the computation and communication operations for high-performance delivery. To this end, we propose MGG, a novel system design to accelerate full-graph GNNs on multi-GPU platforms. The core of MGG is its novel dynamic software pipeline to facilitate fine-grained computation-communication overlapping within a GPU kernel. Specifically, MGG introduces GNN-tailored pipeline construction and GPU-aware pipeline mapping to facilitate workload balancing and operation overlapping. MGG also incorporates an intelligent runtime design with analytical modeling and optimization heuristics to dynamically improve the execution performance. Extensive evaluation reveals that MGG outperforms state-of-the-art full-graph GNN systems across various settings: on average 4.41X, 4.81X, and 10.83X faster than DGL, MGG-UVM, and ROC, respectively.

Motivation & Objective

  • To address the performance bottleneck in multi-GPU GNNs caused by irregular, sparse, and fine-grained inter-GPU communication.
  • To overcome the limitations of existing systems that optimize computation and communication separately, missing opportunities for joint scheduling.
  • To enable high-performance GNN execution by dynamically overlapping communication and computation within GPU kernels.
  • To design a system that adapts to diverse GNN workloads and GPU hardware configurations through intelligent runtime optimization.
  • To generalize the approach to other deep learning workloads beyond GNNs by leveraging efficient, low-overhead communication primitives.

Proposed method

  • MGG introduces a dynamic software pipeline that enables fine-grained overlapping of communication and computation within a single GPU kernel.
  • It employs GNN-tailored pipeline construction to decompose coarse-grained GNN operations into fine-grained, overlapping stages based on data access patterns.
  • The system uses GPU-aware pipeline mapping to select optimal thread, warp, and block configurations for maximizing GPU occupancy and minimizing latency.
  • It integrates NVSHMEM-based communication primitives to support low-latency, fine-grained remote memory access across GPUs.
  • An intelligent runtime engine uses analytical modeling and optimization heuristics to dynamically tune pipeline parameters such as interleaving distance and warp-to-block mapping.
  • The system supports multiple graph partitioning strategies—including locality-driven, workload-driven, and learning-based partitioning—by adapting to varying communication and workload patterns.

Experimental results

Research questions

  • RQ1How can fine-grained intra-kernel pipelining be effectively structured to overlap communication and computation in irregular, sparse GNN workloads?
  • RQ2What are the optimal pipeline configurations and GPU mapping strategies that maximize performance on multi-GPU platforms for GNNs?
  • RQ3How can the system dynamically adapt to varying graph structures and hardware configurations to maintain high performance?
  • RQ4To what extent can communication overhead be reduced through intelligent runtime tuning of pipeline parameters?
  • RQ5Can the proposed pipelining approach be generalized to other deep learning workloads beyond GNNs?

Key findings

  • MGG achieves an average speedup of 4.41× over DGL, 4.81× over MGG-UVM, and 10.83× over ROC across various GNN workloads.
  • On the Criteo Kaggle dataset, MGG reduces embedding lookup time in DLRM from 315.27ms to 119.66ms, a 2.64× improvement.
  • The system effectively reduces redundant inter-GPU traffic by leveraging GPU-initiated, fine-grained remote memory access instead of relying on NCCL.
  • Runtime optimization through analytical modeling enables dynamic adaptation to workload and hardware characteristics, improving pipeline efficiency.
  • The approach generalizes well to other DL workloads, as demonstrated by successful integration into DLRM with significant performance gains.
  • The use of NVSHMEM primitives enables low-latency, scalable communication that supports efficient pipelining across multiple GPUs.

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.