SPECjvm2008数据局部性的虚拟重用距离分析

Xiaoming Gu, Xiao-Feng Li, B. Cheng, Eric Huang
{"title":"SPECjvm2008数据局部性的虚拟重用距离分析","authors":"Xiaoming Gu, Xiao-Feng Li, B. Cheng, Eric Huang","doi":"10.1145/1596655.1596684","DOIUrl":null,"url":null,"abstract":"Reuse distance analysis has been proved promising in evaluating and predicting data locality for programs written in Fortran or C/C++. But its effect has not been examined for applications in managed runtime environments, where there is no concept of memory address. For this reason, traditional reuse distance analysis based on memory addresses is not directly applicable to these applications.\n This paper presents the Virtual Reuse Distance Analysis (ViRDA), which resolves the difficulties associated with runtime environments and provides insights into the highlevel locality in dynamic applications. ViRDA addresses the problem caused by managed runtime artifacts, garbage collection in particular, by using virtual data identities, obtained through a standard profiling interface, to capture inherent data locality. The effectiveness of ViRDA is evaluated using a subset of the SPECjvm2008 benchmark suite. The new analysis reveals the reuse distance signatures of these programs and helps to explain the cause of excessive cache misses. It also predicts locality for large inputs based on training analysis of several small inputs. The prediction error is no more than 6% for the 4 scimark workloads.","PeriodicalId":169989,"journal":{"name":"Principles and Practice of Programming in Java","volume":"3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2009-08-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Virtual reuse distance analysis of SPECjvm2008 data locality\",\"authors\":\"Xiaoming Gu, Xiao-Feng Li, B. Cheng, Eric Huang\",\"doi\":\"10.1145/1596655.1596684\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Reuse distance analysis has been proved promising in evaluating and predicting data locality for programs written in Fortran or C/C++. But its effect has not been examined for applications in managed runtime environments, where there is no concept of memory address. For this reason, traditional reuse distance analysis based on memory addresses is not directly applicable to these applications.\\n This paper presents the Virtual Reuse Distance Analysis (ViRDA), which resolves the difficulties associated with runtime environments and provides insights into the highlevel locality in dynamic applications. ViRDA addresses the problem caused by managed runtime artifacts, garbage collection in particular, by using virtual data identities, obtained through a standard profiling interface, to capture inherent data locality. The effectiveness of ViRDA is evaluated using a subset of the SPECjvm2008 benchmark suite. The new analysis reveals the reuse distance signatures of these programs and helps to explain the cause of excessive cache misses. It also predicts locality for large inputs based on training analysis of several small inputs. The prediction error is no more than 6% for the 4 scimark workloads.\",\"PeriodicalId\":169989,\"journal\":{\"name\":\"Principles and Practice of Programming in Java\",\"volume\":\"3 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2009-08-27\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Principles and Practice of Programming in Java\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/1596655.1596684\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Principles and Practice of Programming in Java","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1596655.1596684","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

重用距离分析在评估和预测用Fortran或C/ c++编写的程序的数据局域性方面已被证明是有前途的。但是对于托管运行时环境中的应用程序,它的影响还没有得到检验,因为在托管运行时环境中没有内存地址的概念。因此,传统的基于内存地址的重用距离分析并不直接适用于这些应用程序。本文提出了虚拟重用距离分析(ViRDA),它解决了与运行时环境相关的困难,并提供了对动态应用程序高级局部性的见解。ViRDA通过使用虚拟数据身份(通过标准分析接口获得)来捕获固有的数据位置,解决了由托管运行时工件(特别是垃圾收集)引起的问题。使用SPECjvm2008基准测试套件的一个子集来评估ViRDA的有效性。新的分析揭示了这些程序的重用距离特征,并有助于解释缓存丢失过多的原因。它还可以基于对几个小输入的训练分析来预测大输入的位置。对于4个spark工作负载,预测误差不超过6%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Virtual reuse distance analysis of SPECjvm2008 data locality
Reuse distance analysis has been proved promising in evaluating and predicting data locality for programs written in Fortran or C/C++. But its effect has not been examined for applications in managed runtime environments, where there is no concept of memory address. For this reason, traditional reuse distance analysis based on memory addresses is not directly applicable to these applications. This paper presents the Virtual Reuse Distance Analysis (ViRDA), which resolves the difficulties associated with runtime environments and provides insights into the highlevel locality in dynamic applications. ViRDA addresses the problem caused by managed runtime artifacts, garbage collection in particular, by using virtual data identities, obtained through a standard profiling interface, to capture inherent data locality. The effectiveness of ViRDA is evaluated using a subset of the SPECjvm2008 benchmark suite. The new analysis reveals the reuse distance signatures of these programs and helps to explain the cause of excessive cache misses. It also predicts locality for large inputs based on training analysis of several small inputs. The prediction error is no more than 6% for the 4 scimark workloads.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术文献互助群
群 号:604180095
Book学术官方微信