内核的写入:应用只读内存
The Kernel's Write: Application Read-Only Memory
AI总结:
针对LtRAM读写不对称、耐久性有限和写入粒度粗的问题,提出应用只读内存(AROM)设计,将LtRAM页对应用只读,仅由操作系统在页迁移时写入,通过写时复制实现,简化硬件并匹配DRAM性能。
摘要:
除了功耗,DRAM已成为数据中心增长的主要限制因素。随着过去十年DRAM每比特成本趋于平稳,一类新兴内存技术——称为长期内存(LtRAM)——提供了更密集、更便宜的主内存路径。然而,LtRAM有三个主要缺点:不对称的读写延迟、有限的耐久性和粗粒度的写入。为了将软件与这些缺点隔离,诸如Intel Optane之类的LtRAM技术复制了闪存设备的方法,引入了一个管理磨损均衡、地址重映射和读写缓存的转换层。先前的实验研究发现这些操作显著增加了LtRAM的延迟。我们不是让LtRAM看起来像DRAM,而是建议重新设计硬件/软件接口,将更多责任卸载给操作系统。这一设计基于一个核心属性——应用只读内存(AROM):LtRAM页对应用只读,仅由操作系统在页迁移期间写入。AROM通过利用写时复制(CoW)来强制执行:应用对LtRAM的写入触发一个故障,在存储应用之前将页迁移回DRAM。这一不变性允许我们将LtRAM管理从DIMM上的控制器转移到操作系统,从而大幅简化DIMM的硬件。通过这种方法,我们的目标是在读密集型工作负载上匹配纯DRAM的性能,同时提供LtRAM的密度和成本优势。
英文摘要:
Alongside power, DRAM has become a major limiting factor in datacenter growth. As DRAM's cost-per-bit has plateaued over the past decade, a class of emerging memory technologies, called Long-term RAM (LtRAM), offers a path to denser and cheaper main memory. However, LtRAM has three main drawbacks: asymmetric read/write latencies, limited endurance, and coarse write granularity. In an attempt to isolate software from these drawbacks, LtRAM technologies such as Intel Optane copy an approach from flash devices and introduce a translation layer that manages wear-leveling, address remapping, and read/write caching. Prior experimental studies have found these operations add significantly to LtRAM latency. Rather than making LtRAM look like DRAM, we propose redesigning the hardware/software interface to offload more responsibility to the operating system. This design hinges on one central property, Application Read-Only Memory (AROM): LtRAM pages are read-only to applications and written only by the OS during page migrations. AROM is enforced by leveraging copy-on-write (CoW): application writes to LtRAM trigger a fault that migrates the page back to DRAM before the store is applied. This invariant allows us to shift LtRAM management from the on-DIMM controller to the operating system, drastically simplifying the DIMM's hardware. With this approach, we aim to match the performance of pure DRAM on read-mostly workloads while delivering LtRAM's density and cost advantages.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。