Optimizing Streaming Parallelism on Heterogeneous Many-Core Architectures: A Machine Learning Based Approach

Peng Zhang, Jianbin Fang, Canqun Yang, Chun Huang, Tao Tang +1 more
3/5/2020
cs.DCcs.LGcs.PF

Official code: Wisdom-moon/autostreamer (0 stars, C++, last commit 2019-09-03).

Abstract

This article presents an automatic approach to quickly derive a good solution for hardware resource partition and task granularity for task-based parallel applications on heterogeneous many-core architectures. Our approach employs a performance model to estimate the resulting performance of the target application under a given resource partition and task granularity configuration.

Show full abstract

The model is used as a utility to quickly search for a good configuration at runtime. Instead of hand-crafting an analytical model that requires expert insights into low-level hardware details, we employ machine learning techniques to automatically learn it. We achieve this by first learning a predictive model offline using training programs. The learnt model can then be used to predict the performance of any unseen program at runtime. We apply our approach to 39 representative parallel applications and evaluate it on two representative heterogeneous many-core platforms: a CPU-XeonPhi platform and a CPU-GPU platform. Compared to the single-stream version, our approach achieves, on average, a 1.6x and 1.1x speedup on the XeonPhi and the GPU platform, respectively. These results translate to over 93% of the performance delivered by a theoretically perfect predictor.

View on arXivView PDF

Code Implementations(1)

00C++, CSep 3, 20197 years ago

Similar Papers

Cite this paper

@article{zhang2020optimizing,
  title  = {Optimizing Streaming Parallelism on Heterogeneous Many-Core Architectures: A Machine Learning Based Approach},
  author = {Peng Zhang and Jianbin Fang and Canqun Yang and Chun Huang and Tao Tang and Zheng Wang},
  year   = {2020},
  eprint = {2003.04294},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.04294}
}

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

Discussion