计算机科学 > 分布式、并行与集群计算
[提交于 2020年5月11日 (v1),最后修订于 2020年5月11日 (此版本, v2)]
标题:A Collaborative Filtering Approach for the Automatic Tuning of Compiler Optimisations
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Selecting the right compiler optimisations has a severe impact on programs' performance. Still, the available optimisations keep increasing, and their effect depends on the specific program, making the task human intractable. Researchers proposed several techniques to search in the space of compiler optimisations. Some approaches focus on finding better search algorithms, while others try to speed up the search by leveraging previously collected knowledge. The possibility to effectively reuse previous compilation results inspired us toward the investigation of techniques derived from the Recommender Systems field. The proposed approach exploits previously collected knowledge and improves its characterisation over time. Differently from current state-of-the-art solutions, our approach is not based on performance counters but relies on Reaction Matching, an algorithm able to characterise programs looking at how they react to different optimisation sets. The proposed approach has been validated using two widely used benchmark suites, cBench and PolyBench, including 54 different programs. Our solution, on average, extracted 90% of the available performance improvement 10 iterations before current state-of-the-art solutions, which corresponds to 40% fewer compilations and performance tests to perform.
提交历史
来自:Stefano Cereda[v2] 2020年5月11日 星期一 07:53:01 UTC