Compiler Auto-tuning via Critical Flag Selection

被引:0
|
作者
Zhu, Mingxuan [1 ]
Hao, Dan [1 ]
机构
[1] Peking Univ, Minist Educ, Key Lab High Confidence Software Technol, Beijing, Peoples R China
来源
2023 38TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE | 2023年
基金
中国国家自然科学基金;
关键词
Compiler; Compiler Auto-tuning; Critical Flag Selection; Search; COMPILATION;
D O I
10.1109/ASE56229.2023.00209
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Widely used compilers like GCC usually have hundreds of optimizations controlled by optimization flags, which can be enabled or disabled during compilation to improve the runtime performance of a compiled program. Due to the large number of optimization flags and their combination, it is difficult for compiler users to tune compiler optimization flags manually. In the literature, many auto-tuning techniques have been proposed, which find a desired setting on all optimization flags (i.e., an optimization sequence) by designing different search strategies in the entire optimization space. Due to the huge search space, these techniques suffer from the widely-recognized efficiency problem. To reduce the search space, in this paper, we propose a critical-flag selection based approach CFSCA which first finds flags potentially relevant to the target program by analyzing program structure and compiler documentation, and then identifies critical flags through statistical analysis on the program's predicted runtime performance with various optimization sequences. With the reduced search space, CFSCA selects a desired optimization sequence. To evaluate the performance of the proposed approach CFSCA, we conduct an extensive experimental study on the latest version of the compiler GCC with a widely used benchmark cBench. The experimental results show that CFSCA significantly outperforms the four compared techniques, including the state-of-art technique BOCA.
引用
收藏
页码:1000 / 1011
页数:12
相关论文
共 50 条
  • [41] LabVIEW implementation of an auto-tuning PID regulator via Grey-predictor
    Lee, Chien-Ming
    Liu, Yao-Lun
    Shieh, Hong-Wei
    Tong, Chia-Chang
    2006 IEEE CONFERENCE ON CYBERNETICS AND INTELLIGENT SYSTEMS, VOLS 1 AND 2, 2006, : 540 - +
  • [42] An Architecture for Flexible Auto-Tuning: The Periscope Tuning Framework 2.0
    Mijakovic, Robert
    Firbach, Michael
    Gerndt, Michael
    2016 2ND INTERNATIONAL CONFERENCE ON GREEN HIGH PERFORMANCE COMPUTING (ICGHPC), 2016,
  • [43] An Auto-tuning Controller for Networked Control Systems
    Pham Xuan Thuy
    Nguyen Tran Hiep
    2016 INTERNATIONAL CONFERENCE ON ELECTRONICS, INFORMATION, AND COMMUNICATIONS (ICEIC), 2016,
  • [44] Auto-tuning for Energy Usage in Scientific Applications
    Tiwari, Ananta
    Laurenzano, Michael A.
    Carrington, Laura
    Snavely, Allan
    EURO-PAR 2011: PARALLEL PROCESSING WORKSHOPS, PT II, 2012, 7156 : 178 - 187
  • [45] An improved auto-tuning scheme for PI controllers
    Mudi, Rajani K.
    Dey, Chanchal
    Lee, Tsu-Tian
    ISA TRANSACTIONS, 2008, 47 (01) : 45 - 52
  • [46] FIBER: A generalized framework for auto-tuning software
    Katagiri, T
    Kise, K
    Honda, H
    Yuba, T
    HIGH PERFORMANCE COMPUTING, 2003, 2858 : 146 - 159
  • [47] A METHOD FOR AUTO-TUNING OF PID CONTROL PARAMETERS
    NISHIKAWA, Y
    SANNOMIYA, N
    OHTA, T
    TANAKA, H
    AUTOMATICA, 1984, 20 (03) : 321 - 332
  • [48] An Auto-tuning LQR based on Correlation Analysis
    Huang, Xujiang
    Li, Pu
    IFAC PAPERSONLINE, 2020, 53 (02): : 7148 - 7153
  • [49] An Optimized Tuning of Genetic Algorithm Parameters in Compiler Flag Selection Based on Compilation and Execution Duration
    Sandran, Thayalan
    Zakaria, Nordin
    Pal, Anindya Jyoti
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON SOFT COMPUTING FOR PROBLEM SOLVING (SOCPROS 2011), VOL 2, 2012, 131 : 599 - 610
  • [50] Auto-tuning of output predictive PI controller
    Lo, WL
    Rad, AB
    Tsang, KM
    ISA TRANSACTIONS, 1999, 38 (01) : 25 - 36