arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.18581cs.ARcs.ET
收藏

PRACtical:用于高效 PRAC Rowhammer 缓解的子阵列级计数器更新与 Bank 级恢复隔离

PRACtical: Subarray-Level Counter Update and Bank-Level Recovery Isolation for Efficient PRAC Rowhammer Mitigation

Ravan Nazaraliyev, Saber Ganjisaffar, Nurlan Nazaraliyev, Nael Abu-Ghazaleh

AI总结:

本文提出 PRACtical,通过子阵列级计数器更新重叠与 bank 级恢复隔离优化 PRAC+ABO,在保持 Rowhammer 安全性的同时提升性能并降低能耗。

摘要:

随着 DRAM 密度增加,Rowhammer 因电荷泄漏加剧而变得更加严重,这减少了诱发位翻转所需的激活次数。DDR5 标准通过 DRAM 内的逐行激活计数器(PRAC)和 Alert Back-Off(ABO)信号触发缓解措施来应对这一威胁。然而,PRAC 会在预充电阶段递增计数器,从而带来性能开销;此外,即使只有一个 bank 遭受攻击,恢复刷新也会使整个内存通道停顿。我们提出 PRACtical,这是一种针对 PRAC+ABO 的性能优化方法,并保持相同的安全保证。首先,我们通过引入集中式递增电路来降低计数器更新延迟,使计数器更新能够与其他子阵列中后续的行激活重叠。其次,我们通过支持 bank 级粒度来增强 $RFM_{ab}$ 缓解机制:不再停顿整个通道,而是仅暂停受影响的 bank。这是通过一个驻留在 DRAM 中、用于识别被攻击 bank 的寄存器实现的。PRACtical 在保持 Rowhammer 防护的同时,相比最先进方法平均提升 8% 性能(最高达 20%),降低 19% 能耗,并将激进性能攻击造成的性能下降限制在 6% 以内。

英文摘要:

As DRAM density increases, Rowhammer becomes more severe due to heightened charge leakage, reducing the number of activations needed to induce bit flips. The DDR5 standard addresses this threat with in-DRAM per-row activation counters (PRAC) and the Alert Back-Off (ABO) signal to trigger mitigation. However, PRAC adds performance overhead by incrementing counters during the precharge phase, and recovery refreshes stalls the entire memory channel, even if only one bank is under attack. We propose PRACtical, a performance-optimized approach to PRAC+ABO that maintains the same security guarantees. First, we reduce counter update latency by introducing a centralized increment circuit, enabling overlap between counter updates and subsequent row activations in other subarrays. Second, we enhance the $RFM_{ab}$ mitigation by enabling bank-level granularity: instead of stalling the entire channel, only affected banks are paused. This is achieved through a DRAM-resident register that identifies attacked banks. PRACtical improves performance by 8% on average (up to 20%) over the state-of-the-art, reduces energy by 19%, and limits performance degradation from aggressive performance attacks to less than 6%, all while preserving Rowhammer protection.

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

↑