arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1605.06483cs.AR
收藏

简单的DRAM和虚拟内存抽象实现高效内存系统

Simple DRAM and Virtual Memory Abstractions to Enable Highly Efficient Memory Systems

Vivek Seshadri

摘要:

在大多数现代系统中,存储器子系统在各种资源处以多个不同粒度被管理和访问。我们观察到,这样的多粒度管理的内存子系统中的显着的低效率的结果。具体地,我们观察到1)页面粒度虚拟内存不必要地触发大内存操作,以及2)现有的高速缓存行粒度内存接口对于执行批量数据操作和表现出差的空间局部性的操作是低效的。为了解决这些问题,本文提出了一系列的技术。首先,我们提出了页面覆盖,一个框架增强了现有的虚拟内存框架的能力,以跟踪一个新版本的一个子集的高速缓存行在每个虚拟页面。我们表明,这种扩展是强大的,通过展示它的好处在一些应用程序。其次,我们表明,DRAM可用于执行更复杂的操作,而不仅仅是存储数据。我们提出了行克隆,一种机制来执行批量数据复制和初始化完全内部的DRAM,和伙伴RAM,一种机制来执行批量逐位操作使用DRAM。这两种技术都实现了相应操作效率的数量级改进。第三,我们提出了聚集分散DRAM,一种技术,利用DRAM组织有效地收集/分散值与2的权力跨越访问模式。对于这些访问模式,GS-DRAM实现了接近理想的带宽和缓存利用率,而不会增加从内存中获取数据的延迟。最后,我们提出了脏块索引,一种新的跟踪脏块的方法。除了提高批量数据一致性的效率外,DBI还有几个应用,包括高性能内存调度、高效缓存查找旁路和支持异构ECC。

英文摘要:

In most modern systems, the memory subsystem is managed and accessed at multiple different granularities at various resources. We observe that such multi-granularity management results in significant inefficiency in the memory subsystem. Specifically, we observe that 1) page-granularity virtual memory unnecessarily triggers large memory operations, and 2) existing cache-line granularity memory interface is inefficient for performing bulk data operations and operations that exhibit poor spatial locality. To address these problems, we present a series of techniques in this thesis. First, we propose page overlays, a framework augments the existing virtual memory framework with the ability to track a new version of a subset of cache lines within each virtual page. We show that this extension is powerful by demonstrating its benefits on a number of applications. Second, we show that DRAM can be used to perform more complex operations than just store data. We propose RowClone, a mechanism to perform bulk data copy and initialization completely inside DRAM, and Buddy RAM, a mechanism to perform bulk bitwise operations using DRAM. Both these techniques achieve an order-of-magnitude improvement in the efficiency of the respective operations. Third, we propose Gather-Scatter DRAM, a technique that exploits DRAM organization to effectively gather/scatter values with a power-of-2 strided access patterns. For these access patterns, GS-DRAM achieves near-ideal bandwidth and cache utilization, without increasing the latency of fetching data from memory. Finally, we propose the Dirty-Block Index, a new way of tracking dirty blocks. In addition to improving the efficiency of bulk data coherence, DBI has several applications including high-performance memory scheduling, efficient cache lookup bypassing, and enabling heterogeneous ECC.

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

↑