Skip to main content
QUICK REVIEW

[论文解读] SAWL:A Self-adaptive Wear-leveling NVM Scheme for High Performance Storage Systems

Jianming Huang, Yu Hua|arXiv (Cornell University)|May 8, 2019
Parallel Computing and Optimization TechniquesComputer Science参考文献 40被引用 3
一句话总结

本文提出 SAWL,一种面向基于 MLC 的非易失性存储器(NVM)的自适应磨损均衡方案,通过动态调整磨损均衡粒度,在均衡写入分布与提升缓存命中率之间实现平衡。通过利用片上 SRAM 缓存最近访问的映射关系,SAWL 降低了地址转换延迟,显著延长了 NVM 寿命,同时最大限度减少高性能计算(HPC)工作负载中的性能下降。

ABSTRACT

In order to meet the needs of high performance computing (HPC) in terms of large memory, high throughput and energy savings, the non-volatile memory (NVM) has been widely studied due to its salient features of high density, near-zero standby power, byte-addressable and non-volatile properties. In HPC systems, the multi-level cell (MLC) technique is used to significantly increase device density and decrease the cost, which however leads to much weaker endurance than the single-level cell (SLC) counterpart. Although wear-leveling techniques can mitigate this weakness in MLC, the improvements upon MLC-based NVM become very limited due to not achieving uniform write distribution before some cells are really worn out. To address this problem, our paper proposes a self-adaptive wear-leveling (SAWL) scheme for MLC-based NVM. The idea behind SAWL is to dynamically tune the wear-leveling granularities and balance the writes across the cells of entire memory, thus achieving suitable tradeoff between the lifetime and cache hit rate. Moreover, to reduce the size of the address-mapping table, SAWL maintains a few recently-accessed mappings in a small on-chip cache. Experimental results demonstrate that SAWL significantly improves the NVM lifetime and the performance for HPC systems, compared with state-of-the-art schemes.

研究动机与目标

  • 解决基于 MLC 的 NVM 耐用性有限的问题,其耐久性远低于 SLC,原因在于每个单元存储多位数据。
  • 克服现有针对 SLC-NVM 设计的磨损均衡算法效率低下问题,这些算法在单元磨损之前无法实现均匀的写入分布。
  • 减小地址映射表的大小,以避免在大规模 NVM 系统中因长转换延迟导致的性能下降。
  • 通过将频繁访问的映射关系保留在片上 SRAM 缓存中,提升缓存命中率,从而减少对缓慢的 NVM 映射表存储的依赖。
  • 通过动态调整磨损均衡粒度,实现 NVM 寿命与系统性能之间的更好权衡

提出的方法

  • 根据运行时访问模式动态调整磨损均衡粒度(区域大小),以在物理单元之间实现均衡的写入分布。
  • 采用自适应算法,调节交换周期和区域大小,以优化寿命延长与缓存效率之间的权衡。
  • 维护一个小型片上 SRAM 缓存,用于存储最近访问的逻辑到物理地址映射,以降低转换延迟。
  • 实施分层架构,仅将频繁访问的映射关系缓存,而将完整的映射表存储在 NVM 上,以减少片上内存开销。
  • 使用代数函数实现随机重映射,以防止恶意攻击,同时确保比以往代数方案更快地收敛到均匀的写入分布。
  • 通过修改内存控制器以支持动态粒度调节和高效的缓存管理,与现有 NVM 系统无缝集成。

实验结果

研究问题

  • RQ1与固定粒度方案相比,动态调整磨损均衡粒度是否能改善基于 MLC 的系统中 NVM 的寿命?
  • RQ2当映射表完全存储在 NVM 上时,其大小如何影响系统性能?缓存能否减轻这一影响?
  • RQ3自适应方案在高性能计算工作负载中,能在多大程度上同时改善写入分布和缓存命中率?
  • RQ4与基线和最先进的磨损均衡方案相比,SAWL 的性能开销(如 IPC 下降)是多少?
  • RQ5SAWL 是否能在不产生过度写放大或内存开销的前提下,实现接近理想的 NVM 寿命?

主要发现

  • 在 SPEC CPU2006 应用程序中,SAWL 的 IPC 下降平均仅为 5%,显著优于 BWL(23%)和 NWL-4(10%)。
  • 通过动态调整磨损均衡粒度以匹配访问模式并提升缓存命中率,该方案实现了接近理想的 NVM 寿命。
  • 通过仅缓存最近访问的映射关系,SAWL 减少了片上映射表的大小,避免了因长转换延迟导致的性能下降。
  • 实验结果表明,与最先进的磨损均衡方案相比,SAWL 显著提升了 NVM 寿命和系统性能。
  • 对于访问模式稀疏的应用程序(如 bzip2 和 milc),由于缓存命中率高,性能影响可忽略不计。
  • SAWL 中 128 的交换周期在磨损均衡效果与性能开销之间实现了良好平衡。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。