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 条
  • [21] AutoPas: Auto-Tuning for Particle Simulations
    Gratl, Fabio
    Seckler, Steffen
    Tchipev, Nikola
    Bungartz, Hans-Joachim
    Neumann, Philipp
    2019 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW), 2019, : 748 - 757
  • [22] Survey on PID auto-tuning modules
    Ang, KH
    Yun, L
    PROCEEDINGS OF THE 5TH ASIA-PACIFIC CONFERENCE ON CONTROL & MEASUREMENT, 2002, : 148 - 153
  • [23] ATF: A Generic Auto-Tuning Framework
    Rasch, Ari
    Gorlatch, Sergei
    HPDC '18: PROCEEDINGS OF THE 27TH INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE PARALLEL AND DISTRIBUTED COMPUTING: POSTERS/DOCTORAL CONSORTIUM, 2018, : 3 - 4
  • [24] Auto-tuning unit norm frames
    Casazza, Peter G.
    Fickus, Matthew
    Mixon, Dustin G.
    APPLIED AND COMPUTATIONAL HARMONIC ANALYSIS, 2012, 32 (01) : 1 - 15
  • [25] Auto-Tuning of Raw Filters for FPGAs
    Hahn, Tobias
    Wildermann, Stefan
    Teich, Jurgen
    2022 32ND INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE LOGIC AND APPLICATIONS, FPL, 2022, : 167 - 175
  • [26] Auto-tuning elastic applications in production
    Sampaio, Adalberto R., Jr.
    Beschastnikh, Ivan
    Maier, Daryl
    Bourne, Don
    Sundaresen, Vijay
    2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE, ICSE-SEIP, 2023, : 355 - 367
  • [27] PID auto-tuning by a composed structure
    Oubrahim, R
    Leonard, F
    PROCEEDINGS OF THE 1998 IEEE INTERNATIONAL CONFERENCE ON CONTROL APPLICATIONS, VOLS 1 AND 2, 1996, : 144 - 147
  • [28] The interpolation method for auto-tuning of controllers
    Skvortsov, LM
    JOURNAL OF COMPUTER AND SYSTEMS SCIENCES INTERNATIONAL, 1998, 37 (06) : 923 - 926
  • [29] Auto-tuning of Predictive PI controller
    Ganchev, I
    Petrov, M
    Hyniova, K
    Stribrsky, A
    ROBUST CONTROL DESIGN 2000, VOLS 1 & 2, 2000, 1-2 : 769 - 774
  • [30] Motion Control Auto-Tuning in Elevator
    Salomaki, Janne
    2022 IEEE 17TH INTERNATIONAL CONFERENCE ON ADVANCED MOTION CONTROL (AMC), 2022, : 219 - 224