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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
ynbn发布了新的文献求助10
刚刚
清晨故友完成签到,获得积分10
1秒前
完美世界应助忧郁易槐采纳,获得10
1秒前
李万洪发布了新的文献求助10
1秒前
1秒前
羊毛卷完成签到,获得积分10
1秒前
昏睡的咖啡完成签到,获得积分10
2秒前
2秒前
2秒前
帅气乾完成签到,获得积分20
2秒前
877633629完成签到 ,获得积分10
3秒前
zhuangxiong完成签到,获得积分10
3秒前
4秒前
江江发布了新的文献求助10
4秒前
Lucas应助张啟美采纳,获得10
4秒前
4秒前
5秒前
sea2023完成签到,获得积分10
5秒前
香蕉觅云应助风趣的天问采纳,获得10
5秒前
6秒前
huohuo143发布了新的文献求助50
6秒前
6秒前
7秒前
7秒前
fly发布了新的文献求助10
7秒前
orixero应助魔幻大有采纳,获得10
7秒前
qqqxun发布了新的文献求助10
7秒前
fufu完成签到,获得积分10
8秒前
巴黎的防发布了新的文献求助10
8秒前
9秒前
9秒前
邢志成发布了新的文献求助10
10秒前
Asnj发布了新的文献求助10
10秒前
羊毛卷发布了新的文献求助10
11秒前
tennisgirl完成签到 ,获得积分10
11秒前
啦啦啦完成签到 ,获得积分10
11秒前
里旺发布了新的文献求助10
11秒前
LYDZ2完成签到,获得积分10
11秒前
11秒前
12秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
China Pluperfect I: Epistemology of Past and Outside in Chinese Art 520
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
基于锂离子电池正极材料回收的绿色溶剂开发及工程化应用研究 500
Auslegungsgeschichte 500
Transdermal drug delivery systems market size report 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7641403
求助须知:如何正确求助?哪些是违规求助? 9214480
关于积分的说明 19766185
捐赠科研通 7206956
什么是DOI,文献DOI怎么找? 3276254
关于科研通互助平台的介绍 2437945
邀请新用户注册赠送积分活动 2273824