Optimization Space Learning: A Lightweight, Noniterative Technique for Compiler Autotuning

被引:0
|
作者
Burgstaller, Tamim [1 ]
Garber, Damian [1 ]
Le, Viet-Man [1 ]
Felfernig, Alexander [1 ]
机构
[1] Graz Univ Technol, Graz, Austria
来源
28TH INTERNATIONAL SYSTEMS AND SOFTWARE PRODUCT LINE CONFERENCE, SPLC 2024 | 2024年
关键词
Configuration; Configuration Space Learning; Compiler; Performance Optimization; Collaborative Filtering; Compiler Autotuning;
D O I
10.1145/3646548.3672588
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Compilers are highly configurable systems. One can influence the performance of a compiled program by activating and deactivating selected compiler optimizations. However, automatically finding well-performing configurations is a challenging task. We consider expensive iteration, paired with recompilation of the program to optimize, as one of the main shortcomings of state-of-the-art approaches. Therefore, we propose Optimization Space Learning, a lightweight and noniterative technique. It exploits concepts known from configuration space learning and recommender systems to discover well-performing compiler configurations. This reduces the overhead induced by the approach significantly, compared to existing approaches. The process of finding a well-performing configuration is 800k times faster than with the state-of-the-art techniques.
引用
收藏
页码:36 / +
页数:11
相关论文
共 50 条
  • [1] Efficient Compiler Autotuning via Bayesian Optimization
    Chen, Junjie
    Xu, Ningxin
    Chen, Peiqi
    Zhang, Hongyu
    2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2021), 2021, : 1198 - 1209
  • [2] A Survey on Compiler Autotuning using Machine Learning
    Ashouri, Amir H.
    Killian, William
    Cavazos, John
    Palermo, Gianluca
    Silvano, Cristina
    ACM COMPUTING SURVEYS, 2019, 51 (05)
  • [3] Compiler Autotuning through Multiple-phase Learning
    Zhu, Mingxuan
    Hao, Dan
    Chen, Junjie
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2024, 33 (04)
  • [4] A COMPILER OPTIMIZATION TECHNIQUE
    FINKELSTEIN, M
    COMPUTER JOURNAL, 1968, 11 (01): : 22 - +
  • [5] Machine Learning in Compiler Optimization
    Wang, Zheng
    O'Boyle, Michael
    PROCEEDINGS OF THE IEEE, 2018, 106 (11) : 1879 - 1901
  • [6] Compiler optimization-space exploration
    Triantafyllis, S
    Vachharajani, M
    Vachharajani, N
    August, DI
    CGO 2003: INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION, 2003, : 204 - 215
  • [7] A NONITERATIVE PENALTY-FUNCTION TECHNIQUE FOR CONSTRAINED OPTIMIZATION
    SANTI, LM
    TOWNSEND, MA
    JOHNSON, GE
    ENGINEERING OPTIMIZATION, 1982, 6 (02) : 63 - 76
  • [8] Exploring compiler optimization space for control flow obfuscation
    Ahmed, Hameeza
    Hyder, Muhammad Faraz
    ul Haque, Muhammad Fahim
    Santos, Paulo Cesar
    COMPUTERS & SECURITY, 2024, 139
  • [9] Exploring compiler optimization space for control flow obfuscation
    Ahmed, Hameeza
    Hyder, Muhammad Faraz
    Haque, Muhammad Fahim ul
    Santos, Paulo Cesar
    Computers and Security, 2024, 139
  • [10] Hybrid compiler and microarchitecture technique for cache traffic optimization
    Zahran, M
    Bhowmik, A
    9th Annual Workshop on Interaction between Compilers and Computer Architectures, Proceedings, 2005, : 58 - 69