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

BreakHammer:通过谨慎限制可疑线程来增强RowHammer缓解机制

BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect Threads

Oğuzhan Canpolat, A. Giray Yağlıkçı, Ataberk Olgun, İsmail Emir Yüksel, Yahya Can Tuğrul, Konstantinos Kanellopoulos, Oğuz Ergin, Onur Mutlu

AI总结:

BreakHammer通过跟踪并限制触发RowHammer预防性动作的硬件线程,显著降低内存系统性能、能耗和公平性开销,且面积开销几乎为零。

摘要:

RowHammer是DRAM中一种主要的读干扰机制,其中反复访问(锤击)一行DRAM单元(DRAM行)会在物理上邻近的其他DRAM行中诱发位翻转。RowHammer解决方案执行预防性动作(例如,刷新被锤击行的相邻行)以缓解此类位翻转,从而保持内存隔离,这是现代计算系统中安全与隐私的基本构建块。然而,预防性动作会干扰内存请求,导致不可忽略的内存请求延迟和系统性能开销。随着DRAM芯片代际间技术节点尺寸的不断缩小加剧了RowHammer问题,RowHammer解决方案的开销变得极其昂贵。因此,恶意程序可以通过引发大量RowHammer预防性动作,有效地占用内存系统并拒绝为良性应用程序提供服务。\n在这项工作中,我们通过跟踪并限制触发RowHammer解决方案的内存访问生成者来解决RowHammer解决方案的性能开销问题。为此,我们提出了BreakHammer。BreakHammer 1) 观察现有RowHammer缓解机制中耗时的RowHammer预防性动作,2) 识别触发大量此类动作的硬件线程,3) 降低每个被识别线程的内存带宽使用量。因此,BreakHammer显著减少了所执行的RowHammer预防性动作的数量,从而改善了1) 系统性能和DRAM能耗,并2) 降低了施加在良性应用程序上的最大减速,同时面积开销几乎为零。我们广泛的评估表明,BreakHammer有效地减少了八种RowHammer缓解机制在性能、能耗和公平性方面的负面影响。为促进进一步研究,我们在https://github.com/CMU-SAFARI/BreakHammer开源了BreakHammer的实现和脚本。

英文摘要:

RowHammer is a major read disturbance mechanism in DRAM where repeatedly accessing (hammering) a row of DRAM cells (DRAM row) induces bitflips in other physically nearby DRAM rows. RowHammer solutions perform preventive actions (e.g., refresh neighbor rows of the hammered row) that mitigate such bitflips to preserve memory isolation, a fundamental building block of security and privacy in modern computing systems. However, preventive actions induce non-negligible memory request latency and system performance overheads as they interfere with memory requests. As shrinking technology node size over DRAM chip generations exacerbates RowHammer, the overheads of RowHammer solutions become prohibitively expensive. As a result, a malicious program can effectively hog the memory system and deny service to benign applications by causing many RowHammer-preventive actions. In this work, we tackle the performance overheads of RowHammer solutions by tracking and throttling the generators of memory accesses that trigger RowHammer solutions. To this end, we propose BreakHammer. BreakHammer 1) observes the time-consuming RowHammer-preventive actions of existing RowHammer mitigation mechanisms, 2) identifies hardware threads that trigger many of these actions, and 3) reduces the memory bandwidth usage of each identified thread. As such, BreakHammer significantly reduces the number of RowHammer-preventive actions performed, thereby improving 1) system performance and DRAM energy, and 2) reducing the maximum slowdown induced on a benign application, with near-zero area overhead. Our extensive evaluations demonstrate that BreakHammer effectively reduces the negative performance, energy, and fairness effects of eight RowHammer mitigation mechanisms. To foster further research we open-source our BreakHammer implementation and scripts at https://github.com/CMU-SAFARI/BreakHammer.

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

↑