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

理解应对 DRAM 读干扰的新兴行业解决方案的安全收益与开销

Understanding the Security Benefits and Overheads of Emerging Industry Solutions to DRAM Read Disturbance

Oğuzhan Canpolat, A. Giray Yağlıkçı, Geraldo F. Oliveira, Ataberk Olgun, Oğuz Ergin, Onur Mutlu

AI总结:

本文首次系统分析 DDR5 新兴的 PRAC 读干扰缓解机制,揭示其安全配置阈值、性能开销及可被对抗访问模式利用的可用性风险,并开源 Ramulator 2.0 实现。

摘要:

我们首次对 JEDEC DDR5 规范 2024 年 4 月更新中描述的、最先进的 DRAM 晶粒内读干扰缓解方法 Per Row Activation Counting(PRAC,逐行激活计数)进行了严格的安全性、性能、能耗和成本分析。不同于先前最先进方法建议内存控制器周期性发出 refresh management(RFM,刷新管理)命令,以为 DRAM 芯片提供执行刷新的时间,PRAC 引入了一种新的退避信号。PRAC 的退避信号从 DRAM 芯片传播到内存控制器,并强制内存控制器:1)停止处理请求;2)发出 RFM 命令。因此,RFM 命令是在需要时发出,而不是周期性发出,从而降低 RFM 的开销。我们分四步分析 PRAC。首先,我们定义了一种对抗性访问模式,它代表 PRAC 安全性的最坏情况。其次,我们研究 PRAC 的配置及其安全影响。我们的分析表明,只要在访问某个存储位置 10 次之前不发生位翻转,就可以将 PRAC 配置为安全运行。第三,我们使用 Ramulator 2.0 评估 PRAC 的性能影响,并将其与先前工作进行比较。我们的分析表明,尽管 PRAC 对当今 DRAM 芯片造成的性能开销低于 13%,但对于更容易受到读干扰位翻转影响的未来 DRAM 芯片,其性能开销最高可达 94%。第四,我们定义了一种可用性对抗性访问模式,该模式会加剧 PRAC 的性能开销以实施内存性能攻击,并证明这种对抗性模式最多可占用 94% 的 DRAM 吞吐量,并使系统吞吐量最多下降 95%。我们讨论了 PRAC 对未来系统的影响,并预示未来的研究方向。为助力未来研究,我们在 https://github.com/CMU-SAFARI/ramulator2 开源了我们的实现和脚本。

英文摘要:

We present the first rigorous security, performance, energy, and cost analyses of the state-of-the-art on-DRAM-die read disturbance mitigation method, Per Row Activation Counting (PRAC), described in JEDEC DDR5 specification's April 2024 update. Unlike prior state-of-the-art that advises the memory controller to periodically issue refresh management (RFM) commands, which provides the DRAM chip with time to perform refreshes, PRAC introduces a new back-off signal. PRAC's back-off signal propagates from the DRAM chip to the memory controller and forces the memory controller to 1) stop serving requests and 2) issue RFM commands. As a result, RFM commands are issued when needed as opposed to periodically, reducing RFM's overheads. We analyze PRAC in four steps. First, we define an adversarial access pattern that represents the worst-case for PRAC's security. Second, we investigate PRAC's configurations and security implications. Our analyses show that PRAC can be configured for secure operation as long as no bitflip occurs before accessing a memory location 10 times. Third, we evaluate the performance impact of PRAC and compare it against prior works using Ramulator 2.0. Our analysis shows that while PRAC incurs less than 13% performance overhead for today's DRAM chips, its performance overheads can reach up to 94% for future DRAM chips that are more vulnerable to read disturbance bitflips. Fourth, we define an availability adversarial access pattern that exacerbates PRAC's performance overhead to perform a memory performance attack, demonstrating that such an adversarial pattern can hog up to 94% of DRAM throughput and degrade system throughput by up to 95%. We discuss PRAC's implications on future systems and foreshadow future research directions. To aid future research, we open-source our implementations and scripts at https://github.com/CMU-SAFARI/ramulator2.

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

↑