Mellow Writes:
Extending Lifetime in Resistive Memories through Selective Slow Write Backs
Lunkai Zhang, Brian Neely, Diana Franklin, Dmitri Strukov, Yuan Xie, Frederic T. Chong
1
Mellow Writes: Extending Lifetime in Resistive Memories through - - PowerPoint PPT Presentation
Mellow Writes: Extending Lifetime in Resistive Memories through Selective Slow Write Backs Lunkai Zhang, Brian Neely, Diana Franklin, Dmitri Strukov, Yuan Xie, Frederic T. Chong Presented at ISCA 2016 EECS 573, University of Michigan, Ann
1
2
3
4
memories,” Applied Physics A, vol. 122, no. 4, pp. 1–4, 2016.
(Courtesy: Zhang et al., ISCA 2016)
5
6
(Courtesy: Zhang et al., ISCA 2016)
7
8
9
# Awaiting Writes 3 1 2 1
(Courtesy: Zhang et al., ISCA 2016)
10
# Awaiting Writes 3 1 2 1
(Courtesy: Zhang et al., ISCA 2016)
ranks), 32-entry read/write queues, write drain, Start-Gap Wear Leveling, (1.0x latency = 150ns, 1.00x endurance = 5.0 * 10^6 ): – Norm Writes (1.0x): 1.00x latency, 1.00x endurance – Slow Writes (3.0x): 3.00x latency, 9.00x endurance
11
12
No Noticeable Performance Degradation. Geomean 87% lifetime improvement compared with All-Norm. 4 out of 11 applications meet the 8-year lifetime requirements.
(Courtesy: Zhang et al., ISCA 2016)
13
With Bank-Aware Mellow Writes
14
(Courtesy: Zhang et al., ISCA 2016)
15
16
Set 0 Set 1 Set 2 Set 3
Predicted useless Predicted useful Candidates of Eager Mellow Writes if Dirty
(Courtesy: Zhang et al., ISCA 2016)
For an LRU Set-associative Last Level Cache (LLC):
LRU position
LRU positions with sum less than 1/32 LLC accesses
as useless, and they can be eagerly written back
17
Moinuddin K. Qureshi & Yale N. Patt, “Utility-Based Cache Partitioning: A Low-Overhead, High- Performance, Runtime Mechanism to Partition Shared Caches”, MICRO'06. (Courtesy: Zhang et al., ISCA 2016)
18
Lowest Priority, No Write Drains, Just Slow Writes
(Courtesy: Zhang et al., ISCA 2016)
19
No Performance Degradation, even some performance benefit Geomean 158% lifetime improvement compared with All-Norm. 6 out of 11 applications meet the 8-year lifetime requirements. 5 applications still suffer from short lifetime!
(Courtesy: Zhang et al., ISCA 2016)
20
21
Expected Lifetime
Total Amount of Available Wear of Resistive Main Memory
Wear Quota Time Slice
(Courtesy: Zhang et al., ISCA 2016)
22
Wear Quota Time Slice 1 Wear Time Slice 1 Wear Quota Time Slice 2 Wear Quota Time Slice 3 Wear Quota Time Slice 4 Wear Time Slice 2 Wear Time Slice 3 Wear Time Slice 4
Within Wear Quota Exceeding Wear Quota Within Wear Quota Time Slice 1: Mellow Writes Policy Time Slice 2: Mellow Writes Policy Time Slice 3: All-Slow Writes Policy Time Slice 4: Mellow Writes Policy Within Wear Quota
(Courtesy: Zhang et al., ISCA 2016)
23
already met.
(Courtesy: Zhang et al., ISCA 2016)
25
26
27
On Average Less than 50% more memory energy compared with All-Norm Policy An Affordable Cost Compared with the Lifetime Benefit.
(Courtesy: Zhang et al., ISCA 2016)
28
memories,” Applied Physics A, vol. 122, no. 4, pp. 1–4, 2016. (Courtesy: Zhang et al., ISCA 2016)