Integrating profile-driven parallelism detection and machine-learning-based mapping

Author:

Wang Zheng1,Tournavitis Georgios2,Franke Björn3,O'boyle Michael F. P.3

Affiliation:

1. Lancaster University, United Kingdom

2. Intel Barcelona Research Center, Spain

3. University of Edinburgh, United Kingdom

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.

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Information Systems,Software

Reference66 articles.

1. NAS Parallel Benchmarks 2.3 OpenMP C version. (2004). http://www.hpcs.cs.tsukuba.ac.jp/omni-compiler/download/download-benchmarks.html. NAS Parallel Benchmarks 2.3 OpenMP C version. (2004). http://www.hpcs.cs.tsukuba.ac.jp/omni-compiler/download/download-benchmarks.html.

2. A view of the parallel computing landscape

3. The NAS parallel benchmarks---summary and preliminary results

Cited by 38 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. A Survey on Automatic Source Code Transformation for Green Software Generation;Encyclopedia of Sustainable Technologies;2024

2. Investigating the superiority of Intel oneAPI IFX compiler on Intel CPUs using different optimization levels: A case study on a CFD system;2023 4th IEEE Global Conference for Advancement in Technology (GCAT);2023-10-06

3. A Hybrid Machine Learning Model for Code Optimization;International Journal of Parallel Programming;2023-09-22

4. Performance Optimization using Multimodal Modeling and Heterogeneous GNN;Proceedings of the 32nd International Symposium on High-Performance Parallel and Distributed Computing;2023-08-07

5. Program State Element Characterization;Proceedings of the 21st ACM/IEEE International Symposium on Code Generation and Optimization;2023-02-17

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3