跳到主要导航 跳到搜索 跳到主要内容

Feature mining for machine learning based compilation optimization

  • Fengqian Li
  • , Feilong Tang
  • , Yao Shen*
  • *此作品的通讯作者
  • Shanghai Jiao Tong University

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Compilation optimization is critical for software performance. Before a product releases, the most effective algorithm combination should be chosen to minimize the object file size or to maximize the running speed. Compilers like GCC usually have hundreds of optimization algorithms, in which they have complex relationships. Different combinations of algorithms will lead to object files with different performance. Usually developers select the combination manually, but it's unpractical since a combination for one project can't be reused for another one. In order to conquer this difficulty some approaches like iterative search, heuristic search and machine learning based optimization have been proposed. However these methods still need improvements at different aspects like speed and precision. This paper researches machine learning based compilation optimization especially on feature processing which is important for machine learning methods. Program features can be divided into static features and dynamic features. Apart from user defined static features, we design a method to generate lots of static features by template and select best ones from them. Furthermore, we observe that feature value changes during different optimization phases and implement a feature extractor to extract feature values at specific phases and predict optimization plan dynamically. Finally, we implement the prototype on GCC version 4.6 with GCC plugin system and evaluate it with benchmarks. The results show that our system has a 5% average speed up for object file running speed than GCC O3 optimization level.

源语言英语
主期刊名Proceedings - 2014 8th International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing, IMIS 2014
出版商Institute of Electrical and Electronics Engineers Inc.
207-214
页数8
ISBN(电子版)9781479943319
DOI
出版状态已出版 - 2014
已对外发布
活动8th International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing, IMIS 2014 - Birmingham, 英国
期限: 2 7月 20144 7月 2014

出版系列

姓名Proceedings - 2014 8th International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing, IMIS 2014

会议

会议8th International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing, IMIS 2014
国家/地区英国
Birmingham
时期2/07/144/07/14

指纹

探究 'Feature mining for machine learning based compilation optimization' 的科研主题。它们共同构成独一无二的指纹。

引用此