A Deeper Look into�RowHammer’s Characteristics �in Real Modern DRAM Chips
Abdullah Giray Yaglikci
Ph.D. Candidate
SAFARI Live Seminar
17 January 2024
DRAM: Dynamic Random Access Memory
1
DRAM stores the data-in-use
DRAM: Dynamic Random Access Memory
2
DRAM stores the data-in-use
DRAM should be trustable�for reliability, security, and safety
DRAM Organization
3
DRAM Chip
Bank
Chip I/O
DRAM Bank
Subarray
. . .
DRAM Subarray
Row Buffer
Bitline
…
…
Wordline
…
…
…
…
DRAM Cell
DRAM Row
DRAM Operation
4
DRAM Subarray
Bitline
…
…
Wordline
…
…
…
…
DRAM Cell
DRAM Cell
Row Buffer
Wordline
Capacitor
Access transistor
Bitline
charge
leakage
paths
Refresh: Restores the capacitor voltage�with a time period called refresh window
I/O Circuitry
The RowHammer Vulnerability
5
Row 0
Row 1
Row 2
Row 3
Row 4
Repeatedly opening (activating) and closing (precharging)
a DRAM row causes RowHammer bit flips in nearby cells
Row 2
open
Row 1
Row 3
Row 2
closed
Row 2
open
Row 1
Row 3
Row 0
Row 4
Row 2
closed
Victim Row
Victim Row
Victim Row
Victim Row
Aggressor Row
Row 2
open
Row 2
closed
Aggressor Row
DRAM Subarray
DRAM Read Disturbance – Swimming Pool Analogy
6
Swimming in a lane disturbs nearby lanes
DRAM Read Disturbance: A Prime Example
7
Implications of DRAM Read Disturbance
8
Leak Private Information
Take Over a Computer
Data Loss or Corruption
Compromise Application Correctness
DRAM Read Disturbance Worsens
9
DRAM chips are increasingly more vulnerable �to read disturbance with technology scaling
Technology Scaling
Read Disturbance in DRAM
10
Increasing focus on exploiting, understanding, �and solving DRAM read disturbance
Thesis Statement
11
Building a detailed understanding of�DRAM read disturbance
and
leveraging insights into
modern DRAM chips and memory controllers
enable researchers and engineers
to mitigate DRAM read disturbance
efficiently and scalably
My Dissertation Works
12
Temperature
Memory access patterns
Victim cell’s�physical location
Voltage
Throttling Unsafe Accesses
Parallelizing Preventive Actions
Leveraging
Heterogeneity
Solutions to DRAM Read Disturbance
13
A Deeper Look into RowHammer’s Characteristics
14
Voltage
Victim cell’s
physical�location
Memory�access
patterns
Temperature
DRAM Testing Infrastructure
15
SoftMC (DRAM Bender) on a Xilinx Virtex UltraScale+ XCU200
Fine-grained control over DRAM commands,
timing parameters (±1.5ns), temperature (±0.5°C ),
and wordline voltage (±1mV)
*Olgun et al., "DRAM Bender: An Extensible and Versatile FPGA-based Infrastructure to Easily Test State-of-the-art DRAM Chips,” in TCAD, 2023. [GitHub: https://github.com/CMU-SAFARI/DRAM-Bender]
*
DRAM Testing Methodology
To characterize our DRAM chips at worst-case conditions:
16
A Deeper Look into RowHammer’s Characteristics
17
Voltage
Victim cell’s
physical�location
Memory�access
patterns
Temperature
Key Takeaways from Temperature Analysis
18
To ensure that a DRAM cell is not vulnerable to RowHammer,
we must characterize the cell at all operating temperatures
Key Takeaway 1
RowHammer vulnerability tends to worsen �as DRAM temperature increases
However, individual DRAM rows can exhibit behavior �different from the dominant trend
Key Takeaway 2
Key Findings: Temperature
19
Temperature
Temperature
Vulnerability to�Read Disturbance
DRAM read disturbance is more effective �within a temperature range
Vulnerable temperature range �varies across memory regions
A DRAM cell should be tested �at each possible operating temperature
Impact of Temperature on DRAM Cells
The fraction of vulnerable DRAM cells, experiencing bit flips at all temperature levels within their vulnerable temperature range
20
Temperature
bit flips
Vulnerable Temperature Range
no bit flips
no bit flips
Mfr. A | Mfr. B | Mfr. C | Mfr. D |
99.1% | 98.9% | 98.0% | 99.2% |
OBSERVATION 1
Most DRAM cells are vulnerable to RowHammer �throughout a continuous temperature range
Lower
Bound
Upper
Bound
Impact of Temperature on DRAM Cells
21
Lower Bound (°C)
Upper Bound (°C)
Fraction of Vulnerable DRAM Cells
Different DRAM cells are vulnerable to RowHammer �within specific temperature ranges
Vulnerable �from 70°C to 85 ° C
Vulnerable
from 55°C to 60°C
Impact of Temperature on DRAM Cells
22
Lower Bound (°C)
Upper Bound (°C)
29.8% of the cells experience bit flips �at all tested temperatures
OBSERVATION 2
A significant fraction of vulnerable DRAM cells �exhibit bit flips at all tested temperatures
Impact of Temperature on DRAM Cells
23
0.2% of the cells experience bit flips �only at 70°C
Lower Bound (°C)
Upper Bound (°C)
OBSERVATION 3
A small fraction of all vulnerable DRAM cells are vulnerable �to RowHammer only in a very narrow temperature range
Impact of Temperature on DRAM Rows
24
Temperature (°C)
Variation in
Bit Flip Counts
per DRAM Row
More cells experience bit flips as temperature increases
Impact of Temperature on DRAM Rows
25
Temperature (°C)
Variation in Bit Flip Counts per DRAM Row
OBSERVATION 4
A DRAM row’s bit error rate can either increase or decrease�with temperature depending on the DRAM manufacturer
Also in the Paper
26
The minimum activation count at which a victim row experiences a bit flip (HCfirst) when temperature changes:
OBSERVATION 5
DRAM rows can show either higher or lower HCfirst
when temperature increases
OBSERVATION 6
HCfirst tends to generally decrease
as temperature change (ΔT) increases
OBSERVATION 7
The HCfirst change (ΔHCfirst) tends to be larger
as temperature change (ΔT) increases
Contributions to Understanding RowHammer
27
A Deeper Look into RowHammer’s Characteristics
28
Voltage
Victim cell’s
physical�location
Memory�access
patterns
Temperature
Review: The RowHammer Vulnerability [Kim+, ISCA14]
29
Row 0
Row 1
Row 2
Row 3
Row 4
Repeatedly opening (activating) and closing (precharging)
a DRAM row causes RowHammer bitflips in nearby cells
Row 2
open
Row 1
Row 3
Row 2
closed
Row 2
open
Row 2
closed
Victim Row
Victim Row
Aggressor Row
Row 2
open
Row 2
closed
Aggressor Row
DRAM Subarray
Key Takeaways�from Aggressor Row Active Time Analysis
As an aggressor row stays active longer,
victim DRAM cells become more vulnerable to RowHammer
Key Takeaway 3
RowHammer vulnerability of victim cells decreases
when the bank is precharged for a longer time
Key Takeaway 4
Key Takeaways�from Aggressor Row Active Time Analysis
31
Memory Access Patterns
Read disturbance is more effective
if the read memory region
stays active longer
State-of-the-Art
Our Finding
Minimum Row Access Count to Induce the First Bitflip
36%
reduction
Fewer reads cause a more significant read disturbance
when the read memory region stays active longer
Memory Access Patterns�in Aggressor Row Active Time Analysis
32
Time
Row A is active
Row B is active
Row A is active
Row B is active
Time
Row A is active
Time
Row A is active
Row B is active
Row A is active
Row B is active
Row A is active
Aggressor row active time
Bank�precharged time
Aggressor row active time
Aggressor row �active time
Bank�precharged time
Bank�precharged time
Increasing Aggressor Row Active Time
33
Aggressor Row Active Time (ns)
Number of Bit Flips
per DRAM Row
As the aggressor row stays active longer, �more DRAM cells experience RowHammer bit flips
Increasing Aggressor Row Active Time
34
Aggressor Row Active Time (ns)
Number of Bit Flips
per DRAM Row
As the aggressor row stays active longer, �more DRAM cells experience RowHammer bit flips
Increasing Aggressor Row Active Time
35
Aggressor Row Active Time (ns)
Minimum Activation Count
to Observe a Bit Flip (HCfirst)
Fewer activations are required to cause RowHammer bit flips when aggressor rows stay active for longer time
Increasing Aggressor Row Active Time
36
Aggressor Row Active Time (ns)
Minimum Activation Count
to Observe a Bit Flip (HCfirst)
OBSERVATION 8
As the aggressor row stays active longer, �more DRAM cells experience RowHammer bit flips and they experience RowHammer bit flips at lower activation counts
Also in the Paper
37
The variation in aggressor row active time’s effects across DRAM rows and the effect of increasing bank precharged time
OBSERVATION 9
As the aggressor row stays active longer, the RowHammer vulnerability consistently worsens across tested DRAM rows
OBSERVATION 10
As the bank stays precharged longer, fewer DRAM cells experience RowHammer bit flips and they experience RowHammer bit flips at higher activation counts
OBSERVATION 11
As the bank stays precharged longer, the RowHammer vulnerability consistently reduces across tested DRAM rows
Contributions to Understanding RowHammer
38
RowPress [ISCA 2023]
�
39
RowPress A New DRAM Read Disturbance Phenomenon
40
Row 0
Row 1
Row 2
Row 3
Row 4
Keeping a DRAM row open (activated)
causes RowPress bitflips in nearby cells
Row 2
open
Row 1
Row 3
Row 2
closed
Row 2
open
Row 1
Row 3
Row 2
closed
Victim Row
Victim Row
Aggressor Row
Row 2
open
Aggressor Row
DRAM Subarray
RowPress vs. RowHammer
Instead of using a high activation count,�
41
RowHammer
Aggressor Row
Open
Close
RowPress
Aggressor Row
Open
Close
We observe bitflips even with ONLY ONE activation �in extreme cases where the row stays open for 30ms
36ns, 47K activations to induce bitflips
7.8µs, only 5K activations to induce bitflips
�☞ increase the time that the aggressor row stays open
RowPress [ISCA 2023]
�
42
A Deeper Look into RowHammer’s Characteristics
43
Voltage
Victim cell’s
physical�location
Memory�access
patterns
Temperature
Key Takeaways �from Spatial Variation Analysis
RowHammer vulnerability significantly varies
across DRAM rows and columns due to design-induced
and manufacturing-process-induced variation
Key Takeaway 5
The distribution of the minimum activation count to observe bit flips (HCfirst) exhibits a diverse set of values in a subarray
but similar values across subarrays in the same DRAM module
Key Takeaway 6
Spatial Variation in HCfirst across Rows
DRAM Rows (sorted by reducing HCfirst)
The minimum activation count to observe bit flips (HCfirst) across DRAM rows:
Minimum Activation Count
to Observe a Bit Flip (HCfirst)
The RowHammer vulnerability
significantly varies across DRAM rows
45
Spatial Variation in HCfirst across Rows
Min. Activation Count
to Observe a Bit Flip (HCfirst)
DRAM Rows (sorted by reducing HCfirst)
The RowHammer vulnerability
significantly varies across DRAM rows
46
Spatial Variation in Hcfirst across Rows
Minimum Activation Count
to Observe a Bit Flip (HCfirst)
DRAM Rows (sorted by reducing HCfirst)
OBSERVATION 12
A small fraction of DRAM rows are significantly more vulnerable to RowHammer than the vast majority of the rows
47
Spatial Variation in BER across Columns
Column Index
Chip ID
Number of Bit Flips in a Column
OBSERVATION 13
Certain columns are significantly more vulnerable
to RowHammer than other columns
48
Spatial Variation across Columns
Worse RowHammer Vulnerability
Larger Variation across DRAM Chips
16.7%
30.6%
High RowHammer vulnerability across all chips
High variation in vulnerability across chips
🡪 manufacturing-process-induced variation
🡪design-induced variation
0.0 0.2 0.4 0.6 0.8 1.0
1.0
0.5
0.0
49
Spatial Variation in BER across Columns
Spatial Variation across Columns
16.7%
50.8%
59.8%
30.6%
29.1%
OBSERVATION 14
Both manufacturing process and design
affect a DRAM column’s RowHammer vulnerability
Worse RowHammer Vulnerability
Larger Variation across DRAM Chips
50
Spatial Variation in BER across Columns
Also in the Paper
The minimum activation count at which a victim row experiences a bit flip (HCfirst) across rows in a subarray and across subarrays in a DRAM module:
OBSERVATION 15
The most vulnerable DRAM row in a subarray
is significantly more vulnerable
than the other rows in the subarray
OBSERVATION 16
HCfirst distributions of subarrays within a DRAM module
are significantly more similar to each other
than those of subarrays from different modules
51
A Deeper Look into RowHammer’s Characteristics
52
Voltage
Victim cell’s
physical�location
Memory�access
patterns
Temperature
DRAM Organization and Operation
53
DRAM Subarray
Bitline
…
…
Wordline
…
…
…
…
DRAM Cell
DRAM Cell
Row Buffer
DDR4 DRAM chips have two main voltage sources:
VPP >> VDD so that access transistor conducts well
Wordline
Capacitor
Access transistor
Bitline
I/O Circuitry
VPP (~2.5V)
VDD
(~1.2V)
A Closer Look into RowHammer
54
Low Voltage
Victim Row
Bitline
Low Voltage
Victim Row
Aggressor Row
Disturbance
High Voltage
Aggressor Row
Low Voltage
Low Voltage
Victim Row
Victim Row
Low Voltage
time
Agressor Row
Wordline Voltage
Repeatedly toggling
wordline voltage
is the key to inducing RowHammer bit flips
Our Hypothesis
55
Reducing wordline voltage
can reduce RowHammer vulnerability
without significantly affecting reliable DRAM operation
time
Wordline
Voltage
Reduction in Disturbance
Aggressor Row
Victim Row
Aggressor Row
Victim Row
Wordline
Bitline
Wordline
Bitline
Weaker Channel�in Access Transistor
Strong Channel
Weaker Channel
time
Wordline
Voltage
Our Goal
56
Understand how the wordline voltage (VPP) affects
RowHammer vulnerability
and reliable DRAM operation on real DRAM chips
DRAM Subarray
Bitline
…
…
Wordline
…
…
…
…
DRAM Cell
Row Buffer
I/O Circuitry
DRAM Chips Tested
57
Mfr. | # DIMMs | # Chips | Density | Die | Org. | Date |
A (Micron) | 1 4 3 2 | 8 64 24 16 | 4Gb 8Gb 4Gb 4Gb | - B F - | x8 x4 x8 x8 | 48-16 11-19 07-21 |
B (Samsung) | 2 1 3 1 1 2 | 16 8 24 8 8 16 | 8Gb 8Gb 8Gb 4Gb 4Gb 8Gb | B C D E F | x8 x8 x8 x8 x8 x8 | 52-20 19-19 10-21 08-17 02-21 |
C (SK Hynix) | 2 3 2 3 | 16 24 16 24 | 16Gb 4Gb 4Gb 8Gb | A B C D | x8 x8 x8 x8 | 51-20 02-21 48-20 |
272 DDR4 DRAM Chips
3 Major Manufacturers
More Details in the Paper
Mfr. | # DIMMs | # Chips | Density | Die | Org. | Date |
A (Micron) | 1 4 3 2 | 8 64 24 16 | 4Gb 8Gb 4Gb 4Gb | - B F - | x8 x4 x8 x8 | 48-16 11-19 07-21 |
B (Samsung) | 2 1 3 1 1 2 | 16 8 24 8 8 16 | 8Gb 8Gb 8Gb 4Gb 4Gb 8Gb | B C D E F | x8 x8 x8 x8 x8 x8 | 52-20 19-19 10-21 08-17 02-21 |
C (SK Hynix) | 2 3 2 3 | 16 24 16 24 | 16Gb 4Gb 4Gb 8Gb | A B C D | x8 x8 x8 x8 | 51-20 02-21 48-20 |
3 Major Manufacturers
Full paper on arXiv: https://arxiv.org/abs/2206.09999
58
Key Takeaway from RowHammer Analysis
Reducing wordline voltage reduces RowHammer vulnerability
Takeaway 1
59
Wordline Voltage’s Effect on RowHammer
Wordline Voltage: VPP (V)
1.2
1.0
0.8
0.6
0.4
0.2
1.5 1.7 1.9 2.1 2.3 2.5
OBSERVATION 1
Fewer DRAM cells experience RowHammer bit flips�under reduced wordline voltage
BER reduces �as VPP reduces
Bit Error Rate
(Normalized to VPP=2.5V)
Wordline Voltage: VPP (V)
1.2
1.0
0.8
0.6
0.4
0.2
1.5 1.7 1.9 2.1 2.3 2.5
Different DRAM modules
Lower is better
Variation across DRAM rows
60
Wordline Voltage’s Effect on RowHammer
Wordline Voltage: VPP (V)
1.5 1.7 1.9 2.1 2.3 2.5
OBSERVATION 2
Reducing wordline voltage can cause more DRAM cells �to experience bit flips in a small fraction of rows (15.4%)
Bit error rate increases
Bit Error Rate
(Normalized to VPP=2.5V)
1.2
1.0
0.8
0.6
0.4
0.2
Lower is better
61
Wordline Voltage’s Effect on RowHammer
Wordline Voltage: VPP (V)
1.5 1.7 1.9 2.1 2.3 2.5
1.3 1.6 1.9 2.2 2.5
1.5 1.7 1.9 2.1 2.3 2.5
1.2
1.0
0.8
0.6
0.4
0.2
OBSERVATION 1
Fewer DRAM cells experience RowHammer bit flips�under reduced wordline voltage
OBSERVATION 2
Reducing wordline voltage can cause more DRAM cells �to experience bit flips in a small fraction of rows (15.4%)
Bit Error Rate
(Normalized to VPP=2.5V)
Mfr. A
Mfr. B
Mfr. C
62
Wordline Voltage’s Effect on RowHammer
Wordline Voltage: VPP (V)
Minimum Activation Count to Induce the First Bit Flip
(Normalized to VPP=2.5V)
2.0
1.8
1.6
1.4
1.2
1.0
0.8
1.5 1.7 1.9 2.1 2.3 2.5
OBSERVATION 4
The first bit flip occurs at higher activation counts
as wordline voltage reduces
Min. activation count
to induce the first bit flip
increases as VPP reduces
Higher is better
Different DRAM modules
Variation across DRAM rows
Minimum Activation Count to Induce the First Bit Flip (Normalized to VPP=2.5V)
2.0
1.8
1.6
1.4
1.2
1.0
0.8
63
Wordline Voltage’s Effect on RowHammer
OBSERVATION 5
For a small fraction of rows (14.2%), the first bit flip occurs �at a smaller activation count as wordline voltage reduces
Min. activation count
to induce the first bit flip
reduces
Wordline Voltage: VPP (V)
1.5 1.7 1.9 2.1 2.3 2.5
Higher is better
Minimum Activation Count to Induce the First Bit Flip (Normalized to VPP=2.5V)
2.0
1.8
1.6
1.4
1.2
1.0
0.8
64
Wordline Voltage’s Effect on RowHammer
Wordline Voltage: VPP (V)
1.5 1.7 1.9 2.1 2.3 2.5
1.3 1.6 1.9 2.2 2.5
1.5 1.7 1.9 2.1 2.3 2.5
2.0
1.8
1.6
1.4
1.2
1.0
0.8
OBSERVATION 4
The first bit flip occurs at higher activation counts
as wordline voltage reduces
Minimum Activation Count �to Induce the First Bit Flip
(Normalized to VPP=2.5V)
OBSERVATION 5
For a small fraction of rows (14.2%), the first bit flip occurs �at a smaller activation count as wordline voltage reduces
Mfr. A
Mfr. B
Mfr. C
65
Also in the Paper
Wordline voltage’s effect on RowHammer vulnerability
varies across different DRAM rows and manufacturers
OBSERVATION 3
Change in bit error rate �varies across different DRAM rows and manufacturers
OBSERVATION 6
Change in the activation count at which the first bit flip occurs varies across different DRAM rows and manufacturers
66
Also in the Paper
OBSERVATION 6
HCfirst increase with reduced wordline voltage varies �across different DRAM rows and manufacturers
OBSERVATION 3
BER reduction with reduced wordline voltage varies �across different DRAM rows and manufacturers
Wordline voltage’s effect on RowHammer vulnerability varies �across different DRAM rows and manufacturers
Full paper on arXiv: https://arxiv.org/abs/2206.09999
67
Key Takeaway from RowHammer Analysis
Reducing wordline voltage reduces RowHammer vulnerability
Takeaway 1
68
Our Hypothesis
Our Hypothesis
Reducing wordline voltage
can reduce RowHammer vulnerability
without significantly affecting reliable DRAM operation
time
Wordline
Voltage
Reduction in Disturbance
Aggressor Row
Victim Row
Aggressor Row
Victim Row
Wordline
Bitline
Wordline
Bitline
Weaker Channel�in Access Transistor
Strong Channel
Weaker Channel
time
Wordline
Voltage
69
Key Takeaways from DRAM Operation Analysis
208/272 tested DRAM chips reliably operate using nominal timing parameters �due to the built-in safety margins (guardbands)
64/272 tested DRAM chips can reliably operate �with longer row activation latency (24ns/15ns for 48/16 chips)
Takeaway 2
216/272 tested DRAM chips reliably operate using nominal refresh rate�due to the built-in safety margins (guardbands)
56/272 tested DRAM chips can reliably operate �using single-error-correction ECC or 2x the refresh rate for only 16.4% of rows
Takeaway 3
216/272 tested DRAM chips reliably operate using nominal refresh rate�due to the built-in safety margins (guardbands)
56/272 tested DRAM chips can reliably operate �using single-error-correction ECC or 2x the refresh rate for only 16.4% of rows
Takeaway 3
70
Wordline Voltage’s Effect on Row Activation Latency
Wordline Voltage: VPP (V)
Row Activation
Latency (tRCD)
25
20
15
10
5
1.5 1.7 1.9 2.1 2.3 2.5
OBSERVATION 7
Row activation latency increases with reduced wordline voltage
208 out of 272 DRAM chips complete row activation�before the nominal activation latency
Row activation latency�increases as VPP reduces
Nominal activation latency�has a significant guardband
Different DRAM modules
Variation across DRAM rows
71
Wordline Voltage’s Effect on Row Activation Latency
Wordline Voltage: VPP (V)
25
20
15
10
5
OBSERVATION 7
Row activation latency increases with reduced wordline voltage
208 out of 272 DRAM chips complete row activation�before the nominal activation latency
1.5 1.7 1.9 2.1 2.3 2.5
1.3 1.6 1.9 2.2 2.5
1.5 1.7 1.9 2.1 2.3 2.5
Row Activation
Latency (tRCD)
Nom. tRCD
Nom. tRCD
Nom. tRCD
Mfr. A
Mfr. B
Mfr. C
72
Wordline Voltage’s Effect on Row Activation Latency
Wordline Voltage: VPP (V)
25
20
15
10
5
48 DRAM chips from Mfr A. reliably work with a row activation latency of 24 ns
16 DRAM chips from Mfr. B reliably work with a row activation latency of 15 ns
All DRAM chips from Mfr. C reliably work using the nominal latency of 13.5ns
1.5 1.7 1.9 2.1 2.3 2.5
1.3 1.6 1.9 2.2 2.5
1.5 1.7 1.9 2.1 2.3 2.5
Row Activation
Latency (tRCD)
Nom. tRCD
Nom. tRCD
Nom. tRCD
Mfr. A
Mfr. B
Mfr. C
73
SPICE Simulation Methodology
Chang et al., "Understanding Reduced-Voltage Operation in Modern DRAM Devices: Experimental Characterization, Analysis, and Mechanisms," SIGMETRICS, 2018. [SPICE Model on GitHub]
74
A Closer Look into Row Activation Latency
Bitline voltage takes longer to reach VTH
Capacitor
Bitline
Wordline
Access transistor
Weaker
channel
OBSERVATION 8
Row activation latency increases
with reduced wordline voltage
Reducing
Wordline
Voltage
75
Variation in Row Activation Latency
When wordline voltage is reduced from 2.5V to 1.9V:
The SPICE simulation results are not identical with real chip observations
because the SPICE model cannot simulate a real DRAM chip’s exact behavior �without proprietary design and manufacturing information
Worst case tRCDmin when VPP = 2.5V
Nominal row activation latency
Worst case tRCDmin when VPP = 1.9V
OBSERVATION 9
SPICE simulation results agree with our observations�based on experiments on real chips
76
Also in the Paper
Wordline voltage’s effect on DRAM charge restoration process
OBSERVATION 10
A DRAM cell’s capacitor voltage can saturate �at a lower voltage level when wordline voltage is reduced
OBSERVATION 11
A DRAM cell’s charge restoration latency (tRASmin) �can increase with reduced wordline voltage
77
Also in the Paper
Wordline voltage’s effect on DRAM charge restoration process
OBSERVATION 10
A DRAM cell’s capacitor voltage can saturate �at a lower voltage level when wordline voltage is reduced
OBSERVATION 11
A DRAM cell’s charge restoration latency (tRASmin) �can increase with reduced wordline voltage
Full paper on arXiv: https://arxiv.org/abs/2206.09999
78
Key Takeaways from DRAM Operation Analysis
208/272 tested DRAM chips reliably operate using nominal timing parameters �due to the built-in safety margins (guardbands)
64/272 tested DRAM chips can reliably operate �with longer row activation latency (24ns/15ns for 48/16 chips)
Takeaway 2
216/272 tested DRAM chips reliably operate using nominal refresh rate�due to the built-in safety margins (guardbands)
56/272 tested DRAM chips can reliably operate �using single-error-correction ECC or 2x the refresh rate for only 16.4% of rows
Takeaway 3
79
Wordline Voltage’s Effect on DRAM Refresh
Refresh Window (ms)
Data Retention
Bit Error Rate
0.05
0.04
0.03
0.02
0.01
0
OBSERVATION 12
More DRAM cells tend to experience data retention bit flips
when wordline voltage is reduced
Data retention BER increases
as wordline voltage reduces
OBSERVATION 13
216 out of 272 DRAM chips reliably operate using nominal refresh rate�due to the built-in safety margins (guardbands)
64 256 1K 4K 16K
Different colors represent different wordline voltage levels
80
Wordline Voltage’s Effect on DRAM Refresh
OBSERVATION 12
More DRAM cells tend to experience data retention bit flips
when wordline voltage is reduced
OBSERVATION 13
216 out of 272 DRAM chips reliably operate using nominal refresh rate�due to the built-in safety margins (guardbands)
Wordline Voltage’s Effect on DRAM Refresh
81
Spatial Distribution of Data Retention Bitflips
OBSERVATION 14
Data retention errors can be avoided using single error correcting codes at the smallest refresh window that yields non-zero bit error rate
Fraction of DRAM Rows
Number of 64-bit data words with one bit flip
82
Spatial Distribution of Data Retention Bitflips
OBSERVATION 15
Only a small fraction (16.4%/5.0%) of DRAM rows have erroneous words at the smallest refresh rate (64ms/128ms) that yields non-zero bit error rate
OBSERVATION 14
Data retention errors can be avoided using single error correcting codes at the smallest refresh window that yields non-zero bit error rate
83
Key Takeaways from DRAM Operation Analysis
208/272 tested DRAM chips reliably operate using nominal timing parameters �due to the built-in safety margins (guardbands)
64/272 tested DRAM chips can reliably operate �with longer row activation latency (24ns/15ns for 48/16 chips)
Takeaway 2
216/272 tested DRAM chips reliably operate using nominal refresh rate�due to the built-in safety margins (guardbands)
56/272 tested DRAM chips can reliably operate �using single-error-correction ECC or 2x the refresh rate for only 16.4% of rows
Takeaway 3
84
Takeaways from Voltage Study
Reducing wordline voltage can reduce RowHammer vulnerability �without significantly affecting reliable DRAM operation
85
Contributions to Understanding RowHammer
86
A Deeper Look into RowHammer’s Characteristics
87
Voltage
Victim cell’s
physical�location
Memory�access
patterns
Temperature
Implications on Attacks and Defenses
88
Our observations can be leveraged to craft
more effective RowHammer attacks
Our observations can be leveraged to design �more effective and efficient RowHammer defenses
Attack Improvement 1: �Temperature-Dependent Trigger
Identify abnormal increase �in temperature to attack a data center during its peak hours
Precisely measure the temperature �to trigger an attack exactly at the desired temperature
89
Temperature
70 °C
76.6%
of the cells*
*Example fraction values from Mfr. C
0.4%
of the cells*
Temperature
70 °C
Temperature
70 °C
0.4%
of the cells*
1.
2.
Attack Improvement 1: �Temperature-Dependent Trigger
Identify abnormal increase �in temperature to attack a data center during its peak hours
Precisely measure the temperature �to trigger an attack exactly at the desired temperature
90
Temperature
70 °C
76.6%
of the cells*
*Example fraction values from Mfr. C
0.4%
of the cells*
Temperature
70 °C
Temperature
70 °C
0.4%
of the cells*
1.
2.
Full paper on arXiv: https://arxiv.org/pdf/2210.04084.pdf
Attack Improvement 2: �Bypassing Defenses with Aggressor Row Active Time
91
Reduces the minimum activation count to induce a bit flip by 36%
Bypasses defenses that do not account for this reduction
Time
Row A is active
Row B is active
Row A is active
Activating aggressor rows as frequently as possible:
Time
Row A is active
Row B is active
Keeping the aggressor rows active for a longer time:
36% reduction �in HCfirst
Defense Improvement 1:�Spatial Variation–Aware Read Disturbance Solutions
92
Minimum Hammer Count to Induce the First Bitflip
Weighted Speedup
(Norm. to No Mitigation Baseline)
Defense Improvement 1:�Spatial Variation–Aware Read Disturbance Solutions
93
Minimum Hammer Count to Induce the First Bitflip
Weighted Speedup
(Norm. to No Mitigation Baseline)
Abdullah Giray Yağlıkçı, Yahya Can Tuğrul, Geraldo F. Oliveira, Ismail Emir Yuksel, Ataberk Olgun, Haocong Luo, and Onur Mutlu, "Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions,” to appear in HPCA, 2024.
More Defense Implications in the Paper
94
More Defense Implications in the Paper
Conclusion
A RowHammer bit flip is more likely to occur
Future Research
97
Min. Hammer Count to Induce Read Disturbance Bitflips�HCfirst (before aging)
Min. Hammer Count to Induce Read Disturbance Bitflips�HCfirst (before aging)
Aging can lead to read disturbance bitflips �at fewer hammers
Preliminary Aging Analysis
98
Minimum Hammer Count to Induce the First Bitflip
Weighted Speedup
(Norm. to No Mitigation Baseline)
Abdullah Giray Yağlıkçı, Yahya Can Tuğrul, Geraldo F. Oliveira, Ismail Emir Yuksel, Ataberk Olgun, Haocong Luo, and Onur Mutlu, "Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions,” to appear in HPCA, 2024.
Future Research
99
…
Future Research
100
What is the worst-case considering all these sensitivities?
What is the minimum hammer count to induce a read disturbance bitflip?
Future Research
101
How reliable are our DRAM chips?
How reliable will our DRAM chips be tomorrow?
Thesis Statement
102
Building a detailed understanding of�DRAM read disturbance
and
leveraging insights into
modern DRAM chips and memory controllers
enable researchers and engineers
to mitigate DRAM read disturbance
efficiently and scalably
Solutions to DRAM Read Disturbance
103
A Deeper Look into�RowHammer’s Characteristics �in Real Modern DRAM Chips
Abdullah Giray Yaglikci
Ph.D. Candidate
SAFARI Live Seminar
17 January 2024
A Deeper Look into�RowHammer’s Characteristics �in Real Modern DRAM Chips
Abdullah Giray Yaglikci
Ph.D. Candidate
SAFARI Live Seminar
17 January 2024
Backup Slides
A Deeper Look into RowHammer’s Sensitivities� �Experimental Analysis of Real DRAM Chips�and Implications on Future Attacks and Defenses
Lois Orosa Abdullah Giray Yağlıkçı
Haocong Luo Ataberk Olgun Jisung Park
Hasan Hassan Minesh Patel Jeremie S. Kim Onur Mutlu
DRAM Organization
DRAM Chip
Bank
Chip I/O
DRAM Bank
Subarray
. . .
DRAM Subarray
Row Buffer
Bitline
…
…
Wordline
…
…
…
…
DRAM Cell
DRAM Row
DRAM Organization and Operation
DRAM Subarray
Bitline
…
…
Wordline
…
…
…
…
DRAM Cell
DRAM Cell
Row Buffer
Wordline
Capacitor
Access transistor
Bitline
charge
leakage
paths
Refresh: Restores the capacitor voltage�with a time period called refresh window
I/O Circuitry
Executive Summary
A RowHammer bit flip is more likely to occur
Outline
Conclusions
Motivation and Goal
Experimental Methodology
Temperature Analysis
Aggressor Row Active Time Analysis
Spatial Variation Analysis
Implications on Attacks and Defenses
Outline
Conclusions
Motivation and Goal
Experimental Methodology
Temperature Analysis
Aggressor Row Active Time Analysis
Spatial Variation Analysis
Implications on Attacks and Defenses
Motivation
It is critical to gain insights into RowHammer�and its fundamental properties
Minimum Activation Count to Observe a Bit Flip
More than 10X reduction
2020
2014
Manufactured Year
Our Goal
Provide insights into three fundamental properties
Temperature
Aggressor Row
Active Time
Victim DRAM Cell’s Physical Location
To find effective and efficient attacks and defenses
Outline
Conclusions
Motivation and Goal
Experimental Methodology
Temperature Analysis
Aggressor Row Active Time Analysis
Spatial Variation Analysis
Implications on Attacks and Defenses
DRAM Testing Infrastructures
Two separate testing infrastructures
FPGA (w/SoftMC)
DRAM Module �and Heater
Temperature
Controller
Fine-grained control over DRAM commands,
timing parameters and temperature (±0.1°C )
DDR4 DRAM Testing Infrastructure
Host Machine
(via PCI-e)
DRAM Testing Methodology
To characterize our DRAM chips at worst-case conditions:
DRAM Chips Tested
Mfr. | DDR4 DIMMs | DDR3 SODIMMs | # Chips | Density | Die | Org. |
A (Micron) | 9 | 1 | 144 (8) | 8Gb (4Gb) | B (P) | x4 (x8) |
B (Samsung) | 4 | 1 | 32 (8) | 4Gb (4Gb) | F (Q) | x8 (x8) |
C (SK Hynix) | 5 | 1 | 40 (8) | 4Gb (4Gb) | B (B) | x8 (x8) |
D (Nanya) | 4 | - | 32 (-) | 8Gb (-) | C (-) | x8 (-) |
272 DRAM Chips in total
Two DRAM standards
4 Major Manufacturers
DRAM Chips Tested
Mfr. | DDR4 DIMMs | DDR3 SODIMMs | # Chips | Density | Die | Org. |
A (Micron) | 9 | 1 | 144 (8) | 8Gb (4Gb) | B (P) | x4 (x8) |
B (Samsung) | 4 | 1 | 32 (8) | 4Gb (4Gb) | F (Q) | x8 (x8) |
C (SK Hynix) | 5 | 1 | 40 (8) | 4Gb (4Gb) | B (B) | x8 (x8) |
D (Nanya) | 4 | - | 32 (-) | 8Gb (-) | C (-) | x8 (-) |
Outline
Conclusions
Motivation and Goal
Experimental Methodology
Temperature Analysis
Aggressor Row Active Time Analysis
Spatial Variation Analysis
Implications on Attacks and Defenses
To ensure that a DRAM cell is not vulnerable to RowHammer,
we must characterize the cell at all operating temperatures
Key Takeaway 1
RowHammer vulnerability tends to worsen �as DRAM temperature increases
However, individual DRAM rows can exhibit behavior �different from the dominant trend
Key Takeaway 2
Key Takeaways from Temperature Analysis
Also in the Paper
The minimum activation count at which a victim row experiences a bit flip (HCfirst) when temperature changes:
KEY OBSERVATION 5
DRAM rows can show either higher or lower HCfirst
when temperature increases
KEY OBSERVATION 6
HCfirst tends to generally decrease
as temperature change (ΔT) increases
KEY OBSERVATION 7
The HCfirst change (ΔHCfirst) tends to be larger
as temperature change (ΔT) increases
Outline
Conclusions
Motivation and Goal
Experimental Methodology
Temperature Analysis
Aggressor Row Active Time Analysis
Spatial Variation Analysis
Implications on Attacks and Defenses
As an aggressor row stays active longer,
victim DRAM cells become more vulnerable to RowHammer
Key Takeaway 3
RowHammer vulnerability of victim cells decreases
when the bank is precharged for a longer time
Key Takeaway 4
Key Takeaways�from Aggressor Row Active Time Analysis
Also in the Paper
The variation in these behaviors across DRAM rows and �the effect of increasing bank precharged time
KEY OBSERVATION 9
As the aggressor row stays active longer, the RowHammer vulnerability consistently worsens across tested DRAM rows
KEY OBSERVATION 10
As the bank stays precharged longer, fewer DRAM cells experience RowHammer bit flips and they experience RowHammer bit flips at higher activation counts
KEY OBSERVATION 11
As the bank stays precharged longer, the RowHammer vulnerability consistently reduces across tested DRAM rows
Outline
Conclusions
Motivation and Goal
Experimental Methodology
Temperature Analysis
Aggressor Row Active Time Analysis
Spatial Variation Analysis
Implications on Attacks and Defenses
Key Takeaways �from Spatial Variation Analysis
RowHammer vulnerability significantly varies
across DRAM rows and columns due to design-induced
and manufacturing-process-induced variation
Key Takeaway 5
The distribution of the minimum activation count to observe bit flips (HCfirst) exhibits a diverse set of values in a subarray
but similar values across subarrays in the same DRAM module
Key Takeaway 6
Also in the Paper
The minimum activation count at which a victim row experiences a bit flip (HCfirst) across rows in a subarray and across subarrays in a module:
KEY OBSERVATION 15
The most vulnerable DRAM row in a subarray
is significantly more vulnerable
than the other rows in the subarray
KEY OBSERVATION 16
HCfirst distributions of subarrays within a DRAM module
are significantly more similar to each other
than those of subarrays from different modules
Outline
Conclusions
Motivation and Goal
Experimental Methodology
Temperature Analysis
Aggressor Row Active Time Analysis
Spatial Variation Analysis
Implications on Attacks and Defenses
Our observations can be leveraged to craft
more effective RowHammer attacks
Our observations can be leveraged to design �more effective and efficient RowHammer defenses
Implications on Attacks and Defenses
Attack Improvement 1: �Making DRAM Cells More Vulnerable
An attacker can manipulate temperature to make the cells that store sensitive data more vulnerable
130
Vulnerable Temperature Range
Temperature
no bit flips
no bit flips
45°C
55°C
65°C
75°C
50°C
70°C
DRAM cells are vulnerable in a bounded temperature range
Heating up�chip temperature
Cooling down�chip temperature
Defense Improvement 1:�Spatial Variation–Aware Read Disturbance Solutions
131
Vulnerable Temperature Range
Temperature
no bit flips
no bit flips
Disable RowA
Temperature
Disable RowB
80% area reduction�for Graphene [Park+, MICRO'20]
33% area reduction �for BlockHammer [Yağlıkçı+, HPCA'21]
90%
10%
Breakdown �of DRAM Rows
HCfirst
Aggressiveness can be reduced:
Attack Improvement 1: �Making DRAM Cells More Vulnerable
An attacker can manipulate temperature to make the cells that store sensitive data more vulnerable
Vulnerable Temperature Range
Temperature
no bit flips
no bit flips
45°C
55°C
65°C
75°C
50°C
70°C
DRAM cells are vulnerable in a bounded temperature range
Heating up�chip temperature
Cooling down�chip temperature
Identify abnormal increase �in temperature to attack a data center during its peak hours
Precisely measure the temperature �to trigger an attack exactly at the desired temperature
Temperature
70 °C
76.6%
of the cells*
*Example fraction values from Mfr. C
0.4%
of the cells*
Temperature
70 °C
Temperature
70 °C
0.4%
of the cells*
1.
2.
Attack Improvement 2: �Temperature-Dependent Trigger
Reduces the minimum activation count to induce a bit flip by 36%
Bypasses defenses that do not account for this reduction
Time
Row A is active
Row B is active
Row A is active
Activating aggressor rows as frequently as possible:
Time
Row A is active
Row B is active
Keeping the aggressor rows active for a longer time:
36% reduction �in HCfirst
Attack Improvement 3: �Bypassing Defenses with Aggressor Row Active Time
Defense Improvements
Vulnerable Temperature Range
Temperature
no bit flips
no bit flips
Disable RowA
Temperature
Disable RowB
80% area reduction�for Graphene [Park+, MICRO'20]
33% area reduction �for BlockHammer [Yağlıkçı+, HPCA'21]
90%
10%
Breakdown �of DRAM Rows
HCfirst
Aggressiveness can be reduced:
More Defense Implications in the Paper
More Defense Implications in the Paper
Outline
Conclusions
Motivation and Goal
Experimental Methodology
Temperature Analysis
Aggressor Row Active Time Analysis
Spatial Variation Analysis
Implications on Attacks and Defenses
Conclusion
A RowHammer bit flip is more likely to occur
A Deeper Look into RowHammer’s Sensitivities� �Experimental Analysis of Real DRAM Chips�and Implications on Future Attacks and Defenses
Lois Orosa Abdullah Giray Yağlıkçı
Haocong Luo Ataberk Olgun Jisung Park
Hasan Hassan Minesh Patel Jeremie S. Kim Onur Mutlu
A Deeper Look into RowHammer’s Sensitivities� �Experimental Analysis of Real DRAM Chips�and Implications on Future Attacks and Defenses
Lois Orosa Abdullah Giray Yağlıkçı
Haocong Luo Ataberk Olgun Jisung Park
Hasan Hassan Minesh Patel Jeremie S. Kim Onur Mutlu
BACKUP SLIDES
Distribution of the Change in HCfirst
Percentage Change in
Minimum Activation Count
to Observe a Bit Flip (HCfirst)
Rows Ordered by HCFirst change
More Vulnerable
Less Vulnerable
Distribution of the Change in HCfirst
OBSERVATION 5
DRAM rows can show either higher or lower HCfirst
when temperature increases
Distribution of the Change in HCfirst
OBSERVATION 6
HCfirst tends to generally decrease
as temperature change (ΔT) increases
Distribution of the Change in HCfirst
OBSERVATION 7
The HCfirst change (ΔHCfirst) tends to be larger
as temperature change (ΔT) increases
Circuit-Level Justification �Temperature Analysis
We hypothesize that our observations are caused by the non-monotonic behavior of charge trapping characteristics of DRAM cells
3D TCAD model [Yang+, EDL'19]
HCfirst decreases as temperature increases, until a temperature inflection point where HCfirst starts to increase as temperature increases
A cell is more vulnerable to RowHammer at temperatures close to its temperature inflection point
Increasing Aggressor Row Active Time (tAggOn)
Bit Error Rate
HCfirst
** Please refer to the full paper for coefficient of variation-based (CV) analysis
We analyze how the coefficient of variation* values for BER and HCfirst change�across rows when the aggressor row stays active longer
OBSERVATION 8
As the aggressor row stays active longer,
more DRAM cells experience RowHammer bit flips and
they experience RowHammer bit flips at lower hammer counts
OBSERVATION 9
RowHammer vulnerability consistently worsens
as tAggOn increases across all tested DRAM rows**
Bit Error Rate
HCfirst
** Please refer to the full paper for coefficient of variation-based (CV) analysis
Increasing Bank Precharged Time (tAggOff)
We repeat the coefficient of variation* analysis for BER and HCfirst change�across rows when the bank stays precharged longer
OBSERVATION 10
As the bank stays precharged longer, fewer DRAM cells
experience RowHammer bit flips and they experience RowHammer
bit flips at higher hammer counts
OBSERVATION 11
RowHammer vulnerability consistently reduces
as tAggOff increases across all tested DRAM rows**
Circuit-Level Justification �Aggressor Row Active Time Analysis
Two possible circuit level justifications for RowHammer bit flips:
We hypothesize that increasing the aggressor row’s active time (𝑡𝐴𝑔𝑔𝑂𝑛) has a larger impact on exacerbating electron injection to the victim cell, compared to the reduction in cross-talk noise due to lower activation frequency. Thus, RowHammer vulnerability worsens when 𝑡𝐴𝑔𝑔𝑂𝑛 increases
Increasing a bank’s precharged time (𝑡𝐴𝑔𝑔𝑂ff) decreases RowHammer vulnerability because longer 𝑡𝐴𝑔𝑔𝑂ff reduces the effect of cross-talk noise without affecting electron injection (since 𝑡𝐴𝑔𝑔𝑂n is unchanged).
Spatial Variation across Rows
Minimum Activation Count
to Observe a Bit Flip (HCfirst)
DRAM Rows (sorted by reducing HCfirst)
HCfirst worst-to-best ratio in this range: P100/P90
OBSERVATION 12
A small fraction of DRAM rows
are significantly more vulnerable to RowHammer
than the vast majority of the rows
Hcfirst Worst-to-Best Ratio
Manufacturers
Spatial Variation across Columns
We analyze BER variation across DRAM columns
OBSERVATION 13
Certain columns are significantly more vulnerable
to RowHammer than other columns
Spatial Variation across Subarrays
OBSERVATION 15
The most vulnerable DRAM row in a subarray
is significantly more vulnerable
than the other rows in the subarray
Spatial Variation across Subarrays
* We analyze the similarity between Hcfirst distributions of different subarrays based on Bhattacharyya distance in the paper
OBSERVATION 16
HCfirst distributions of subarrays within a DRAM module
are significantly more similar to each other
than those of subarrays from different modules
Spatial Variation across Subarrays�Bhattacharyya Distance Analysis
HCfirst distributions of subarrays within a DRAM module exhibit significantly more similarity to each other
than HCfirst distributions of subarrays from different modules
Identical
Different
Different
Circuit-Level Justification �Spatial Variation Analysis
Variation across rows, columns, and chips:
Manufacturing process variation causes differences in cell size and bitline/wordline impedance values, which introduces variation in cell reliability characteristics within and across DRAM chips
Design-induced variation causes cell access latency characteristics to vary deterministically based on a cell’s physical location in the memory chip (e.g., its proximity to I/O circuitry)
Similarity across subarrays:
Cell’s access latency is dominated by its physical distance from the peripheral structures (e.g., local senseamplifiers and wordline drivers) within the subarray, causing corresponding cells in different subarrays to exhibit similar access latency characteristics
Example Attack Improvements
Aggressor Row Active Time
These observations can be leveraged
to craft more effective RowHammer attacks
DRAM Operation
DRAM Subarray
Bitline
…
…
Wordline
…
…
…
…
DRAM Cell
Row Buffer
Row Activation: Fetching the row’s content �into the row buffer
1
Column Access: Read/Write a column �in the row buffer
2
I/O Circuitry
Precharge: Disconnect the row from�the row buffer
3
DRAM Cell
Wordline
Capacitor
Access transistor
Bitline
charge
leakage
paths
Vmin
REF
Time
Capacitor Voltage
100%
0%
Refresh Window
REF
REF
Example Attack Improvements
An attacker can measure DRAM chip’s current temperature
An attacker can heat up or cool down a DRAM chip to a temperature level where the victim cells are vulnerable
Lower Bound (°C)
Upper Bound (°C)
0.4% of DRAM cells exhibit bit flips only at 70°C
76.6% of DRAM cells exhibit bit flips above 70°C
Understanding RowHammer �Under Reduced Wordline Voltage� �An Experimental Study Using Real DRAM Devices
Abdullah Giray Yağlıkçı
Haocong Luo Geraldo F. de Oliviera Ataberk Olgun
Minesh Patel Jisung Park Hasan Hassan Jeremie S. Kim
Lois Orosa Onur Mutlu
DRAM Organization
DRAM Chip
Bank
Chip I/O
DRAM Bank
Subarray
. . .
DRAM Subarray
DRAM Cell
Wordline
…
…
…
…
Row Buffer
Bitline
…
…
DRAM Row
The RowHammer Vulnerability
Row 0
Row 1
Row 2
Row 3
Row 4
Repeatedly opening (activating) and closing (precharging)
a DRAM row in real DRAM chips �causes RowHammer bit flips in nearby cells
Row 2
open�(high voltage)
Row 1
Row 3
Row 2
closed�(low voltage)
Row 2
open�(high voltage)
Row 1
Row 3
Row 0
Row 4
Row 2
closed
Victim Row
Victim Row
Victim Row
Victim Row
Aggressor Row
Row 2
open�(high voltage)
Row 2
closed �(low voltage)
Aggressor Row
DRAM Subarray
Executive Summary
Motivation:
Problem: No study demonstrates how wordline voltage (VPP) affects RowHammer
Goal: Experimentally understand how VPP affects RowHammer and DRAM operation
Experimental study: 272 DRAM chips from three major DRAM manufacturers
VPP’s effect on RowHammer: Six observations show that with reduced VPP,
VPP’s effect on DRAM operation: Nine observations show that with reduced VPP,
Conclusion: Reducing wordline voltage can reduce RowHammer vulnerability � without significantly affecting reliable DRAM operation
Outline
Conclusions
Motivation and Goal
Experimental Methodology
RowHammer Under Reduced Wordline Voltage
DRAM Operation Under Reduced Wordline Voltage
Outline
Conclusions
Motivation and Goal
Experimental Methodology
RowHammer Under Reduced Wordline Voltage
DRAM Operation Under Reduced Wordline Voltage
Motivation
Minimum Activation Count to Observe a Bit Flip [Kim+, ISCA’20]
More than 10X reduction
2020
2014
Manufactured Year
DDR3
DDR4
LPDDR4
Technology
Scaling
Repeatedly toggling wordline voltage causes RowHammer
No rigorous experimental study demonstrates how the magnitude �of wordline voltage affects the RowHammer vulnerability of real DRAM chips
[Kim et al., ISCA’20]
[Orosa and Yaglikci et al., MICRO’21]
Outline
Conclusions
Motivation and Goal
Experimental Methodology
RowHammer Under Reduced Wordline Voltage
DRAM Operation Under Reduced Wordline Voltage
Outline
Conclusions
Motivation and Goal
Experimental Methodology
RowHammer Under Reduced Wordline Voltage
DRAM Operation Under Reduced Wordline Voltage
Outline
Conclusions
Motivation and Goal
Experimental Methodology
RowHammer Under Reduced Wordline Voltage
DRAM Operation Under Reduced Wordline Voltage
Outline
Conclusions
Motivation and Goal
Experimental Methodology
RowHammer Under Reduced Wordline Voltage
DRAM Operation Under Reduced Wordline Voltage
Understanding RowHammer �Under Reduced Wordline Voltage� �An Experimental Study Using Real DRAM Devices
Abdullah Giray Yağlıkçı
Haocong Luo Geraldo F. de Oliviera Ataberk Olgun
Minesh Patel Jisung Park Hasan Hassan Jeremie S. Kim
Lois Orosa Onur Mutlu
Understanding RowHammer �Under Reduced Wordline Voltage� �An Experimental Study Using Real DRAM Devices
Abdullah Giray Yağlıkçı
Haocong Luo Geraldo F. de Oliviera Ataberk Olgun
Minesh Patel Jisung Park Hasan Hassan Jeremie S. Kim
Lois Orosa Onur Mutlu
Understanding RowHammer �Under Reduced Wordline Voltage� �An Experimental Study Using Real DRAM Devices
Abdullah Giray Yağlıkçı
Haocong Luo Geraldo F. de Oliviera Ataberk Olgun
Minesh Patel Jisung Park Hasan Hassan Jeremie S. Kim
Lois Orosa Onur Mutlu
BACKUP SLIDES
DRAM Operation
DRAM Subarray
Bitline
…
…
Wordline
…
…
…
…
DRAM Cell
Row Buffer
Row Activation: Fetching the row’s content �into the row buffer
1
Column Access: Read/Write a column �in the row buffer
2
I/O Circuitry
Precharge: Disconnect the row from�the row buffer
3
DRAM Cell
Wordline
Capacitor
Access transistor
Bitline
charge
leakage
paths
Vmin
REF
Time
Capacitor Voltage
100%
0%
Refresh Window
REF
REF
Distribution of Bit Flips across DRAM Rows
OBSERVATION 3
BER reduction with reduced wordline voltage varies �across different DRAM rows and manufacturers
Across manufacturers
Across rows
Distribution of HCfirst across DRAM Rows
OBSERVATION 3
HCfirst reduction with reduced wordline voltage varies �across different DRAM rows and manufacturers
Across manufacturers
Across rows
Wordline Voltage’s Effect on DRAM Refresh
Data Retention Bit Error Rate
Probability Density
0.32
0.24
0.16
0.08
0
0 0.5% 1.0% 1.5%
OBSERVATION 12
More DRAM cells tend to experience data retention bit flips
when wordline voltage is reduced
Wordline Voltage’s Effect on DRAM Refresh
OBSERVATION 12
More DRAM cells tend to experience data retention bit flips
when wordline voltage is reduced
Charge Restoration Process
OBSERVATION 10
A DRAM cell’s capacitor voltage can saturate �at a lower voltage level when wordline voltage is reduced
Also in the Paper
OBSERVATION 11
A DRAM cell’s charge restoration latency (tRASmin) �can increase with reduced wordline voltage
DRAM Chips Tested
RowHammer Test
Row Activation and Refresh Rate Tests
Understanding RowHammer �Under Reduced Wordline Voltage� �An Experimental Study Using Real DRAM Devices
Abdullah Giray Yağlıkçı
Haocong Luo Geraldo F. de Oliviera Ataberk Olgun
Minesh Patel Jisung Park Hasan Hassan Jeremie S. Kim
Lois Orosa Onur Mutlu
BACKUP SLIDES
Example Findings
184
Contributions to�Solving RowHammer
185
BlockHammer� �Preventing RowHammer at Low Cost �by Blacklisting Rapidly-Accessed DRAM Rows
Abdullah Giray Yağlıkçı
Minesh Patel Jeremie S. Kim Roknoddin Azizi
Ataberk Olgun Lois Orosa Hasan Hassan Jisung Park
Konstantinos Kanellopoulos Taha Shahroodi
Saugata Ghose* Onur Mutlu�
*
Executive Summary
187
Outline
DRAM and RowHammer Background
Motivation and Goal
BlockHammer
RowBlocker
AttackThrottler
Evaluation
Conclusion
188
Outline
DRAM and RowHammer Background
Motivation and Goal
BlockHammer
RowBlocker
AttackThrottler
Evaluation
Conclusion
189
Organizing and Accessing �DRAM Cells
A row needs to be activated to access its content
A DRAM cell consists of a capacitor and an access transistor
190
DRAM Refresh
Periodic refresh operations preserve stored data
Capacitor voltage (Vdd)
100%
0%
Vmin
Refresh Window�tREFW
Refresh Operations
time
REF
REF
REF
[Patel+ ISCA’17, Kim+ ISCA’20]
191
The RowHammer Phenomenon
Row 0
Row 1
Row 2
Row 3
Row 4
Repeatedly opening (activating) and closing (precharging)
a DRAM row causes RowHammer bit flips in nearby cells
Row 2
open
Row 1
Row 3
Row 2
closed
Row 2
open
Row 1
Row 3
Row 0
Row 4
Row 2
closed
Victim Row
Victim Row
Victim Row
Victim Row
Aggressor Row
Row 2
open
Row 2
closed
DRAM Bank
[Kim+ ISCA’20]
192
Outline
DRAM and RowHammer Background
Motivation and Goal
BlockHammer
RowBlocker
AttackThrottler
Evaluation
Conclusion
193
RowHammer Mitigation Approaches
DRAM Bank
Aggressor Row
Victim Rows
Isolation Rows
Large-enough distance
DRAM Bank
Aggressor Row
Victim rows
Refresh
Victim Rows
Refresh
Rapidly activated (hammered)
REF-to-REF time reduces
Fewer activations can fit
Fewer activations can be performed
194
Two Key Challenges
Scalability
with worsening RowHammer vulnerability
1
Compatibility
with commodity DRAM chips
2
Compatibility
with commodity DRAM chips
2
Compatibility
with commodity DRAM chips
2
195
Scalability �with Worsening RowHammer Vulnerability
RowHammer is a more serious problem than ever
196
Mitigation Approaches �with Worsening RowHammer Vulnerability
DRAM Bank
Aggressor Row
Victim Rows
Isolation Rows
Isolation Rows
Larger distance
more isolation rows
DRAM Bank
Aggressor row
Victim rows
Refresh more frequently
Refresh more rows
Victim rows
Refresh more frequently
Refresh more rows
REF-to-REF time further reduces
Even fewer activations can fit
More aggressively throttles row activations
197
Mitigation Approaches �with Worsening RowHammer Vulnerability
DRAM Bank
Aggressor Row
Victim Rows
Isolation Rows
Isolation Rows
Larger distance
more isolation rows
DRAM Bank
Aggressor row
Victim rows
Refresh more frequently
Refresh more rows
Victim rows
Refresh more frequently
Refresh more rows
REF-to-REF time further reduces
Even fewer activations can fit
More aggressively throttles row activations
Mitigation mechanisms face the challenge of scalability with worsening RowHammer
198
Two Key Challenges
Compatibility
with commodity DRAM chips
2
Scalability
with worsening RowHammer vulnerability
1
Compatibility
with commodity DRAM chips
2
Scalability
with worsening RowHammer vulnerability
1
Scalability
with worsening RowHammer vulnerability
1
199
Compatibility �with Commodity DRAM Chips
Application
Level
Virtual Memory Address
System
Level
Physical Memory Address
Memory
Controller
DRAM Bus Addresses
(Channel, Rank, Bank Group, Bank, Row, Col)
Visible within
the Processor
In-DRAM
Mapping
Physical Rows and Columns
DRAM
Chip
200
Compatibility �with Commodity DRAM Chips
Vendors apply in-DRAM mapping for two reasons:
In-DRAM mapping is proprietary information
201
RowHammer Mitigation Approaches
REF-to-REF time reduces
Fewer activations can fit
Fewer activations can be performed
DRAM Bank
Aggressor Row
Victim Rows
Isolation Rows
DRAM Bank
Aggressor Row
Victim rows
Victim Rows
Identifying victim and isolation rows requires
proprietary knowledge of in-DRAM mapping
202
Our Goal
To prevent RowHammer efficiently and scalably
without knowledge of or modifications to DRAM internals
203
Outline
DRAM and RowHammer Background
Motivation and Goal
BlockHammer
RowBlocker
AttackThrottler
Evaluation
Conclusion
204
BlockHammer �Key Idea
Selectively throttle memory accesses
that may cause RowHammer bit-flips
205
A Major Issue of Past Read Disturbance Mitigations
206
Physical
Row Layout
Row A+1
Row A-1
Victim
Rows
Row A
Existing read disturbance mitigation mechanisms�need to know proprietary DRAM-internal row address mapping
BlockHammer: Throttling Unsafe Accesses
207
Physical
Row Layout
Row A
BlockHammer is compatible with commodity DRAM chips
No need for proprietary info of or modifications to DRAM chips
Intel Hardware Security Academic Award
208
Abdullah Giray Yağlıkçı, Minesh Patel, Jeremie S. Kim, Roknoddin Azizi, Ataberk Olgun, Lois Orosa, Hasan Hassan, Jisung Park, Konstantinos Kanellopoulos, Taha Shahroodi, Saugata Ghose, and Onur Mutlu, "BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM Rows,” in HPCA, 2021.
Intel Hardware Security Academic Award
209
Abdullah Giray Yağlıkçı, Minesh Patel, Jeremie S. Kim, Roknoddin Azizi, Ataberk Olgun, Lois Orosa, Hasan Hassan, Jisung Park, Konstantinos Kanellopoulos, Taha Shahroodi, Saugata Ghose, and Onur Mutlu, "BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM Rows,” in HPCA, 2021.
BlockHammer �Overview of Approach
RowBlocker
Tracks row activation rates using area-efficient Bloom filters
Blacklists rows that are activated at a high rate
Throttles activations targeting a blacklisted row
AttackThrottler
Identifies threads that perform a RowHammer attack
Reduces memory bandwidth usage of identified threads
No row can be activated at a high enough rate to induce bit-flips
Greatly reduces the performance degradation
and energy wastage a RowHammer attack inflicts on a system
210
Outline
DRAM and RowHammer Background
Motivation and Goal
BlockHammer
RowBlocker
AttackThrottler
Evaluation
Conclusion
211
RowBlocker
Blacklisting
Logic
Delaying
Logic
212
RowBlocker
213
RowBlocker
214
RowBlocker-BL �Blacklisting Logic
215
Counting Bloom Filters
0
0
0
0
0
0
0
0
0
0
Hash functions
ACT Row A
1
1
1
1
1
1
1
1
ACT Row B
1
1
2
1
1
1
2
1
Minimum
1
Test Row A
1
1
2
1
216
RowBlocker-BL �Blacklisting Logic
CBFA is active
CBFB is active
CBFA is passive
CBFB is passive
217
RowBlocker-BL �Blacklisting Logic
Assume that the row is
activated at a high rate
Assume that the row is
not activated at a high rate
218
Limiting the Row Activation Rate
tCBF
tCBF
Clear CBFB
Clear CBFB
Clear CBFA
Clear CBFA
219
Limiting the Row Activation Rate
tCBF
tCBF
Clear CBFB
Clear CBFB
Clear CBFA
Clear CBFA
RowHammer Safety Constraint
220
RowBlocker-HB �Limiting the Row Activation Rate
Row
activation
tDelay
tDelay
NCBF row activations
tDelay
tCBF
time
tDelay
tRC x NBL
tCBF – (tRC ✖️NBL)
tRC
NBL row activations
Blacklisted row activation
221
RowBlocker-HB�Delaying Row Activations
No row can be activated at a high enough rate �to induce bit-flips
222
Outline
DRAM and RowHammer Background
Motivation and Goal
BlockHammer
RowBlocker
AttackThrottler
Evaluation
Conclusion
223
AttackThrottler
RHLI is larger when the thread’s access pattern
is more similar to a RowHammer attack
0.0
1.0
RHLI
Benign application
No blacklisted row activations
RowHammer attack�Blacklisted row activation count �approaches RowHammer threshold
224
AttackThrottler
Greatly reduces the perfomance degradation and energy wastage
a RowHammer attack inflicts on a system
RHLI
Benign application
No blacklisted row activations
No quota applied
RowHammer attack�Blacklisted row activation count �approaches RowHammer threshold
No request is allowed
0.0
1.0
225
Outline
DRAM and RowHammer Background
Motivation and Goal
BlockHammer
RowBlocker
AttackThrottler
Evaluation
Conclusion
226
Evaluation�BlockHammer’s Hardware Complexity
Mitigation | | SRAM | CAM | Area | Access Energy | Static Power | |
Mechanism | | KB | KB | mm2 | %CPU | pJ | mW |
| | | | | | | |
BlockHammer | | | | | | | |
PARA [73] | | | | | | | |
ProHIT [137] | | | | | | | |
MRLoc [161] | | | | | | | |
CBT [132] | | | | | | | |
TWiCe [84] | | | | | | | |
Graphene [113] | | | | | | | |
Mitigation | | SRAM | CAM | Area | Access Energy | Static Power | |
Mechanism | | KB | KB | mm2 | %CPU | pJ | mW |
| | | | | | | |
BlockHammer | | 51.48 | 1.73 | 0.14 | 0.06 | 20.30 | 22.27 |
PARA [73] | | - | - | <0.01 | - | - | - |
ProHIT [137] | | - | 0.22 | <0.01 | <0.01 | 3.67 | 0.14 |
MRLoc [161] | | - | 0.47 | <0.01 | <0.01 | 4.44 | 0.21 |
CBT [132] | | 16.00 | 8.50 | 0.20 | 0.08 | 9.13 | 35.55 |
TWiCe [84] | | 23.10 | 14.02 | 0.15 | 0.06 | 7.99 | 21.28 |
Graphene [113] | | - | 5.22 | 0.04 | 0.02 | 40.67 | 3.11 |
NRH=32K
BlockHammer is low cost and competitive
with state-of-the-art mechanisms
*Assuming a high-end 28-core Intel Xeon processor system with 4-channel single-rank DDR4 DIMMs�with a RowHammer threshold (NRH) of 32K
227
Evaluation�BlockHammer’s Hardware Complexity
Mitigation | | SRAM | CAM | Area | Access Energy | Static Power | |
Mechanism | | KB | KB | mm2 | %CPU | pJ | mW |
| | | | | | | |
BlockHammer | | 51.48 | 1.73 | 0.14 | 0.06 | 20.30 | 22.27 |
PARA [73] | | - | - | <0.01 | - | - | - |
ProHIT [137] | | - | 0.22 | <0.01 | <0.01 | 3.67 | 0.14 |
MRLoc [161] | | - | 0.47 | <0.01 | <0.01 | 4.44 | 0.21 |
CBT [132] | | 16.00 | 8.50 | 0.20 | 0.08 | 9.13 | 35.55 |
TWiCe [84] | | 23.10 | 14.02 | 0.15 | 0.06 | 7.99 | 21.28 |
Graphene [113] | | - | 5.22 | 0.04 | 0.02 | 40.67 | 3.11 |
Mitigation | | SRAM | CAM | Area | Access Energy | Static Power | |
Mechanism | | KB | KB | mm2 | %CPU | pJ | mW |
| | | | | | | |
BlockHammer | | 51.48 | 1.73 | 0.14 | 0.06 | 20.30 | 22.27 |
PARA [73] | | - | - | <0.01 | - | - | - |
ProHIT [137] | | - | 0.22 | <0.01 | <0.01 | 3.67 | 0.14 |
MRLoc [161] | | - | 0.47 | <0.01 | <0.01 | 4.44 | 0.21 |
CBT [132] | | 16.00 | 8.50 | 0.20 | 0.08 | 9.13 | 35.55 |
TWiCe [84] | | 23.10 | 14.02 | 0.15 | 0.06 | 7.99 | 21.28 |
Graphene [113] | | - | 5.22 | 0.04 | 0.02 | 40.67 | 3.11 |
| | | | | | | |
BlockHammer | | 441.33 | 55.58 | 1.57 | 0.64 | 99.64 | 220.99 |
PARA [73] | | - | - | <0.01 | - | - | - |
ProHIT [137] | | x | x | x | x | x | x |
MRLoc [161] | | x | x | x | x | x | x |
CBT [132] | | 512.00 | 272.00 | 3.95 | 1.60 | 127.93 | 535.50 |
TWiCe [84] | | 738.32 | 448.27 | 5.17 | 2.10 | 124.79 | 631.98 |
Graphene [113] | | - | 166.03 | 1.14 | 0.46 | 917.55 | 93.96 |
Mitigation | | SRAM | CAM | Area | Access Energy | Static Power | |
Mechanism | | KB | KB | mm2 | %CPU | pJ | mW |
| | | | | | | |
BlockHammer | | | | | 0.06 | 20.30 | 22.27 |
PARA [73] | | | | | | | |
ProHIT [137] | | | | | | | |
MRLoc [161] | | | | | | | |
CBT [132] | | | | | 0.08 | | 35.55 |
TWiCe [84] | | | | | 0.06 | | 21.28 |
Graphene [113] | | | | | 0.02 | 40.67 | 3.11 |
| | | | | | | |
BlockHammer | | | | | 0.64 | 99.64 | 220.99 |
PARA [73] | | | | | | | |
ProHIT [137] | | | | | | | |
MRLoc [161] | | | | | | | |
CBT [132] | | | | | 1.60 | | 535.50 |
TWiCe [84] | | | | | 2.10 | | 631.98 |
Graphene [113] | | | | | 0.46 | 917.55 | 93.96 |
20x
35x
23x
10x
15x
30x
30x
10x
23x
5x
NRH=32K
NRH=1K
BlockHammer’s hardware complexity scales more efficiently than state-of-the-art mechanisms
228
Evaluation�Performance and DRAM Energy
Processor | 3.2 GHz, {1,8} core, 4-wide issue, 128-entry instr. window |
LLC | 64-byte cacheline, 8-way set-associative, {2,16} MB |
Memory scheduler | FR-FCFS |
Address mapping | Minimalistic Open Pages |
DRAM | DDR4 1 channel, 1 rank, 4 bank group, 4 banks per bank group |
RowHammer Threshold | 32K |
229
Evaluation�Performance and DRAM Energy
0.0
1.0
5.0
RBCPKI
Low (L)
Medium (M)
High (H)
BlockHammer does not incur performance or DRAM energy overheads for single-core benign applications
230
Evaluation�Performance and DRAM Energy
RowHammer
Attack
Present
No
RowHammer
Attack
BlockHammer introduces very low performance (<0.5%) and DRAM energy (<0.4%) overheads
BlockHammer significantly increases benign application performance (by 45% on average)
and reduces DRAM energy consumption (by 29% on average)
231
Evaluation�Scaling with RowHammer Vulnerability
RowHammer
Attack Present
No RowHammer
Attack
BlockHammer’s performance and energy overheads remain negligible (<0.6%)
BlockHammer scalably provides much higher performance (71% on average)
and lower energy consumption (32% on average) than state-of-the-art mechanisms
232
More in the Paper
233
Outline
DRAM and RowHammer Background
Motivation and Goal
BlockHammer
RowBlocker
AttackThrottler
Evaluation
Conclusion
234
Conclusion
235
BlockHammer� �Preventing RowHammer at Low Cost �by Blacklisting Rapidly-Accessed DRAM Rows
Abdullah Giray Yağlıkçı
Minesh Patel Jeremie S. Kim Roknoddin Azizi
Ataberk Olgun Lois Orosa Hasan Hassan Jisung Park
Konstantinos Kanellopoulos Taha Shahroodi
Saugata Ghose* Onur Mutlu�
*
BlockHammer� �Preventing RowHammer at Low Cost �by Blacklisting Rapidly-Accessed DRAM Rows
Backup Slides
Timing Constraints �for DRAM Row Activations
4
3
1
6
7
2
Bank B
5
Bank C
Bank E
Bank A
time
Bank D
Time difference > tFAW (~30-35ns)
tRC. : Minimum delay between two consecutive activations in a bank.
tFAW: Rolling time window in which at most four rows can be activated in a rank.
Bank F
ACT
Row X
ACT
Row Y
Time difference > tRC (~45-50ns)
ACT
Row Z
ACT
Row T
ACT
Row U
ACT
Row V
Time difference > tFAW (~30-35ns)
ACT
Row W
238
BlockHammer Hardware Complexity
239
RowHammer Characteristics
240
Many-Sided Attacks
241
DRAM Bank
local
bitline
wordline
DRAM cell
DRAM row
A DRAM bank is hierarchically organized into subarrays
Columns of cells in subarrays share a local bitline
Rows of cells in a subarray share a wordline
DRAM Organization
242
DRAM Operation
…
…
…
…
…
Local Row Buffer
Local Row Buffer
Cache line
READ
…
READ
READ
Row Decoder
Local Row Buffer
READ
READ
READ
ACT R0
RD
PRE R0
RD
RD
ACT R1
RD
RD
RD
time
DRAM Command Sequence
243
DRAM Cell
Each cell encodes information in leaky capacitors
wordline
capacitor
access
transistor
bitline
Stored data is corrupted if too much charge leaks �(i.e., the capacitor voltage degrades too much)
charge
leakage
paths
[Patel+ ISCA’17, Kim+ ISCA’20]
244
Security Analysis
No permutation of epochs can satisfy �the necessary constraints of a successful attack
245
BlockHammer� �Preventing RowHammer at Low Cost �by Blacklisting Rapidly-Accessed DRAM Rows
Backup Slides
HiRA: Hidden Row Activation �for Reducing Refresh Latency of Off-the-Shelf DRAM Chips
Abdullah Giray Yağlıkçı
Ataberk Olgun Minesh Patel Haocong Luo Hasan Hassan
Lois Orosa Oğuz Ergin Onur Mutlu
Executive Summary
Outline
Performance Evaluation
Background and Problem
Goal and Key Idea
HiRA in Real DRAM Chips
HiRA-MC: HiRA Memory Controller
Conclusion
HiRA: Hidden Row Activation
DRAM Organization
DRAM Chip
Bank
Chip I/O
DRAM Bank
Subarray
. . .
DRAM Subarray
DRAM Cell
Wordline
…
…
…
…
Row Buffer
Bitline
…
…
DRAM Row
DRAM Rank
DRAM Operations
ACTIVATE (ACT):
Fetch the row’s content �into the row buffer
Column Access (RD/WR): �Read/Write the target �column and drive to I/O
PRECHARGE (PRE): �Prepare the array �for a new ACTIVATE
1
1
1
1
1
2
3
I/O Circuitry
Row
Buffer
DRAM Subarray
DRAM Refresh
time
Fully�charged
DRAM Refresh
DRAM cells leak charge over time
DRAM Refresh is the key maintenance operation �to avoid bit flips due to charge leakage
DRAM Refresh activates a row and precharges the bank
1
1
1
1
Row
Buffer
DRAM Subarray
Problem: DRAM Refresh blocks accesses to the whole bank / rank
Two Main Types of DRAM Refresh
2
Periodic Refresh: Periodically restores the charge� DRAM cells leak over time
1
DRAM Row
Preventive Refresh
Preventive Refresh
RowHammer: Repeatedly accessing a DRAM row can cause � bit flips in other physically nearby rows
Preventive Refresh: Mitigates RowHammer � by refreshing physically nearby rows � of a repeatedly accessed row
Periodic Refresh�with Increasing DRAM Chip Density
A larger capacity chip has more rows to be refreshed
A smaller cell stores less charge
Significant performance and energy overhead
26% Slowdown
More periodic refresh operations incur �larger performance overhead as DRAM chip density increases
RowHammer and Preventive Refresh�with Increasing DRAM Chip Density
Significant performance and energy overhead
Preventive refresh operations need to be performed �more aggressively as DRAM chip density increases
96% Slowdown
RowHammer vulnerability worsens �as DRAM chip density increases
Outline
Performance Evaluation
Background and Problem
Goal and Key Idea
HiRA in Real DRAM Chips
HiRA-MC: HiRA Memory Controller
Conclusion
HiRA: Hidden Row Activation
Our Goal
Reduce the performance overhead of DRAM Refresh �(both periodic and preventive)
Key Idea
Hide refresh latency by refreshing a DRAM row �concurrently with activating another row �in a different subarray of the same bank
Outline
Performance Evaluation
Background and Problem
Goal and Key Idea
HiRA in Real DRAM Chips
HiRA-MC: HiRA Memory Controller
Conclusion
HiRA: Hidden Row Activation
HiRA: Hidden Row Activation – Key Insight
Subarray X
Subarray Y
Activating two rows in quick succession �that are in different subarrays in the same bank �can refresh one row concurrently with �activating the other row
Row A
Row B
Refreshes RowA
concurrently with
Activating RowB
ACT
ACT
DRAM Bank
HiRA: Hidden Row Activation
Refresh RowA concurrently with Activating RowB
HiRA
Saved time�using HiRA
ACT
RowA
PRE
ACT
RowB
time
time
RowA’s
refresh
RowB’s activation
ACT
RowA
PRE
ACT
RowB
RowA’s
refresh
RowB’s activation
RD
RD
Without HiRA
With HiRA
Precharge
Outline
Performance Evaluation
Background and Problem
Goal and Key Idea
HiRA in Real DRAM Chips
HiRA-MC: HiRA Memory Controller
Conclusion
HiRA: Hidden Row Activation
DRAM Testing Infrastructure
FPGA-based SoftMC (Xilinx Virtex UltraScale+ XCU200)
*Hassan et al., "SoftMC: A Flexible and Practical Open-Source Infrastructure for Enabling Experimental DRAM Studies," in HPCA, 2017. [Available on GitHub: https://github.com/CMU-SAFARI/SoftMC]
Xilinx Alveo U200 FPGA Board�(programmed with SoftMC*)
DRAM Module with Heaters
MaxWell FT200 Temperature Controller
PCIe
Host Interface
Fine-grained control over DRAM commands,
timing parameters (±1.5ns), and temperature (±0.1°C )
HiRA in Off-the-Shelf DRAM Chips: Key Result 1
Refresh RowA
32%
ACT RowB
DRAM Bank
HiRA(RowA, RowB)
HiRA in Off-the-Shelf DRAM Chips: Key Result 2
HiRA effectively reduces the time spent �for refresh operations in off-the-shelf DRAM chips
HiRA in Off-the-Shelf DRAM Chips: Key Results
Refresh RowA
32%
ACT RowB
DRAM Bank
HiRA(RowA, RowB)
HiRA effectively reduces the time spent �for refresh operations in off-the-shelf DRAM chips
Outline
Performance Evaluation
Background and Problem
Goal and Key Idea
HiRA in Real DRAM Chips
HiRA-MC: HiRA Memory Controller
Conclusion
HiRA: Hidden Row Activation
HiRA-MC: HiRA Memory Controller
RowA and RowZ are in two electrically disconnected subarrays
Ref(RowA) �is generated
Ref(RowA)
deadline
time slack
ACT
RowX
ACT
RowY
ACT
RowZ
ACT
RowT
time
Ref(RowA) �is generated
Ref(RowA) �deadline
time slack
ACT
RowX
ACT
RowY
HiRA
RowA,RowZ
ACT
RowT
time
HiRA-MC: HiRA Memory Controller
Generates each periodic refresh �and RowHammer-preventive refresh �with a deadline
Buffers each refresh request and �performs the refresh request �until the deadline
Finds if it can refresh a DRAM row �concurrently with a DRAM access �or another refresh
1
2
3
HiRA-MC: HiRA Memory Controller
Generates each periodic refresh �and RowHammer-preventive refresh �with a deadline
Buffers each refresh request and ensures �to perform the refresh request �until the deadline
Finds if it can refresh a DRAM row �concurrently with a DRAM access �or another refresh
1
2
3
Outline
Performance Evaluation
Background and Problem
Goal and Key Idea
HiRA in Real DRAM Chips
HiRA-MC: HiRA Memory Controller
Conclusion
HiRA: Hidden Row Activation
Performance Evaluation
Processor | 3.2 GHz, 8 core, 4-wide issue, 128-entry instr. window |
Last-Level Cache | 64-byte cache line, 8-way set-associative, 8 MB |
Memory Scheduler | FR-FCFS |
Address Mapping | Minimalistic Open Pages |
Main Memory | DDR4, 4 bank group, 4 banks per bank group (16 banks per rank) |
Timing Parameters | t1=t2=3ns, tRC= 46.25ns, tFAW=16ns |
HiRA for Periodic Refreshes
26%
slowdown
12.6%�speedup
Periodic refreshes cause significant (26%) performance overhead
HiRA improves system performance by 12.6% over the baseline
HiRA for Preventive Refreshes
96%
slowdown
3.7x�speedup
PARA significantly reduces (by 96%) system performance
HiRA improves system performance by 3.7x over PARA
More in the Full Paper
More in the Full Paper
Outline
Performance Evaluation
Background and Problem
Goal and Key Idea
HiRA in Real DRAM Chips
HiRA-MC: HiRA Memory Controller
Conclusion
HiRA: Hidden Row Activation
Conclusion
HiRA: Hidden Row Activation �for Reducing Refresh Latency of Off-the-Shelf DRAM Chips
Abdullah Giray Yağlıkçı
Ataberk Olgun Minesh Patel Haocong Luo Hasan Hassan
Lois Orosa Oğuz Ergin Onur Mutlu
HiRA: Hidden Row Activation �for Reducing Refresh Latency of Off-the-Shelf DRAM Chips
Abdullah Giray Yağlıkçı
Ataberk Olgun Minesh Patel Haocong Luo Hasan Hassan
Lois Orosa Oğuz Ergin Onur Mutlu
Backup Slides
The RowHammer Vulnerability
Row 0
Row 1
Row 2
Row 3
Row 4
Repeatedly opening (activating) and closing (precharging) �a DRAM row in real DRAM chips causes RowHammer bit flips �in nearby cells
Row 2
open�(high voltage)
Row 1
Row 3
Row 2
closed�(low voltage)
Row 2
open�(high voltage)
Row 1
Row 3
Row 2
closed
Row 2
open�(high voltage)
Row 2
closed �(low voltage)
Aggressor Row
DRAM Subarray
Preventive Refresh
Row 0
Row 1
Row 2
Row 3
Row 4
Activating a DRAM row refreshes the row�and prevents RowHammer bit flips
Row 2
open�(high voltage)
Row 1
Row 3
Row 2
closed�(low voltage)
Row 2
open�(high voltage)
Row 1
Row 3
Row 0
Row 4
Row 2
closed
Victim Row
Victim Row
Victim Row
Victim Row
Aggressor Row
Row 2
open�(high voltage)
Row 2
closed �(low voltage)
Aggressor Row
DRAM Subarray
ACT
Row 1
ACT
Row 3
Row 4
Row 0
ACT
ACT
Mitigating RowHammer
Row 0
Row 1
Row 2
Row 3
Row 4
Row 2 is being hammered
closed
open
Refresh neighbor rows
ACT
ACT
Preventive Refresh
Activating potential victim rows mitigate RowHammer �by refreshing them
RowHammer and Preventive Refresh
Significant performance and energy overhead
Preventive refresh mitigates RowHammer bit flips
Preventive
Refresh
HiRA: Hidden Row Activation
HiRA violates DRAM timing constraints �by issuing a sequence of ACT-PRE-ACT commands �that target two rows in two electrically disconnected subarrays
HiRA: Hidden Row Activation
Refreshing RowA concurrently with Activating RowB
The time saved �using HiRA
ACT
RowA
PRE
ACT
RowB
time
time
RowA’s refresh
RowB’s activation
ACT
RowA
PRE
ACT
RowB
RowA’s refresh
RowB’s activation
Reduction in the time spent for two refreshes
RD
RD
RD
RD
HiRA
Without HiRA
With HiRA
Precharge
RowB’s refresh
RowB’s refresh
HiRA Operation
Overlapped
PRE
RD
RD
RD
ACT RowB
PRE
ACT RowA
HiRA
t1
t2
tRCD
RowA
RowB
tRestoreA
tRestoreB
time
Local Row
Buffer X
Local Row
Buffer Y
HiRA refreshes RowA concurrently with activating RowB by issuing ACT-PRE-ACT commands in quick succession
Bank I/O
HiRA in Off-the-Shelf DRAM Chips: Key Results
Refresh RowA
32%
ACT RowB
DRAM Bank
HiRA(RowA, RowB)
HiRA effectively reduces the time spent �for refresh operations in off-the-shelf DRAM chips
HiRA Support in Off-the-Shelf DRAM Chips
ACT RowB
PRE
ACT RowA
HiRA
t1
t2
HiRA can refresh a DRAM row concurrently with �32% of any of the other DRAM rows in the same bank
t1 and t2 can be �as small as 3ns
HiRA’s Second Row Activation
Hammer N/2 times
Hammer N/2 times
NOP
Hammer N/2 times
Hammer N/2 times
HiRA
Variation across DRAM Banks
HiRA-MC: HiRA Memory Controller
Refresh Generator
RefPtr Table
RefPtr SA1
RefPtr SAn
RefPtr SA0
Periodic Refresh�Controller
PR FIFO
RowHammer
Defense Mechanism
Preventive Refresh�Controller
Concurrent Refresh Finder
Refresh Table
Memory Request Scheduler
The Concurrent Refresh Finder
Case 1: Executes when a precharge is issued (completes before the precharge completes)
Case 2: Periodically executes after every tRC (completes before tRC)
HiRA-MC Example
RD SA:A Row:0
RD SA:B Row:0
Head
Memory Request Queue
REF SA:B Row:6
REF SA:B Row:1
REF SA:C Row:2
Refresh Table
HiRA(Row SA:B Row:6, SA:A Row:0)
time
ACT SA:B Row:6
ACT SA:A Row:0
PRE
6ns
RD SA:B Row:0
Head
Memory Request Queue
REF SA:B Row:1
REF SA:C Row:2
Refresh Table
HiRA(Row SA:B Row:1, SA:C Row:2)
time
ACT SA:B Row:1
ACT SA:C Row:2
PRE
6ns
HiRA-MC provides refresh-access and refresh-refresh parallelism
HiRA-MC Hardware Complexity
HiRA-MC Component | Area (mm2) | Area (% of Chip Area) | Access Latency |
Refresh Table | 0.00031 | <0.0001% | 0.07ns |
RefPtr Table | 0.00683 | 0.0017% | 0.12ns |
PR-FIFO | 0.00029 | <0.0001% | 0.07ns |
Subarray Pairs Table | 0.00180 | 0.0005% | 0.09ns |
Overall | 0.00923 | 0.0023% | 6.31ns |
HiRA-MC does not increase memory access latency
HiRA-MC consumes only 0.0023% of CPU chip area per DRAM rank
HiRA-MC Overall�Latency: 6.31ns
PRE
ACT
Precharge latency: ~14.5ns
time
Estimating Periodic Refresh Overhead
Latency of a REF command
DRAM Chip
Capacity
Reducing Overall Latency of Two Refreshes
ACT RowA
PRE
ACT RowB
PRE
tRAS: 32ns
tRP: 14.25ns
tRAS: 32ns
time
ACT RowA
PRE
ACT RowB
PRE
t1: 3ns
tRAS: 32ns
time
t2: 3ns
51.4% reduction
Overall latency of refreshing two rows reduces by 51.4%
from 78.25ns down to 38ns
Tested DRAM Chips
HiRA-MC: HiRA Memory Controller
Periodic Refresh�Controller
RowHammer
Defense Mechanism
Preventive Refresh�Controller
Concurrent Refresh Finder
Refresh Table
Memory Request Scheduler
HiRA for Periodic Refreshes
RowHammer Thresholds
HiRA for Preventive Refreshes
HiRA for Periodic Refresh�Sensitivity to Number of Channels and Ranks
HiRA for Preventive Refresh�Sensitivity to Number of Channels and Ranks
Workload Memory Access Characteristics
RowHammer Mitigation across Generations
105
104
103
102
105
104
103
102
DDR3-old
DDR3-new
DDR4-old
LPDDR4-1x
DDR4-new
LPDDR4-1y
PARA
TWiCe-ideal
Ideal
HCfirst (number of hammers required to induce first RowHammer bit flip)
14%
J. S. Kim, M. Patel, A. G. Yaglikci, H. Hassan, R. Azizi, L. Orosa, and O. Mutlu, "Revisiting RowHammer: An Experimental Analysis of Modern Devices and Mitigation Techniques,” in ISCA, 2020.
Refresh Delay
REF
REF
REF
REF
REF
7.8us
7.8us
7.8us
7.8us
REF
REF
REF
REF
REF
~70us
REF
REF
REF
REF
REF
7.8us
7.8us
7.8us
7.8us
REF
REF
REF
REF
REF
7.8us
7.8us
7.8us
7.8us
time slack
longer time slack
Energy
HiRA: Hidden Row Activation �for Reducing Refresh Latency of Off-the-Shelf DRAM Chips
Abdullah Giray Yağlıkçı
Ataberk Olgun Minesh Patel Haocong Luo Hasan Hassan
Lois Orosa Oğuz Ergin Onur Mutlu
HiRA in Off-the-Shelf DRAM Chips: Key Results
Refresh RowA
32%
ACT RowB
DRAM Bank
HiRA(RowA, RowB)
HiRA effectively reduces the time spent �for refresh operations in off-the-shelf DRAM chips
HiRA in Off-the-Shelf DRAM Chips: Key Results
Refresh RowA
32%
ACT RowB
DRAM Bank
HiRA(RowA, RowB)
HiRA effectively reduces the time spent �for refresh operations in off-the-shelf DRAM chips
My Dissertation Works
312
Temperature
Memory Access Patterns
In-Chip
Variations
Voltage
Throttling Unsafe Accesses
Parallelizing Preventive Measures
Leveraging
Heterogeneity
An Example
Understanding and Leveraging�the Spatial Variation�in Read Disturbance Vulnerability �of Real DRAM Chips
A. Giray Yağlıkçı Onur Mutlu�PhD Candidate Advisor
Executive Summary
Motivation: Read Disturbance is a worsening DRAM reliability/security problem
Problem: Existing mitigation mechanisms suffer from significant performance� and energy overheads, limited effectiveness, or prohibitively high cost
Goal:
Experimental study: 136 DDR4 DRAM chips from three major vendors
SVÄRD: Dynamically adapts the aggressiveness of a RowHammer defense
314
DRAM Organization
DRAM Chip
Bank
Chip I/O
DRAM Bank
Subarray
. . .
DRAM Subarray
DRAM Cell
Wordline
…
…
…
…
Row Buffer
Bitline
…
…
DRAM Row
DRAM Rank
315
DRAM Operations
ACTIVATE (ACT):
Fetch the row’s content �into the row buffer
Column Access (RD/WR): �Read/Write the target �column and drive to I/O
PRECHARGE (PRE): �Prepare the array �for a new ACTIVATE
1
1
1
1
1
2
3
I/O Circuitry
Row
Buffer
DRAM Subarray
316
DRAM Read Disturbance
Row 0
Row 1
Row 2
Row 3
Row 4
Repeatedly opening and closing a DRAM row
or keeping a DRAM row open causes bitflips in nearby cells
Row 2
open
Row 1
Row 3
Row 2
closed
Row 2
open
Row 1
Row 3
Row 2
closed
Victim Row
Victim Row
Aggressor Row
Row 2
open
Row 2
closed
Aggressor Row
DRAM Subarray
Aggressor Row
RowHammer bitflips
RowPress bitflips
317
DRAM Read Disturbance �and Increasing DRAM Chip Density
Significant performance and energy overhead
Preventive actions need to be performed �more aggressively as DRAM chip density increases
96% Slowdown
DRAM read disturbance worsens �as DRAM chip density increases
318
Our Goal
To understand the spatial variation
in read disturbance across DRAM rows
To leverage this understanding to improve
the existing mitigation mechanisms
319
DRAM Testing Infrastructure
FPGA-based SoftMC (Xilinx Virtex UltraScale+ XCU200)
*Hassan et al., "SoftMC: A Flexible and Practical Open-Source Infrastructure for Enabling Experimental DRAM Studies," in HPCA, 2017. [Available on GitHub: https://github.com/CMU-SAFARI/SoftMC]
Xilinx Alveo U200 FPGA Board�(programmed with SoftMC*)
DRAM Module with Heaters
MaxWell FT200 Temperature Controller
PCIe
Host Interface
Fine-grained control over DRAM commands,
timing parameters (±1.5ns), and temperature (±0.1°C )
320
Key Takeaways
DRAM read disturbance vulnerability
significantly varies across DRAM rows
No strong correlation is observed between a row’s �spatial features & read disturbance vulnerability
321
Svärd: Spatial Variation Aware Read-Disturb Mitigation
136 DRAM chips from SK Hynix, Micron, and Samsung
Weakest rows experience bitflips �at hammer counts of 4K or 8K
Many rows do not experience bitflips �at hammer counts below 32K
322
A large variation in the minimum hammer count �to induce the first bitflip across rows in a DRAM bank
Svärd: Spatial Variation Aware Read-Disturb Mitigation
323
Distribution of HCfirst across DRAM Rows
Minimum Hammer Count to Induce the First Bitflip (HCfirst)
Different
Modules
Weakest rows experience bitflips at hammer counts of 4K
Many rows do not experience bitflips at hammer counts below 24K
324
Weakest rows experience bitflips at hammer counts of 4K or 8K
Many rows do not experience bitflips at hammer counts below 24K
Different rows may experience read disturbance bitflips �at very different hammer counts
Distribution of HCfirst across DRAM Rows
325
RowPress reduces the mean of the distribution with increased tAggOn
RowPress can reduce the variation within the HCfirst distribution
Effect of RowPress on the HCfirst Distribution
Minimum Hammer Count
To Induce the First Bitflip
(HCfirst)
Aggressor Row’s On Time (tAggOn) (ns)
326
There is a significant variation across rows�under the effect of RowPress
DRAM read disturbance vulnerability significantly varies �across DRAM rows under the effect of RowPress
Effect of RowPress on the HCfirst Distribution
Aggressor Row’s On Time (tAggOn) (ns)
Minimum Hammer Count
To Induce the First Bitflip
(HCfirst)
Aggressor Row’s On Time (tAggOn) (ns)
327
Correlation Analysis
Correlation between a DRAM row’s read disturbance vulnerability
A small fraction of DRAM chips (28.5%) contain spatial �features that provide >0.7 F1-score for predicting HCfirst
No strong correlation is observed between a row’s �spatial features & read disturbance vulnerability
328
Svärd: Spatial Variation Aware �Read Disturbance Mitigation
329
Performance Evaluation
Processor | 3.2 GHz, 8 core, 4-wide issue, 128-entry instr. window |
Last-Level Cache | 64-byte cache line, 8-way set-associative, 8 MB |
Memory Scheduler | FR-FCFS |
Address Mapping | Minimalistic Open Pages |
Main Memory | DDR4, 4 bank group, 4 banks per bank group (16 banks per rank) |
| |
330
Implications on Future Solutions
Reduction in Performance Overhead
Minimum Hammer Count
to Induce the First Bitflip
Weighted Speedup
(Norm. to No Mitigation Baseline)
331
Implications on Future Solutions
Minimum Hammer Count to Induce the First Bitflip
Svärd reduces the performance overhead of mitigation mechanisms
Weighted Speedup
(Norm. to No Mitigation Baseline)
332
Conclusion
Experimental study: 136 DDR4 DRAM chips from 3 major vendors
SVÄRD: Dynamically adapts the aggressiveness of mitigations
Future Work:
333
Understanding and Leveraging�the Spatial Variation�in Read Disturbance Vulnerability �of Real DRAM Chips
A. Giray Yağlıkçı Onur Mutlu�PhD Candidate Advisor
�Understanding and Leveraging�the Spatial Variation�in Read Disturbance Vulnerability �of Real DRAM Chips��BACKUP SLIDES
A. Giray Yağlıkçı Onur Mutlu�PhD Candidate Advisor
Variation in Bit Error Rate
336
HCfirst Across Rows
337
Tested DRAM Chips
338
Hydra Mitigation Mechanism
Qureshi, et al. "Hydra: Enabling low-overhead mitigation of row-hammer �at ultra-low thresholds via hybrid tracking," in ISCA, 2022.
339
�Understanding and Leveraging�the Spatial Variation�in Read Disturbance Vulnerability �of Real DRAM Chips��BACKUP SLIDES
A. Giray Yağlıkçı Onur Mutlu�PhD Candidate Advisor
Svärd: Spatial Variation Aware �Read Disturbance Defenses
341
Abdullah Giray Yağlıkçı Geraldo Francisco de Oliveira Yahya Can Tuğrul1
Ismail Emir Yüksel Ataberk Olgun Haocong Luo Onur Mutlu
ETH Zürich 1TOBB University of Economics and Technology
Understanding and Leveraging�the Spatial Variation�in Read Disturbance Vulnerability �of Real DRAM Chips
A. Giray Yağlıkçı Onur Mutlu�PhD Candidate Advisor
Executive Summary
Motivation: Read Disturbance is a worsening DRAM reliability/security problem
Problem: Existing mitigation mechanisms suffer from significant performance� and energy overheads, limited effectiveness, or prohibitively high cost
Goal:
Experimental study: 136 DDR4 DRAM chips from three major vendors
SVÄRD: Dynamically adapts the aggressiveness of a RowHammer defense
343
DRAM Organization
DRAM Chip
Bank
Chip I/O
DRAM Bank
Subarray
. . .
DRAM Subarray
DRAM Cell
Wordline
…
…
…
…
Row Buffer
Bitline
…
…
DRAM Row
DRAM Rank
344
DRAM Operations
ACTIVATE (ACT):
Fetch the row’s content �into the row buffer
Column Access (RD/WR): �Read/Write the target �column and drive to I/O
PRECHARGE (PRE): �Prepare the array �for a new ACTIVATE
1
1
1
1
1
2
3
I/O Circuitry
Row
Buffer
DRAM Subarray
345
DRAM Read Disturbance
Row 0
Row 1
Row 2
Row 3
Row 4
Repeatedly opening and closing a DRAM row
or keeping a DRAM row open causes bitflips in nearby cells
Row 2
open
Row 1
Row 3
Row 2
closed
Row 2
open
Row 1
Row 3
Row 2
closed
Victim Row
Victim Row
Aggressor Row
Row 2
open
Row 2
closed
Aggressor Row
DRAM Subarray
Aggressor Row
RowHammer bitflips
RowPress bitflips
346
DRAM Read Disturbance �and Increasing DRAM Chip Density
Significant performance and energy overhead
Preventive actions need to be performed �more aggressively as DRAM chip density increases
96% Slowdown
DRAM read disturbance worsens �as DRAM chip density increases
347
Our Goal
To understand the spatial variation
in read disturbance across DRAM rows
To leverage this understanding to improve
the existing mitigation mechanisms
348
DRAM Testing Infrastructure
FPGA-based SoftMC (Xilinx Virtex UltraScale+ XCU200)
*Hassan et al., "SoftMC: A Flexible and Practical Open-Source Infrastructure for Enabling Experimental DRAM Studies," in HPCA, 2017. [Available on GitHub: https://github.com/CMU-SAFARI/SoftMC]
Xilinx Alveo U200 FPGA Board�(programmed with SoftMC*)
DRAM Module with Heaters
MaxWell FT200 Temperature Controller
PCIe
Host Interface
Fine-grained control over DRAM commands,
timing parameters (±1.5ns), and temperature (±0.1°C )
349
Key Takeaways
DRAM read disturbance vulnerability
significantly varies across DRAM rows
No strong correlation is observed between a row’s �spatial features & read disturbance vulnerability
350
Distribution of HCfirst across DRAM Rows
Minimum Hammer Count to Induce the First Bitflip (HCfirst)
Different
Modules
Weakest rows experience bitflips at hammer counts of 4K
Many rows do not experience bitflips at hammer counts below 24K
351
Weakest rows experience bitflips at hammer counts of 4K or 8K
Many rows do not experience bitflips at hammer counts below 24K
Different rows may experience read disturbance bitflips �at very different hammer counts
Distribution of HCfirst across DRAM Rows
352
RowPress reduces the mean of the distribution with increased tAggOn
RowPress can reduce the variation within the HCfirst distribution
Effect of RowPress on the HCfirst Distribution
Minimum Hammer Count
To Induce the First Bitflip
(HCfirst)
Aggressor Row’s On Time (tAggOn) (ns)
353
There is a significant variation across rows�under the effect of RowPress
DRAM read disturbance vulnerability significantly varies �across DRAM rows under the effect of RowPress
Effect of RowPress on the HCfirst Distribution
Aggressor Row’s On Time (tAggOn) (ns)
Minimum Hammer Count
To Induce the First Bitflip
(HCfirst)
Aggressor Row’s On Time (tAggOn) (ns)
354
Correlation Analysis
Correlation between a DRAM row’s read disturbance vulnerability
A small fraction of DRAM chips (28.5%) contain spatial �features that provide >0.7 F1-score for predicting HCfirst
No strong correlation is observed between a row’s �spatial features & read disturbance vulnerability
355
Svärd: Spatial Variation Aware �Read Disturbance Mitigation
356
Performance Evaluation
Processor | 3.2 GHz, 8 core, 4-wide issue, 128-entry instr. window |
Last-Level Cache | 64-byte cache line, 8-way set-associative, 8 MB |
Memory Scheduler | FR-FCFS |
Address Mapping | Minimalistic Open Pages |
Main Memory | DDR4, 4 bank group, 4 banks per bank group (16 banks per rank) |
| |
357
Implications on Future Solutions
Reduction in Performance Overhead
Minimum Hammer Count
to Induce the First Bitflip
Weighted Speedup
(Norm. to No Mitigation Baseline)
358
Implications on Future Solutions
Minimum Hammer Count to Induce the First Bitflip
Svärd reduces the performance overhead of mitigation mechanisms
Weighted Speedup
(Norm. to No Mitigation Baseline)
359
Conclusion
Experimental study: 136 DDR4 DRAM chips from 3 major vendors
SVÄRD: Dynamically adapts the aggressiveness of mitigations
Future Work:
360
Understanding and Leveraging�the Spatial Variation�in Read Disturbance Vulnerability �of Real DRAM Chips
A. Giray Yağlıkçı Onur Mutlu�PhD Candidate Advisor
�Understanding and Leveraging�the Spatial Variation�in Read Disturbance Vulnerability �of Real DRAM Chips��BACKUP SLIDES
A. Giray Yağlıkçı Onur Mutlu�PhD Candidate Advisor
Variation in Bit Error Rate
363
HCfirst Across Rows
364
Tested DRAM Chips
365
Hydra Mitigation Mechanism
Qureshi, et al. "Hydra: Enabling low-overhead mitigation of row-hammer �at ultra-low thresholds via hybrid tracking," in ISCA, 2022.
366
�Understanding and Leveraging�the Spatial Variation�in Read Disturbance Vulnerability �of Real DRAM Chips��BACKUP SLIDES
A. Giray Yağlıkçı Onur Mutlu�PhD Candidate Advisor