Migration and Tuning of Software Prefetching for Sunway Multi-Core Processor

Xiuwu Gao, Jun Jiang, Liangming Huang, Hongmei Wei
{"title":"Migration and Tuning of Software Prefetching for Sunway Multi-Core Processor","authors":"Xiuwu Gao, Jun Jiang, Liangming Huang, Hongmei Wei","doi":"10.1109/ICSP54964.2022.9778713","DOIUrl":null,"url":null,"abstract":"Data prefetching is a widely used technique to alleviate \"memory wall\" problem by fetching the data that may be touched in the near future in advance. Generally, data prefetching is classified into hardware prefetching and software prefetching. Compared to hardware prefetching, software prefetching is more flexible, and typically achieves higher prefetch accuracy. Currently, Sunway multiple-core processor only supports hardware prefetching. To study how software prefetching perform on Sunway processor, in this paper, we first migrate the software data prefetching in the GCC complier to Sunway processor. Then we tune the loop-level prefetching cost model according to Sunway processor’s hardware features. Finally, we conduct experiments to evaluate the effectiveness of the tuned software prefetching. Results show that, compared to the baseline where no prefetching is applied, software prefetching delivers an average speedup of 1.08x (up to 2.46x) and 1.16x (up to 1.88x) for SPECint 2006 and SPECfp 2006 benchmark suite, respectively. Moreover, software prefetching outperforms hardware prefetching for both benchmark suites. This demonstrates the efficacy of software data prefetching.","PeriodicalId":363766,"journal":{"name":"2022 7th International Conference on Intelligent Computing and Signal Processing (ICSP)","volume":"31 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-04-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 7th International Conference on Intelligent Computing and Signal Processing (ICSP)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSP54964.2022.9778713","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Data prefetching is a widely used technique to alleviate "memory wall" problem by fetching the data that may be touched in the near future in advance. Generally, data prefetching is classified into hardware prefetching and software prefetching. Compared to hardware prefetching, software prefetching is more flexible, and typically achieves higher prefetch accuracy. Currently, Sunway multiple-core processor only supports hardware prefetching. To study how software prefetching perform on Sunway processor, in this paper, we first migrate the software data prefetching in the GCC complier to Sunway processor. Then we tune the loop-level prefetching cost model according to Sunway processor’s hardware features. Finally, we conduct experiments to evaluate the effectiveness of the tuned software prefetching. Results show that, compared to the baseline where no prefetching is applied, software prefetching delivers an average speedup of 1.08x (up to 2.46x) and 1.16x (up to 1.88x) for SPECint 2006 and SPECfp 2006 benchmark suite, respectively. Moreover, software prefetching outperforms hardware prefetching for both benchmark suites. This demonstrates the efficacy of software data prefetching.
神威多核处理器软件预取的迁移与调优
数据预取是一种广泛使用的技术,它通过提前提取近期可能接触到的数据来缓解“内存墙”问题。通常,数据预取分为硬件预取和软件预取。与硬件预取相比,软件预取更加灵活,通常可以达到更高的预取精度。目前,神威多核处理器只支持硬件预取。为了研究软件预取在神威处理器上的性能,本文首先将GCC编译器中的软件数据预取迁移到神威处理器上。然后根据神威处理器的硬件特点,对循环级预取成本模型进行了优化。最后,通过实验验证了调优软件预取的有效性。结果表明,与不应用预取的基线相比,软件预取分别为SPECint 2006和SPECfp 2006基准套件提供了1.08倍(最高2.46倍)和1.16倍(最高1.88倍)的平均加速。此外,对于两个基准套件,软件预取优于硬件预取。这证明了软件数据预取的有效性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信