HARE speeds up detecting read disturbance faults in DRAM memory
HARE: Fast Read Disturbance Threshold Profiling in Modern DRAM Chips via Reduced Timing Constraints
Hardware ArchitectureCryptography and Security
Summary
DRAM memory chips can develop errors when certain nearby memory rows are accessed repeatedly, a problem called read disturbance. The authors present HARE, a new way to measure how many times a memory row can be accessed before errors happen, doing it much faster than before. HARE works by intentionally making these errors appear sooner using reduced timing delays, which helps identify vulnerable memory areas quickly. Their tests on many real DRAM chips show that HARE is faster and almost as accurate as older methods and helps improve system performance.
What this means in practice
- •For memory system engineers: Shorten the time needed to profile DRAM chips for read disturbance thresholds to configure protections dynamically and improve reliability.
- •For hardware testing teams: Enable faster detection of vulnerable DRAM rows during manufacturing or system integration to catch faults early.
Authors
F. Nisa Bostanci, Ismail E. Yuksel, Ataberk Olgun, Harsh Songara, Andreas Kosmas Kakolyris, Haocong Luo, Konstantinos Marios Sgouras, Onur Mutlu
Abstract
Modern DRAM chips are vulnerable to read disturbance, which manifests as bitflips in a victim row physically near an aggressor row that is repeatedly activated. State-of-the-art mitigations rely on accurate and exhaustive profiling of the read disturbance threshold (RDT), i.e., the minimum number of aggressor row activations needed to induce the first bitflip. However, RDT changes significantly and unpredictably over time, motivating online profilers that dynamically adjust a mitigation's RDT configuration. RDT profiling is costly for online profilers (e.g., hundreds of seconds for a 16-bank DDR4 module) because 1) measuring a single DRAM row's RDT requires many activations and 2) each DRAM row can have a different RDT, requiring many rows to be profiled. We introduce HARE, an online RDT profiling technique that intentionally exacerbates read disturbance to quickly profile a DRAM module. HARE's key idea is to reduce the timing constraints between consecutive DRAM commands during profiling. Doing so significantly reduces profiling time by 1) directly reducing the execution time of the profiling command sequence and 2) exacerbating read disturbance such that the first bitflip occurs at a smaller activation count than with the conventional RowHammer sequence. From our characterization of 180 real DDR4 DRAM chips from four major DRAM manufacturers, we make three observations. First, HARE measures a DRAM row's RDT 31.2% faster than the RowHammer profiler and a DRAM module's minimum RDT with an average reduction of 21.7%. Second, HARE flips more than 95% of the cells that the RowHammer pattern flips. Third, HARE preserves the RDT ranking of rows well enough such that it can exhaustively reprofile a small set of rows to improve its minimum RDT estimation. Our end-to-end evaluations show that HARE enables significant system performance improvements and outperforms the RowHammer profiler.