Mapping Parallelism to Multi-cores: A Machine Learning Based Approach

被引:89
|
作者
Wang, Zheng [1 ]
O'Boyle, Michael F. P. [1 ]
机构
[1] Univ Edinburgh, Sch Informat, Edinburgh EH8 9YL, Midlothian, Scotland
关键词
Experimentation; Languages; Performance; Compiler optimization; Performance modeling; Machine learning; Artificial neural networks; Support vector machine; SCHEDULING ALGORITHMS;
D O I
10.1145/1594835.1504189
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The efficient mapping of program parallelism to multi-core processors is highly dependent on the underlying architecture. This paper proposes a portable and automatic compiler-based approach to mapping such parallelism using machine learning. It develops two predictors: a data sensitive and a data insensitive predictor to select the best mapping for parallel programs. They predict the number of threads and the scheduling policy for any given program using a model learnt off-line. By using low-cost profiling runs, they predict the mapping for a new unseen program across multiple input data sets. We evaluate our approach by selecting parallelism mapping configurations for OpenMP programs on two representative but different multi-core platforms (the Intel Xeon and the Cell processors). Performance of our technique is stable across programs and architectures. On average, it delivers above 96% performance of the maximum available on both platforms. It achieve, on average, a 37% (up to 17.5 times) performance improvement over the OpenMP runtime default scheme on the Cell platform. Compared to two recent prediction models, our predictors achieve better performance with a significant lower profiling cost.
引用
收藏
页码:75 / 84
页数:10
相关论文
共 50 条
  • [21] Multi-objective redundancy hardening with optimal task mapping for independent tasks on multi-cores
    Bo Yuan
    Bin Li
    Huanhuan Chen
    Zhigang Zeng
    Xin Yao
    Soft Computing, 2020, 24 : 981 - 995
  • [22] Multi-objective redundancy hardening with optimal task mapping for independent tasks on multi-cores
    Yuan, Bo
    Li, Bin
    Chen, Huanhuan
    Zeng, Zhigang
    Yao, Xin
    SOFT COMPUTING, 2020, 24 (02) : 981 - 995
  • [23] Multi-cores, posets, and lattice paths
    Amdeberhan, Tewodros
    Leven, Emily Sergel
    ADVANCES IN APPLIED MATHEMATICS, 2015, 71 : 1 - 13
  • [24] WCET-Aware Parallelization of Model-Based Applications for Multi-Cores: the ARGO Approach
    Derrien, Steven
    Puaut, Isabelle
    Alefragis, Panayiotis
    Bednara, Marcus
    Bucher, Harald
    David, Clement
    Debray, Yann
    Durak, Umut
    Fassi, Imen
    Ferdinand, Christian
    Hardy, Damien
    Kritikakou, Angeliki
    Rauwerda, Gerard
    Reder, Simon
    Sicks, Martin
    Stripf, Timo
    Sunesen, Kim
    ter Braak, Timon
    Voros, Nikolaos
    Becker, Juergen
    PROCEEDINGS OF THE 2017 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE), 2017, : 286 - 289
  • [25] Inter-Cluster Thread-to-Core Mapping and DVFS on Heterogeneous Multi-Cores
    Reddy, Basireddy Karunakar
    Singh, Amit Kumar
    Biswas, Dwaipayan
    Merrett, Geoff V.
    Al-Hashimi, Bashir M.
    IEEE TRANSACTIONS ON MULTI-SCALE COMPUTING SYSTEMS, 2018, 4 (03): : 369 - 382
  • [26] Parallelization of an XML Data Compressor on Multi-cores
    Mueldner, Tomasz
    Fry, Christopher
    Corbin, Tyler
    Miziolek, Jan Krzysztof
    PARALLEL PROCESSING AND APPLIED MATHEMATICS, PT II, 2012, 7204 : 101 - 110
  • [27] The paradigm shift to multi-cores: Opportunities and challenges
    Stenstrom, Per
    APPLIED AND COMPUTATIONAL MATHEMATICS, 2007, 6 (02) : 253 - 257
  • [28] Balanced Dense Polynomial Multiplication on Multi-cores
    Maza, Marc Moreno
    Xie, Yuzhen
    2009 INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED COMPUTING, APPLICATIONS AND TECHNOLOGIES (PDCAT 2009), 2009, : 1 - +
  • [29] Assurance Methods for COTS Multi-cores in Avionics
    Jean, Xavier
    Mutuel, Laurence
    Brindejonc, Vincent
    2016 IEEE/AIAA 35TH DIGITAL AVIONICS SYSTEMS CONFERENCE (DASC), 2016,
  • [30] Research and Implementation of Embedded Layout Accelerator Based on Multi-cores System
    Li, Qing Cheng
    Yang, Liu
    Bai, Zheng Xuan
    Gong, Xiao Li
    Jin, Zhang
    PACIIA: 2008 PACIFIC-ASIA WORKSHOP ON COMPUTATIONAL INTELLIGENCE AND INDUSTRIAL APPLICATION, VOLS 1-3, PROCEEDINGS, 2008, : 1606 - 1610