芯片堆叠的DRAM:内存、缓存还是MemCache?
Die-Stacked DRAM: Memory, Cache, or MemCache?
摘要:
堆叠式动态随机存取存储器(DRAM)是满足多核处理器日益增长的内存带宽需求的一种有前途的解决方案。制造技术已经使得能够在有源管芯上堆叠数千兆字节的DRAM模块,从而提供与常规的基于DIMM的DDR存储器相比高数量级的带宽。然而,由于其有限的容量,管芯堆叠DRAM无法容纳现代大数据应用的整个数据集。因此,先前的提议将其用作相当大的存储器侧缓存或作为软件可见的主存储器的一部分。缓存设计可以适应应用程序的动态变化,但遭受标签存储/延迟/带宽开销。另一方面,存储器设计消除了对标记的需要,并且因此提供了对数据的有效访问,但是由于其静态性质而不能捕获应用的动态行为。在这项工作中,我们提出了一种情况下使用的管芯堆叠DRAM部分作为主存储器,部分作为缓存。我们观察到,在现代大数据应用程序中,存在许多具有大量访问的热页面。基于这一观察,我们建议使用一部分管芯堆叠DRAM作为主存储器来托管热页,从而能够在没有标签检查开销的情况下为来自高带宽DRAM的大量访问提供服务,并将DRAM的其余部分作为高速缓存来管理,用于捕获应用程序的动态行为。在该提议中,软件过程预处理应用程序并确定热页,然后要求OS将它们映射到裸片堆叠DRAM的存储器部分。裸片堆叠式DRAM的高速缓存部分由硬件管理,高速缓存芯片外存储器中分配的数据。
英文摘要:
Die-stacked DRAM is a promising solution for satisfying the ever-increasing memory bandwidth requirements of multi-core processors. Manufacturing technology has enabled stacking several gigabytes of DRAM modules on the active die, thereby providing orders of magnitude higher bandwidth as compared to the conventional DIMM-based DDR memories. Nevertheless, die-stacked DRAM, due to its limited capacity, cannot accommodate entire datasets of modern big-data applications. Therefore, prior proposals use it either as a sizable memory-side cache or as a part of the software-visible main memory. Cache designs can adapt themselves to the dynamic variations of applications but suffer from the tag storage/latency/bandwidth overhead. On the other hand, memory designs eliminate the need for tags, and hence, provide efficient access to data, but are unable to capture the dynamic behaviors of applications due to their static nature. In this work, we make a case for using the die-stacked DRAM partly as main memory and partly as a cache. We observe that in modern big-data applications there are many hot pages with a large number of accesses. Based on this observation, we propose to use a portion of the die-stacked DRAM as main memory to host hot pages, enabling serving a significant number of the accesses from the high-bandwidth DRAM without the overhead of tag-checking, and manage the rest of the DRAM as a cache, for capturing the dynamic behavior of applications. In this proposal, a software procedure pre-processes the application and determines hot pages, then asks the OS to map them to the memory portion of the die-stacked DRAM. The cache portion of the die-stacked DRAM is managed by hardware, caching data allocated in the off-chip memory.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。