The memory controller is in charge of managing DRAM maintenance operations (e.g., refresh, RowHammer protection, memory scrubbing) in current DRAM chips. Implementing new maintenance operations often necessitates modifications in the DRAM interface, memory controller, and potentially other system components. Such modifications are only possible with a new DRAM standard, which takes a long time to develop, leading to slow progress in DRAM systems. In this paper, our goal is to 1) ease the process of enabling new DRAM maintenance operations and 2) enable more efficient in-DRAM maintenance operations. Our idea is to set the memory controller free from managing DRAM maintenance. To this end, we propose Self-Managing DRAM (SMD), a new low-cost DRAM architecture that enables implementing new in-DRAM maintenance mechanisms (or modifying old ones) with no further changes in the DRAM interface, memory controller, or other system components. We use SMD to implement new in-DRAM maintenance mechanisms for three use cases: 1) periodic refresh, 2) RowHammer protection, and 3) memory scrubbing. Our evaluations show that SMD-based maintenance operations significantly improve the system performance and energy efficiency while providing higher reliability compared to conventional DDR4 DRAM. A combination of SMD-based maintenance mechanisms that perform refresh, RowHammer protection, and memory scrubbing achieve 7.6% speedup and consume 5.2% less DRAM energy on average across 20 memory-intensive four-core workloads. We make SMD source code openly and freely available at [129].
翻译:内存控制器负责管理当前 DRAM 芯片中的 DRAM 维护操作( 例如, 刷新、 RowHammer 保护、 记忆清洗) 。 实施新的维护操作往往需要修改 DRAM 接口、 内存控制器和潜在的其他系统组件。 只有采用新的 DRAM 标准, 才能进行这种修改, 开发DRAM 接口、 导致 DRAM 系统的进展缓慢。 在本文件中, 我们的目标是:(1) 简化允许新的DRAM 维护操作的程序,(2) 使DRAM 维护操作更加高效。 我们的想法是让存储控制器免于管理 DRAM 维护工作。 为此,我们建议建立自定义DRAM, 新的低成本 DRAM 管理结构, 新的DRAM 维护机制( 或修改旧机制), 而DRAM 接口、 存储控制器或其他系统组件没有进一步改变。 我们使用SMDMD 3个使用的新 DRAM 维护机制:(1) 定期更新, 2 现有哈默保护, 和3 记忆清洗。 我们的评价显示,基于 SMDMDDD 的维护操作大大改进系统 4 标准 和标准 的4 格式化标准 的系统运行和标准, 更新标准 更新标准 更新标准, 更新标准 更新标准 更新标准 更新标准