基于GCC编译器中链接时间优化的结构剥离

Liangming Huang, Jun Jiang, Xiuwu Gao
{"title":"基于GCC编译器中链接时间优化的结构剥离","authors":"Liangming Huang, Jun Jiang, Xiuwu Gao","doi":"10.1109/ISPDS56360.2022.9874019","DOIUrl":null,"url":null,"abstract":"The huge gap between the speed of processors and their memory has become one major bottleneck in modern computer systems. In order to achieve higher performance, sophisticated techniques are increasingly needed to improve the data locality of the programs. In this paper, the structure peeling optimization based on LTO is implemented in the GCC compiler for that purpose. The structure types suitable for peeling are selected through adequate escape analysis and then split into multiple pieces, each containing one field corresponding to that in the original structure. This optimization is placed in the stage after whole program analysis of LTO so that can handle functions' parameters and global variables which cannot be handled from a local perspective. The experimental result shows that by adopting our optimization the geometric mean performance acceleration ratio of five SPEC CPU benchmarks can be achieved by 1.23, with individual benchmark performance increasing by up to 59.29%.","PeriodicalId":280244,"journal":{"name":"2022 3rd International Conference on Information Science, Parallel and Distributed Systems (ISPDS)","volume":"31 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-07-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Structure Peeling Based on Link Time Optimization in the GCC compiler\",\"authors\":\"Liangming Huang, Jun Jiang, Xiuwu Gao\",\"doi\":\"10.1109/ISPDS56360.2022.9874019\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The huge gap between the speed of processors and their memory has become one major bottleneck in modern computer systems. In order to achieve higher performance, sophisticated techniques are increasingly needed to improve the data locality of the programs. In this paper, the structure peeling optimization based on LTO is implemented in the GCC compiler for that purpose. The structure types suitable for peeling are selected through adequate escape analysis and then split into multiple pieces, each containing one field corresponding to that in the original structure. This optimization is placed in the stage after whole program analysis of LTO so that can handle functions' parameters and global variables which cannot be handled from a local perspective. The experimental result shows that by adopting our optimization the geometric mean performance acceleration ratio of five SPEC CPU benchmarks can be achieved by 1.23, with individual benchmark performance increasing by up to 59.29%.\",\"PeriodicalId\":280244,\"journal\":{\"name\":\"2022 3rd International Conference on Information Science, Parallel and Distributed Systems (ISPDS)\",\"volume\":\"31 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-07-22\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 3rd International Conference on Information Science, Parallel and Distributed Systems (ISPDS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ISPDS56360.2022.9874019\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 3rd International Conference on Information Science, Parallel and Distributed Systems (ISPDS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISPDS56360.2022.9874019","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

处理器的速度和内存之间的巨大差距已经成为现代计算机系统的一个主要瓶颈。为了获得更高的性能,越来越需要复杂的技术来改善程序的数据局部性。本文在GCC编译器中实现了基于LTO的结构剥离优化。通过充分的逸出分析,选择适合剥离的结构类型,然后将其分成多块,每块包含一个与原结构对应的场。这种优化被放在LTO的整个程序分析之后的阶段,这样就可以处理函数的参数和全局变量,而这些从局部角度是无法处理的。实验结果表明,采用我们的优化后,5个SPEC CPU基准测试的几何平均性能加速比可达到1.23,单个基准测试性能提升高达59.29%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Structure Peeling Based on Link Time Optimization in the GCC compiler
The huge gap between the speed of processors and their memory has become one major bottleneck in modern computer systems. In order to achieve higher performance, sophisticated techniques are increasingly needed to improve the data locality of the programs. In this paper, the structure peeling optimization based on LTO is implemented in the GCC compiler for that purpose. The structure types suitable for peeling are selected through adequate escape analysis and then split into multiple pieces, each containing one field corresponding to that in the original structure. This optimization is placed in the stage after whole program analysis of LTO so that can handle functions' parameters and global variables which cannot be handled from a local perspective. The experimental result shows that by adopting our optimization the geometric mean performance acceleration ratio of five SPEC CPU benchmarks can be achieved by 1.23, with individual benchmark performance increasing by up to 59.29%.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Research on Intelligent Quality Inspection of Customer Service Under the “One Network” Operation Mode of Toll Roads Application of AE keying technology in film and television post-production Study on Artifact Classification Identification Based on Deep Learning Design of Real-time Target Detection System in CCD Vertical Target Coordinate Measurement An evaluation method of municipal pipeline cleaning effect based on image processing
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1