Does halting make hardware trace collection inaccurate? A study using Pentium 4 performance counters and SPEC2000

M. Watson, J. Flanagan
{"title":"Does halting make hardware trace collection inaccurate? A study using Pentium 4 performance counters and SPEC2000","authors":"M. Watson, J. Flanagan","doi":"10.1109/WWC.2004.1437397","DOIUrl":null,"url":null,"abstract":"Processor address traces are invaluable for characterizing workloads and testing proposed memory hierarchies. Long traces are needed to exercise modern cache designs and produce meaningful results, but are difficult to collect with hardware monitors because microprocessors access memory too frequently for disks or other large storage to keep up. The small, fast buffers of the monitors fill quickly; in order to obtain long contiguous traces, the processor must be stopped while the buffer is emptied. This halting may perturb the traces collected, but this cannot be measured directly, since long uninterrupted traces cannot be collected. We make the case that hardware performance counters, which collect runtime statistics without influencing execution, can be used to measure halting effects. We use the performance counters of the Pentium 4 processor to collect statistics while halting the processor as if traces were being collected. We then compare these results to the statistics obtained from unhalted runs. We present our results in terms of which counters are affected, why, and what this means for trace-collection systems.","PeriodicalId":240633,"journal":{"name":"IEEE International Workshop on Workload Characterization, 2004. WWC-7. 2004","volume":"32 11","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2004-10-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE International Workshop on Workload Characterization, 2004. WWC-7. 2004","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/WWC.2004.1437397","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Processor address traces are invaluable for characterizing workloads and testing proposed memory hierarchies. Long traces are needed to exercise modern cache designs and produce meaningful results, but are difficult to collect with hardware monitors because microprocessors access memory too frequently for disks or other large storage to keep up. The small, fast buffers of the monitors fill quickly; in order to obtain long contiguous traces, the processor must be stopped while the buffer is emptied. This halting may perturb the traces collected, but this cannot be measured directly, since long uninterrupted traces cannot be collected. We make the case that hardware performance counters, which collect runtime statistics without influencing execution, can be used to measure halting effects. We use the performance counters of the Pentium 4 processor to collect statistics while halting the processor as if traces were being collected. We then compare these results to the statistics obtained from unhalted runs. We present our results in terms of which counters are affected, why, and what this means for trace-collection systems.
停机是否使硬件跟踪收集不准确?使用奔腾4性能计数器和SPEC2000的研究
处理器地址跟踪对于描述工作负载和测试提议的内存层次是非常宝贵的。要执行现代缓存设计并产生有意义的结果,就需要长跟踪,但是很难用硬件监视器收集,因为微处理器访问内存的频率太高,磁盘或其他大型存储无法跟上。显示器的小而快的缓冲区很快就填满了;为了获得长连续的迹线,处理器必须在清空缓冲区时停止运行。这种停止可能会干扰所收集的轨迹,但这不能直接测量,因为不能收集长时间不间断的轨迹。硬件性能计数器收集运行时统计信息,但不影响执行,因此可以用来衡量停机效果。我们使用Pentium 4处理器的性能计数器来收集统计数据,同时停止处理器,就像正在收集跟踪一样。然后,我们将这些结果与从未停止运行中获得的统计数据进行比较。我们给出的结果包括哪些计数器受到影响、原因以及这对跟踪收集系统意味着什么。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信