Modeling Cache Sharing on Chip Multiprocessor Architectures

Pavlos Petoumenos, G. Keramidas, Håkan Zeffer, S. Kaxiras, Erik Hagersten
{"title":"Modeling Cache Sharing on Chip Multiprocessor Architectures","authors":"Pavlos Petoumenos, G. Keramidas, Håkan Zeffer, S. Kaxiras, Erik Hagersten","doi":"10.1109/IISWC.2006.302740","DOIUrl":null,"url":null,"abstract":"As CMPs are emerging as the dominant architecture for a wide range of platforms (from embedded systems and game consoles, to PCs, and to servers) the need to manage on-chip resources, such as shared caches, becomes a necessity. In this paper we propose a new statistical model of a CMP shared cache which not only describes cache sharing but also its management via a novel fine-grain mechanism. Our model, called StatShare, accurately describes the behavior of the sharing threads using run-time information (reuse-distance information for memory accesses) and helps us understand how effectively each thread uses its space. The mechanism to manage the cache at the cache-line granularity is inspired by cache decay, but contains important differences. Decayed cache-lines are not turned-off to save leakage but are rather \"available for replacement.\" Decay modifies the underlying replacement policy (random, LRU) to control sharing but in a very flexible and non-strict way which makes it superior to strict cache partitioning schemes (both fine and coarse grained). The statistical model allows us to assess a thread's cache behavior under decay. Detailed CMP simulations show that: i) StatShare accurately predicts the thread behavior in a shared cache, ii) managing sharing via decay (in combination with the StatShare run time information) can be used to enforce external QoS requirements or various high-level fairness policies","PeriodicalId":222041,"journal":{"name":"2006 IEEE International Symposium on Workload Characterization","volume":"31 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2006-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"31","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2006 IEEE International Symposium on Workload Characterization","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IISWC.2006.302740","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 31

Abstract

As CMPs are emerging as the dominant architecture for a wide range of platforms (from embedded systems and game consoles, to PCs, and to servers) the need to manage on-chip resources, such as shared caches, becomes a necessity. In this paper we propose a new statistical model of a CMP shared cache which not only describes cache sharing but also its management via a novel fine-grain mechanism. Our model, called StatShare, accurately describes the behavior of the sharing threads using run-time information (reuse-distance information for memory accesses) and helps us understand how effectively each thread uses its space. The mechanism to manage the cache at the cache-line granularity is inspired by cache decay, but contains important differences. Decayed cache-lines are not turned-off to save leakage but are rather "available for replacement." Decay modifies the underlying replacement policy (random, LRU) to control sharing but in a very flexible and non-strict way which makes it superior to strict cache partitioning schemes (both fine and coarse grained). The statistical model allows us to assess a thread's cache behavior under decay. Detailed CMP simulations show that: i) StatShare accurately predicts the thread behavior in a shared cache, ii) managing sharing via decay (in combination with the StatShare run time information) can be used to enforce external QoS requirements or various high-level fairness policies
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
芯片多处理器架构上的缓存共享建模
随着cmp逐渐成为各种平台(从嵌入式系统和游戏机,到pc和服务器)的主导架构,管理片上资源(如共享缓存)的需求变得必不可少。本文提出了一种新的CMP共享缓存统计模型,该模型不仅描述了缓存共享,而且通过一种新颖的细粒度机制对其进行管理。我们的模型称为StatShare,它使用运行时信息(内存访问的重用距离信息)准确地描述了共享线程的行为,并帮助我们了解每个线程如何有效地使用其空间。在缓存行粒度上管理缓存的机制受到缓存衰减的启发,但有重要的区别。腐烂的缓存线不会关闭以避免泄漏,而是“可用于替换”。衰变修改底层替换策略(随机、LRU)来控制共享,但以一种非常灵活和非严格的方式,这使得它优于严格的缓存分区方案(细粒度和粗粒度)。统计模型允许我们评估线程在衰减情况下的缓存行为。详细的CMP模拟表明:i) StatShare准确地预测了共享缓存中的线程行为,ii)通过衰减管理共享(结合StatShare运行时信息)可用于强制执行外部QoS要求或各种高级公平策略
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Evaluating Benchmark Subsetting Approaches An Architectural Characterization Study of Data Mining and Bioinformatics Workloads Techniques for Real-System Characterization of Java Virtual Machine Energy and Power Behavior A Quantitative Evaluation of the Contribution of Native Code to Java Workloads DFS: A Simple to Write Yet Difficult to Execute Benchmark
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1