arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1806.00779cs.AR
收藏

Gemini:通过混合映射降低DRAM缓存命中延迟

Gemini: Reducing DRAM Cache Hit Latency by Hybrid Mappings

Ye Chi

摘要:

芯片堆叠DRAM缓存越来越多地被提倡,以弥合片上缓存和主存之间的性能差距。提高DRAM缓存命中率和降低缓存命中延迟是至关重要的。根据数据映射策略,现有的DRAM缓存设计分为两类:组关联和直接映射,实现任意一种。在本文中,我们提出了一个部分直接映射的裸片堆叠DRAM高速缓存,以实现这两个目标,同时称为双子座,这是出于以下观察:应用统一的映射策略,不同的块不能实现高缓存命中率和低命中延迟的映射结构。Gemini Cache将数据分为前导块和后续块,并分别采用静态映射和动态映射将它们放置在一个统一的集相联结构中。Gemini还设计了一个替换策略来平衡不同块的未命中惩罚和新近度,并提供了策略来减轻由于块类型转换而导致的缓存抖动。实验结果表明,Gemini缓存可以显着缩小命中延迟的差距,直接映射缓存的平均从1.75倍到1.22倍,并可以达到与集关联缓存相当的命中率。与最先进的基线相比,增强的Loh-Hill缓存,Gemini分别将IPC提高了20%。

英文摘要:

Die-stacked DRAM caches are increasingly advocated to bridge the performance gap between on-chip Cache and main memory. It is essential to improve DRAM cache hit rate and lower cache hit latency simultaneously. Prior DRAM cache designs fall into two categories according to the data mapping polices: set-associative and direct-mapped, achieving either one. In this paper, we propose a partial direct-mapped die-stacked DRAM cache to achieve the both objectives simultaneously, called Gemini, which is motivated by the following observations: applying unified mapping policy to different blocks cannot achieve high cache hit rate and low hit latency in terms of mapping structure. Gemini cache classifies data into leading blocks and following blocks, and places them with static mapping and dynamic mapping respectively in a unified set-associative structure. Gemini also designs a replacement policy to balance the different blocks miss penalty and the recency, and provides strategies to mitigate cache thrashing due to block type transitions. Experimental results demonstrate that Gemini cache can narrow the hit latency gap with direct-mapped cache significantly, from 1.75X to 1.22X on average, and can achieve comparable hit rate with set-associative cache. Compared with the state-of-the-art baselines, i.e., enhanced Loh-Hill cache, Gemini improves the IPC by up to 20% respectively.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑