Profiling over adaptive ranges

Shashidhar Mysore, B. Agrawal, T. Sherwood, Nisheeth Shrivastava, S. Suri
{"title":"Profiling over adaptive ranges","authors":"Shashidhar Mysore, B. Agrawal, T. Sherwood, Nisheeth Shrivastava, S. Suri","doi":"10.1109/CGO.2006.30","DOIUrl":null,"url":null,"abstract":"Modern computer systems are called on to deal with billions of events every second, whether they are instructions executed, memory locations accessed, or packets forwarded. This presents a serious challenge to those who seek to quantify, analyze, or optimize such systems, because important trends and behaviors may easily be lost in a sea of data. We present range adaptive profiling (RAP) as a new and general purpose profiling method capable of hierarchically classifying streams of data efficiently in hardware. Through the use of RAP, events in an input stream are dynamically classified into increasingly precise categories based on the frequency with which they occur. The more important a class, or range of events, the more precisely it is quantified. Despite the dynamic nature of our technique, we build upon tight theoretic bounds covering both worst-case error as well as the required memory. In the limit, it is known that error and the memory bounds can be independent of the stream size, and grow only linearly with the level of precision desired. Significantly, we expose the critical constants in these algorithms and through careful engineering, algorithm re-design, and use of heuristics, we show how a high performance profile system can be implemented for range adaptive profiling. RAP can be used on various profiles such as PCs, load values, and memory addresses, and has a broad range of uses, from hot-region profiling to quantifying cache miss value locality. We propose two methods of implementation, one in software and the other with specialized hardware, and we show that with just 8k bytes of memory range profiles can be gathered with an average accuracy of 98%.","PeriodicalId":196640,"journal":{"name":"International Symposium on Code Generation and Optimization (CGO'06)","volume":"208 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2006-03-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"12","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Symposium on Code Generation and Optimization (CGO'06)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CGO.2006.30","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 12

Abstract

Modern computer systems are called on to deal with billions of events every second, whether they are instructions executed, memory locations accessed, or packets forwarded. This presents a serious challenge to those who seek to quantify, analyze, or optimize such systems, because important trends and behaviors may easily be lost in a sea of data. We present range adaptive profiling (RAP) as a new and general purpose profiling method capable of hierarchically classifying streams of data efficiently in hardware. Through the use of RAP, events in an input stream are dynamically classified into increasingly precise categories based on the frequency with which they occur. The more important a class, or range of events, the more precisely it is quantified. Despite the dynamic nature of our technique, we build upon tight theoretic bounds covering both worst-case error as well as the required memory. In the limit, it is known that error and the memory bounds can be independent of the stream size, and grow only linearly with the level of precision desired. Significantly, we expose the critical constants in these algorithms and through careful engineering, algorithm re-design, and use of heuristics, we show how a high performance profile system can be implemented for range adaptive profiling. RAP can be used on various profiles such as PCs, load values, and memory addresses, and has a broad range of uses, from hot-region profiling to quantifying cache miss value locality. We propose two methods of implementation, one in software and the other with specialized hardware, and we show that with just 8k bytes of memory range profiles can be gathered with an average accuracy of 98%.
自适应范围分析
现代计算机系统被要求每秒处理数十亿个事件,无论是执行指令、访问内存位置还是转发数据包。这对那些寻求量化、分析或优化此类系统的人提出了严峻的挑战,因为重要的趋势和行为可能很容易在数据的海洋中丢失。我们提出了范围自适应分析(RAP)作为一种新的通用分析方法,能够在硬件上对数据流进行有效的分层分类。通过使用RAP,可以根据事件发生的频率动态地将输入流中的事件分类为越来越精确的类别。一个类或一系列事件越重要,它的量化就越精确。尽管我们的技术具有动态性,但我们建立在严格的理论界限上,涵盖了最坏情况误差和所需的内存。在极限情况下,已知错误和内存边界可以与流大小无关,并且仅随所需精度水平线性增长。值得注意的是,我们揭示了这些算法中的关键常数,并通过仔细的工程,算法重新设计和启发式的使用,我们展示了如何实现高性能的轮廓系统来实现范围自适应轮廓。RAP可以用于各种配置文件,如pc、负载值和内存地址,并且具有广泛的用途,从热区域分析到量化缓存缺失值位置。我们提出了两种实现方法,一种是在软件中,另一种是在专门的硬件上,我们表明,仅使用8k字节的内存就可以以98%的平均准确率收集范围配置文件。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信
小红书