A Machine-Learning-Based Framework for Productive Locality Exploitation

被引:3
|
作者
Kayraklioglu, Engin [1 ]
Favry, Erwan [2 ]
El-Ghazawi, Tarek [3 ]
机构
[1] Hewlett Packard Enterprise Co, San Jose, CA 95002 USA
[2] Univ Paris Est, F-77420 Champs Sur Marne, France
[3] George Washington Univ, Washington, DC 20052 USA
关键词
Optimization; Reactive power; Programming; Runtime; Program processors; Productivity; Prefetching; Data locality; distributed memory; programming models; machine learning;
D O I
10.1109/TPDS.2021.3051348
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Data locality is of extreme importance in programming distributed-memory architectures due to its implications on latency and energy consumption. Automated compiler and runtime system optimization studies have attempted to improve data locality exploitation without burdening the programmer. However, due to the difficulty of static code analysis, conservatism in compiler optimizations to avoid errors, and cost of dynamic analysis, the efficacy of automated optimizations is limited. Therefore, programmers need to spend significant effort in optimizing locality while creating applications for distributed memory parallel systems. We present a machine-learning based framework to automatically exploit locality in distributed memory applications. This framework takes application source whose time-critical blocks are marked by pragmas, and produces optimized source code that uses a regressor for efficient data movement. The regressor is trained with automatically-collected application profiles with very small input data sizes. We integrate our prototype in the Chapel language stack. In our experiments, we show that the Elastic Net model is the ideal regressor for our case and applications that utilize Elastic Net can perform very similarly to programmer-optimized versions. We also show that such regressors can be trained within few minutes on a cluster or within 30 minutes on a workstation, including data collection.
引用
收藏
页码:1409 / 1424
页数:16
相关论文
共 50 条
  • [1] A Machine Learning Approach for Productive Data Locality Exploitation in Parallel Computing Systems
    Kayraklioglu, Engin
    Favry, Erwan
    El-Ghazawi, Tarek
    2019 19TH IEEE/ACM INTERNATIONAL SYMPOSIUM ON CLUSTER, CLOUD AND GRID COMPUTING (CCGRID), 2019, : 361 - 370
  • [2] Tenet: A Flexible Framework for Machine-Learning-based Vulnerability Detection
    Pinconschi, Eduard
    Reis, Sofia
    Zhang, Chi
    Abreu, Rui
    Erdogmus, Hakan
    Pasareanu, Corina S.
    Jia, Limin
    2023 IEEE/ACM 2ND INTERNATIONAL CONFERENCE ON AI ENGINEERING - SOFTWARE ENGINEERING FOR AI, CAIN, 2023, : 102 - 103
  • [3] A Machine-Learning-Based Framework for Supporting Malware Detection and Analysis
    Cuzzocrea, Alfredo
    Mercaldo, Francesco
    Martinelli, Fabio
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS, ICCSA 2021, PT III, 2021, 12951 : 353 - 365
  • [4] A Machine-Learning-Based Framework for Optimizing the Operation of Future Networks
    Fiandrino, Claudio
    Zhang, Chaoyun
    Patras, Paul
    Banchs, Albert
    Widmer, Joerg
    IEEE COMMUNICATIONS MAGAZINE, 2020, 58 (06) : 20 - 25
  • [5] A Secure Collaborative Machine Learning Framework Based on Data Locality
    Xu, Kaihe
    Ding, Haichuan
    Guo, Linke
    Fang, Yuguang
    2015 IEEE GLOBAL COMMUNICATIONS CONFERENCE (GLOBECOM), 2015,
  • [6] Machine-learning-based reliability evaluation framework for power distribution networks
    Li, Gengfeng
    Huang, Yuxiong
    Bie, Zhaohong
    Ding, Tao
    IET GENERATION TRANSMISSION & DISTRIBUTION, 2020, 14 (12) : 2282 - 2291
  • [7] A Machine-Learning-Based Epistemic Modeling Framework for Textile Antenna Design
    Kan, Duygu
    Spina, Domenico
    De Ridder, Simon
    Grassi, Flavia
    Rogier, Hendrik
    Vande Ginste, Dries
    IEEE ANTENNAS AND WIRELESS PROPAGATION LETTERS, 2019, 18 (11): : 2292 - 2296
  • [8] Practical Performance of a Distributed Processing Framework for Machine-Learning-based NIDS
    Kajiura, Maho
    Nakamura, Junya
    2024 IEEE 48TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE, COMPSAC 2024, 2024, : 2215 - 2221
  • [9] Machine-learning-based optimization framework to support recovery-based design
    Issa, Omar
    Silva-Lopez, Rodrigo
    Baker, Jackw.
    Burton, Henry V.
    EARTHQUAKE ENGINEERING & STRUCTURAL DYNAMICS, 2023, 52 (11): : 3256 - 3280
  • [10] Exploitation of Vulnerabilities: A Topic-Based Machine Learning Framework for Explaining and Predicting Exploitation
    Charmanas, Konstantinos
    Mittas, Nikolaos
    Angelis, Lefteris
    INFORMATION, 2023, 14 (07)