Optimizing Ordered Graph Algorithms with GraphIt

Yunming Zhang, Ajay Brahmakshatriya, Xinyi Chen, Laxman Dhulipala, Shoaib Kamil +2 more
11/17/2019
cs.PLcs.DC

Official code: GraphIt-DSL/graphit (396 stars, C++, last commit 2022-12-19).

Abstract

Many graph problems can be solved using ordered parallel graph algorithms that achieve significant speedup over their unordered counterparts by reducing redundant work. This paper introduces a new priority-based extension to GraphIt, a domain-specific language for writing graph applications, to simplify writing high-performance parallel ordered graph algorithms.

Show full abstract

The extension enables vertices to be processed in a dynamic order while hiding low-level implementation details from the user. We extend the compiler with new program analyses, transformations, and code generation to produce fast implementations of ordered parallel graph algorithms. We also introduce bucket fusion, a new performance optimization that fuses together different rounds of ordered algorithms to reduce synchronization overhead, resulting in $1.2\times$--3$\times$ speedup over the fastest existing ordered algorithm implementations on road networks with large diameters. With the extension, GraphIt achieves up to 3$\times$ speedup on six ordered graph algorithms over state-of-the-art frameworks and hand-optimized implementations (Julienne, Galois, and GAPBS) that support ordered algorithms.

View on arXivView PDF

Code Implementations(1)

GraphIt - A High-Performance Domain Specific Language for Graph Analytics

39649C++, PythonJan 20, 20173 years agoNOASSERTION
code-generationcompilerdomain-specific-languagegraph-analyticsgraph-computing+4 more

Similar Papers

Cite this paper

@article{zhang2019optimizing,
  title  = {Optimizing Ordered Graph Algorithms with GraphIt},
  author = {Yunming Zhang and Ajay Brahmakshatriya and Xinyi Chen and Laxman Dhulipala and Shoaib Kamil and Saman Amarasinghe and Julian Shun},
  year   = {2019},
  eprint = {1911.07260},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.07260}
}

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/1911.07260.svg)](https://codeofpaper.com/paper/1911.07260)

Discussion