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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
刚刚
刚刚
蝈蝈完成签到,获得积分10
1秒前
bowentown发布了新的文献求助10
1秒前
2秒前
科研通AI6.2应助王巍然采纳,获得10
2秒前
2秒前
小仙发布了新的文献求助10
2秒前
晚叙关注了科研通微信公众号
2秒前
hyx9504完成签到,获得积分10
3秒前
玛卡巴卡完成签到 ,获得积分10
3秒前
7788发布了新的文献求助10
5秒前
5秒前
Nin发布了新的文献求助10
5秒前
梦辞完成签到,获得积分10
5秒前
天天快乐应助杨小洋采纳,获得10
6秒前
橘子面包发布了新的文献求助10
7秒前
ALAI发布了新的文献求助10
7秒前
我是老大应助巴巴塔采纳,获得10
8秒前
甜蜜的半芹完成签到 ,获得积分10
8秒前
大个应助梦辞采纳,获得10
9秒前
ZhuoCui完成签到,获得积分10
9秒前
10秒前
Ava应助结实鹰采纳,获得10
10秒前
斯文败类应助失眠的耳机采纳,获得10
10秒前
10秒前
10秒前
10秒前
11秒前
直率的鸿完成签到,获得积分10
11秒前
itexll完成签到 ,获得积分10
12秒前
Berry完成签到,获得积分10
12秒前
Liu完成签到 ,获得积分10
13秒前
香蕉觅云应助xiaoyuzi采纳,获得10
13秒前
张津浩完成签到,获得积分10
13秒前
13秒前
13秒前
aajhajkahna应助小张采纳,获得10
14秒前
英吉利25发布了新的文献求助10
15秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 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