Skip to main content
QUICK REVIEW

[Paper Review] SIMD-X: Programming and Processing of Graph Algorithms on GPUs

Hang Liu, H. Howie Huang|arXiv (Cornell University)|Dec 10, 2018
Graph Theory and AlgorithmsComputer Science15 citations
TL;DR

This paper proposes simd-x, a GPU framework that enables high-performance execution of irregular graph algorithms by decoupling programming simplicity from system-level optimizations. It introduces the Active-Compute-Combine (ACC) model for intuitive programming, just-in-time task management with adaptive filtering for workload balancing, and deadlock-free push-pull kernel fusion to reduce kernel launches and memory traffic, achieving up to 24× speedup over state-of-the-art frameworks like Ligra.

ABSTRACT

With high computation power and memory bandwidth, graphics processing units (GPUs) lend themselves to accelerate data-intensive analytics, especially when such applications fit the single instruction multiple data (SIMD) model. However, graph algorithms such as breadth-first search and k-core, often fail to take full advantage of GPUs, due to irregularity in memory access and control flow. To address this challenge, we have developed SIMD-X, for programming and processing of single instruction multiple, complex, data on GPUs. Specifically, the new Active-Compute-Combine (ACC) model not only provides ease of programming to programmers, but more importantly creates opportunities for system-level optimizations. To this end, SIMD-X utilizes just-in-time task management which filters out inactive vertices at runtime and intelligently maps various tasks to different amount of GPU cores in pursuit of workload balancing. In addition, SIMD-X leverages push-pull based kernel fusion that, with the help of a new deadlock-free global barrier, reduces a large number of computation kernels to very few. Using SIMD-X, a user can program a graph algorithm in tens of lines of code, while achieving 3?, 6?, 24?, 3? speedup over Gunrock, Galois, CuSha, and Ligra, respectively.

Motivation & Objective

  • To address the performance bottleneck of irregular graph algorithms on GPUs due to irregular memory access and control flow.
  • To simplify GPU programming for graph workloads without requiring low-level GPU architecture knowledge.
  • To enable system-level optimizations such as workload balancing and kernel fusion at runtime.
  • To resolve deadlock issues in global software barriers during kernel fusion in GPU graph processing.
  • To achieve high performance across diverse graph algorithms and GPU architectures with minimal code.

Proposed method

  • The Active-Compute-Combine (ACC) model abstracts graph algorithms into three data-parallel functions: vertex activation condition, edge computation, and state combination, enabling high-level, intuitive programming.
  • Just-in-time (JIT) task management dynamically selects between online and ballot filters based on workload size to minimize memory consumption and balance work across GPU cores.
  • A novel deadlock-free global barrier mechanism enables safe fusion of push and pull phases across kernel boundaries, eliminating synchronization hazards.
  • Push-pull based kernel fusion reduces the number of kernel launches and global memory traffic by fusing adjacent kernels while minimizing register usage and thread block relaunches.
  • The framework supports dynamic thread count configuration per hardware, maximizing occupancy and performance on different GPUs like K20, K40, and P100.
  • The system decouples programming abstraction from low-level optimization, allowing users to write graph algorithms in tens of lines of code while achieving high performance.

Experimental results

Research questions

  • RQ1How can a high-level programming model be designed to simplify GPU implementation of irregular graph algorithms without sacrificing performance?
  • RQ2What runtime task management strategy can effectively balance workloads across GPU cores while minimizing memory overhead for irregular graph workloads?
  • RQ3How can kernel fusion be safely applied across global barriers in GPU graph processing to reduce launch overhead and memory traffic?
  • RQ4What is the impact of adaptive filtering (online vs. ballot) on active vertex list construction and overall performance?
  • RQ5To what extent can system-level optimizations like kernel fusion and dynamic thread configuration improve performance across diverse graph algorithms and GPU architectures?

Key findings

  • simd-x achieves up to 3× speedup over Gunrock, 6× over Galois, 24× over CuSha, and 3× over Ligra on various graph algorithms and datasets.
  • The JIT task management component delivers an average 16× performance improvement over baseline systems by reducing memory consumption and improving memory access patterns.
  • Kernel fusion reduces register consumption by 50% compared to non-fused kernels, enabling double the configurable thread count and resulting in 42% performance gain over non-fused and 25% over aggressive fusion approaches.
  • simd-x achieves 5.1× speedup on P100 and 1.7× on K40 over K20, outperforming Gunrock and CuSha, which see only 1.7× and 3.5× improvements, respectively, due to dynamic thread configuration.
  • The framework supports writing graph algorithms in tens of lines of code, significantly reducing the complexity compared to systems requiring thousands of lines of CUDA code.
  • The deadlock-free global barrier enables safe kernel fusion across software barriers, a previously unresolved issue in systems like Gunrock and CuSha.

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.