Can You Trust Your Memory Trace? A Comparison of Memory Traces from Binary Instrumentation and Simulation

Siddharth Nilakantan, Scott Lerner, Mark Hempstead, B. Taskin
{"title":"Can You Trust Your Memory Trace? A Comparison of Memory Traces from Binary Instrumentation and Simulation","authors":"Siddharth Nilakantan, Scott Lerner, Mark Hempstead, B. Taskin","doi":"10.1109/VLSID.2015.28","DOIUrl":null,"url":null,"abstract":"Simulation is employed extensively to perform exploration of design spaces by computer designers. Contemporary simulation environments are now increasingly complex comprising of support for multiple cores and full operating systems. Resource use between simulation environments vary widely because of these different system contexts and the fact that multi-threaded applications have intrinsic non-determinism. In addition, more recent simulation environments use Dynamic Binary Instrumentation (DBI) traces collected on the system context (OS, library, threading API) of the host system. Methodologies that have been employed to validate and compare simulation frameworks are usually limited to comparing CPI and cache statistics and do not provide a detailed function-level breakdown or understanding of the source of mismatches. In this work, we attempt to identify and quantify the true sources of mismatch between a DBI framework and a full system simulation framework. We use memory traces of multithreaded applications that have been annotated with function call information to allow for a breakdown of the source of mismatch within an application. To the best of our knowledge, this level of detail in comparison has not been attempted before, especially with traces of multi-threaded applications. In this study, we find that the sources of mismatch come mainly from threading mechanisms/threading API function calls, Library/System function calls and User Space condition synchronization. Based on the results of the study, we identify specific functions in each category of mismatch. We then propose a few ways to close the gap and enable more reliable simulation for design space exploration.","PeriodicalId":123635,"journal":{"name":"2015 28th International Conference on VLSI Design","volume":"131 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-02-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 28th International Conference on VLSI Design","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/VLSID.2015.28","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

Simulation is employed extensively to perform exploration of design spaces by computer designers. Contemporary simulation environments are now increasingly complex comprising of support for multiple cores and full operating systems. Resource use between simulation environments vary widely because of these different system contexts and the fact that multi-threaded applications have intrinsic non-determinism. In addition, more recent simulation environments use Dynamic Binary Instrumentation (DBI) traces collected on the system context (OS, library, threading API) of the host system. Methodologies that have been employed to validate and compare simulation frameworks are usually limited to comparing CPI and cache statistics and do not provide a detailed function-level breakdown or understanding of the source of mismatches. In this work, we attempt to identify and quantify the true sources of mismatch between a DBI framework and a full system simulation framework. We use memory traces of multithreaded applications that have been annotated with function call information to allow for a breakdown of the source of mismatch within an application. To the best of our knowledge, this level of detail in comparison has not been attempted before, especially with traces of multi-threaded applications. In this study, we find that the sources of mismatch come mainly from threading mechanisms/threading API function calls, Library/System function calls and User Space condition synchronization. Based on the results of the study, we identify specific functions in each category of mismatch. We then propose a few ways to close the gap and enable more reliable simulation for design space exploration.
你能相信你的记忆痕迹吗?二进制仪器与仿真的内存轨迹比较
模拟被广泛地应用于计算机设计师对设计空间的探索。现代仿真环境现在越来越复杂,包括对多核和完整操作系统的支持。由于这些不同的系统上下文以及多线程应用程序具有内在的不确定性,模拟环境之间的资源使用差异很大。此外,最近的仿真环境使用动态二进制仪表(DBI)跟踪,这些跟踪收集在主机系统的系统上下文(操作系统、库、线程API)上。用于验证和比较模拟框架的方法通常仅限于比较CPI和缓存统计数据,并且不提供详细的功能级分解或对不匹配来源的理解。在这项工作中,我们试图识别和量化DBI框架和完整系统模拟框架之间不匹配的真正来源。我们使用带有函数调用信息注释的多线程应用程序的内存跟踪,以便在应用程序中分解不匹配的来源。据我们所知,这种级别的细节比较以前还没有尝试过,特别是多线程应用程序的跟踪。在本研究中,我们发现不匹配的来源主要来自线程机制/线程API函数调用、库/系统函数调用和用户空间条件同步。根据研究结果,我们确定了每一类不匹配的具体功能。然后,我们提出了一些方法来缩小差距,使更可靠的模拟设计空间探索。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:604180095
Book学术官方微信