DSAC: Low-Cost Rowhammer Mitigation Using In-DRAM Stochastic and Approximate Counting Algorithm

02/07/2023
by   Seungki Hong, et al.
0

DRAM has scaled to achieve low cost per bit and this scaling has decreased Rowhammer threshold. Thus, DRAM has adopted Target-Row-Refresh (TRR) which refreshes victim rows that can possibly lose stored data due to neighboring aggressor rows. Accordingly, prior works focused on TRR algorithm that can identify the most frequently accessed row, Rowhammer, to detect the victim rows. TRR algorithm can be implemented in memory controller, yet it can cause either insufficient or excessive number of TRRs due to lack of information of Rowhammer threshold and it can also degrade system performance due to additional command for Rowhammer mitigation. Therefore, this paper focuses on in-DRAM TRR algorithm. In general, counter-based detection algorithms have higher detection accuracy and scalability compared to probabilistic detection algorithms. However, modern DRAM extremely limits the number of counters for TRR algorithm. This paper demonstrates that decoy-rows are the fundamental reason the state-of-the-art counter-based algorithms cannot properly detect Rowhammer under the area limitation. Decoy-rows are rows whose number of accesses does not exceed the number of Rowhammer accesses within an observation period. Thus, decoy-rows should not replace Rowhammer which are in a count table. Unfortunately, none of the state-of-the-art counter-based algorithms filter out decoy-rows. Consequently, decoy-rows replace Rowhammer in a count table and dispossess TRR opportunities from victim rows. Therefore, this paper proposes `in-DRAM Stochastic and Approximate Counting (DSAC) algorithm', which leverages Stochastic Replacement to filter out decoy-rows and Approximate Counting for low area cost. The key idea is that a replacement occurs if a new row comes in more than a minimum count row in a count table on average so that decoy-rows cannot replace Rowhammer in a count table.

READ FULL TEXT

page 1

page 2

page 3

page 5

page 6

page 10

research
02/11/2021

BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM Rows

Aggressive memory density scaling causes modern DRAM devices to suffer f...
research
05/08/2018

Exploiting Row-Level Temporal Locality in DRAM to Reduce the Memory Access Latency

This paper summarizes the idea of ChargeCache, which was published in HP...
research
09/23/2016

Reducing DRAM Access Latency by Exploiting DRAM Leakage Characteristics and Common Access Patterns

DRAM-based memory is a critical factor that creates a bottleneck on the ...
research
06/13/2021

Security Analysis of the Silver Bullet Technique for RowHammer Prevention

The purpose of this document is to study the security properties of the ...
research
12/23/2022

Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems

As Dynamic Random Access Memories (DRAM) scale, they are becoming increa...
research
06/07/2018

Mitigating Wordline Crosstalk using Adaptive Trees of Counters

High access frequency of certain rows in the DRAM may cause data loss in...
research
08/28/2023

Scalable and Configurable Tracking for Any Rowhammer Threshold

The Rowhammer vulnerability continues to get worse, with the Rowhammer T...

Please sign up or login with your details

Forgot password? Click here to reset