Integrating Profile-driven Parallelism Detection and Machine-learning-based Mapping

Zheng Wang, Georgios Tournavitis, Björn Franke, Michael F. P. O'Boyle

Research output: Contribution to journalArticlepeer-review

Abstract

Compiler-based auto-parallelization is a much-studied area but has yet to find widespread application. This is largely due to the poor identification and exploitation of application parallelism, resulting in disappointing performance far below that which a skilled expert programmer could achieve. We have identified two weaknesses in traditional parallelizing compilers and propose a novel, integrated approach resulting in significant performance improvements of the generated parallel code. Using profile-driven parallelism detection, we overcome the limitations of static analysis, enabling the identification of more application parallelism, and only rely on the user for final approval. We then replace the traditional target-specific and inflexible mapping heuristics with a machine-learning-based prediction mechanism, resulting in better mapping decisions while automating adaptation to different target architectures. We have evaluated our parallelization strategy on the NAS and SPEC CPU2000 benchmarks and two different multicore platforms (dual quad-core Intel Xeon SMP and dual-socket QS20 Cell blade). We demonstrate that our approach not only yields significant improvements when compared with state-of-the-art parallelizing compilers but also comes close to and sometimes exceeds the performance of manually parallelized codes. On average, our methodology achieves 96% of the performance of the hand-tuned OpenMP NAS and SPEC parallel benchmarks on the Intel Xeon platform and gains a significant speedup for the IBM Cell platform, demonstrating the potential of profile-guided and machine-learning- based parallelization for complex multicore platforms.
Original languageEnglish
Article number2
Pages (from-to)2:1-2:26
Number of pages26
JournalACM Transactions on Architecture and Code Optimization
Volume11
Issue number1
DOIs
Publication statusPublished - 1 Feb 2014

Keywords / Materials (for Non-textual outputs)

  • Auto-parallelization, OpenMP, machine-learning-based parallelism mapping, profile-driven parallelism detection

Fingerprint

Dive into the research topics of 'Integrating Profile-driven Parallelism Detection and Machine-learning-based Mapping'. Together they form a unique fingerprint.

Cite this