The ZCache: Decoupling Ways and Associativity

计算机科学 结合属性 隐藏物 并行计算 缓存算法 缓存污染 智能缓存 缓存失效 延迟(音频) 缓存着色 CPU缓存 数学 电信 纯数学
作者
Daniel Sánchez,Christos Kozyrakis
标识
DOI:10.1109/micro.2010.20
摘要

The ever-increasing importance of main memory latency and bandwidth is pushing CMPs towards caches with higher capacity and associativity. Associativity is typically improved by increasing the number of ways. This reduces conflict misses, but increases hit latency and energy, placing a stringent trade-off on cache design. We present the zcache, a cache design that allows much higher associativity than the number of physical ways (e.g. a 64-associative cache with 4 ways). The zcache draws on previous research on skew-associative caches and cuckoo hashing. Hits, the common case, require a single lookup, incurring the latency and energy costs of a cache with a very low number of ways. On a miss, additional tag lookups happen off the critical path, yielding an arbitrarily large number of replacement candidates for the incoming block. Unlike conventional designs, the zcache provides associativity by increasing the number of replacement candidates, but not the number of cache ways. To understand the implications of this approach, we develop a general analysis framework that allows to compare associativity across different cache designs (e.g. a set-associative cache and a zcache) by representing associativity as a probability distribution. We use this framework to show that for zcaches, associativity depends only on the number of replacement candidates, and is independent of other factors (such as the number of cache ways or the workload). We also show that, for the same number of replacement candidates, the associativity of a zcache is superior than that of a set-associative cache for most workloads. Finally, we perform detailed simulations of multithreaded and multiprogrammed workloads on a large-scale CMP with zcache as the last-level cache. We show that zcaches provide higher performance and better energy efficiency than conventional caches without incurring the overheads of designs with a large number of ways.

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
WEN完成签到,获得积分10
刚刚
Lesley完成签到,获得积分10
刚刚
1秒前
1秒前
dgqz发布了新的文献求助10
1秒前
鱼鱼完成签到 ,获得积分10
2秒前
量子星尘发布了新的文献求助10
2秒前
Ryuki完成签到 ,获得积分10
3秒前
4秒前
4秒前
代代发布了新的文献求助10
4秒前
大胆诗云发布了新的文献求助10
5秒前
传奇3应助yuan采纳,获得10
5秒前
5秒前
5秒前
5秒前
脑洞疼应助gq采纳,获得10
5秒前
科研通AI6应助无语的蛋堡采纳,获得10
6秒前
科研通AI6应助少7一点8采纳,获得30
6秒前
太叔开山发布了新的文献求助10
6秒前
852应助mof采纳,获得10
7秒前
7秒前
wos完成签到,获得积分10
7秒前
8秒前
小J发布了新的文献求助10
8秒前
YAN发布了新的文献求助20
8秒前
Dr_guo完成签到,获得积分10
9秒前
人间冒险完成签到,获得积分10
9秒前
科研通AI6应助俊秀的傲松采纳,获得10
9秒前
10秒前
11秒前
古娜拉黑暗之神完成签到,获得积分20
11秒前
ouLniM完成签到 ,获得积分10
11秒前
ww完成签到 ,获得积分10
11秒前
12秒前
Dr_guo发布了新的文献求助10
12秒前
米糊发布了新的文献求助10
12秒前
shanshui完成签到,获得积分10
12秒前
David发布了新的文献求助10
13秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Predation in the Hymenoptera: An Evolutionary Perspective 1800
List of 1,091 Public Pension Profiles by Region 1561
Binary Alloy Phase Diagrams, 2nd Edition 1200
Holistic Discourse Analysis 600
Beyond the sentence: discourse and sentential form / edited by Jessica R. Wirth 600
Atlas of Liver Pathology: A Pattern-Based Approach 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5507945
求助须知:如何正确求助?哪些是违规求助? 4603407
关于积分的说明 14485334
捐赠科研通 4537440
什么是DOI,文献DOI怎么找? 2486673
邀请新用户注册赠送积分活动 1469203
关于科研通互助平台的介绍 1441568