arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1907.02184cs.AR
收藏

TicToc:在混合存储器系统中实现带宽高效的DRAM高速缓存,用于命中和未命中

TicToc: Enabling Bandwidth-Efficient DRAM Caching for both Hits and Misses in Hybrid Memory Systems

Vinson Young, Zeshan Chishti, Moinuddin K. Qureshi

摘要:

本文研究了混合DRAM + 3D-XPoint存储器的带宽效率DRAM缓存。3D-XPoint正在成为DRAM的可行替代品,因为它支持高容量和非易失性主存储器系统;然而,3D-XPoint的读取速度慢4- 8倍,写入速度更差。因此,在3D-XPoint之前的有效DRAM缓存对于实现高容量、低延迟和高写入带宽存储器非常重要。DRAM缓存设计有两种主要方法:(1)内部标签缓存行(TIC)组织,通过将标签存储在每条线旁边,以便一次访问既获得标签又获得数据,来优化命中,以及(2)外部标签缓存行(TOC)组织,通过将来自多个数据线的标签存储在一起,以优化未命中,以便一次标签访问获得多个数据线的信息。理想情况下,我们希望TIC具有低命中延迟,TOC具有低未命中带宽。为此,我们提出了TicToc,一个提供TIC和TOC的组织,以获得两者的命中和错过的好处。然而,我们发现,单纯地将两者结合起来实际上比TIC执行得更差,因为需要支付带宽来维护两个元数据。这项工作的主要贡献是开发架构技术,以减少维护TIC和TOC元数据的带宽。我们发现大部分的带宽成本是由于维护TOC脏位。我们提出了DRAM缓存脏位,它携带DRAM缓存脏信息的最后一级缓存,修剪重复的脏位检查已知的脏线。然后,我们提出了先发制人的脏标记,它预测哪些行将被写入,并在安装时主动标记脏位,以摊销初始脏位更新。我们对具有3D-XPoint内存的4GB DRAM缓存进行的评估表明,TicToc比基线TIC提高了10%的速度,使用理想化的DRAM缓存w/64 MB SRAM标签,可以实现接近14%的速度提升,同时只需要34 KB SRAM。

英文摘要:

This paper investigates bandwidth-efficient DRAM caching for hybrid DRAM + 3D-XPoint memories. 3D-XPoint is becoming a viable alternative to DRAM as it enables high-capacity and non-volatile main memory systems; however, 3D-XPoint has 4-8x slower read, and worse writes. As such, effective DRAM caching in front of 3D-XPoint is important to enable a high-capacity, low-latency, and high-write-bandwidth memory. There are two major approaches for DRAM cache design: (1) a Tag-Inside-Cacheline (TIC) organization that optimizes for hits, by storing tag next to each line such that one access gets both tag and data, and (2) a Tag-Outside-Cacheline (TOC) organization that optimizes for misses, by storing tags from multiple data-lines together such that one tag-access gets info for several data-lines. Ideally, we desire the low hit-latency of TIC, and the low miss-bandwidth of TOC. To this end, we propose TicToc, an organization that provisions both TIC and TOC to get hit and miss benefits of both. However, we find that naively combining both actually performs worse than TIC, because one needs to pay bandwidth to maintain both metadata. The main contribution of this work is developing architectural techniques to reduce the bandwidth of maintaining both TIC and TOC metadata. We find the majority of the bandwidth cost is due to maintaining TOC dirty bits. We propose DRAM Cache Dirtiness Bit, which carries DRAM cache dirty info to last-level caches, to prune repeated dirty-bit checks for known dirty lines. We then propose Preemptive Dirty Marking, which predicts which lines will be written and proactively marks dirty bit at install time, to amortize the initial dirty-bit update. Our evaluations on a 4GB DRAM cache with 3D-XPoint memory show that TicToc enables 10% speedup over baseline TIC, nearing 14% speedup possible with an idealized DRAM cache w/ 64MB of SRAM tags, while needing only 34KB SRAM.

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

↑