modeling the physical properties of nand flash memorys thesis.pdf · 2020. 2. 8. · system level +...
TRANSCRIPT
Vidyabhushan Mohan
1
Introduction Motivation Overview of FlashPower and FENCE NAND Flash Memory Primer FlashPower – Modeling and Validation FlashEnduraNCE – Modeling and analysis Conclusion Future Work
2
Solid State Memory – Early 80s
3
NAND
FLASH
Systems have different requirements
Power
Performance
Reliability
Need – Flash Modeling tools.
4
5
Device level
System level
+ Device level characterizations. + Device level optimizations.
- Cannot be directly translated to system performance.
+ Use as one single value. + Device independent analysis.
- Cannot isolate the effect of device parameters
Architecture level
+ Abstract device-level details. + Explore design space. + Parameterizable. + Use with other simulators.
Power
Impacts capacity and performance
New hybrid memory systems
Endurance
Impacts the deployment of NAND Flash
Simplistic endurance estimates
6
FlashPower
Model power consumption of a NAND Flash chip
Parameterized
Integrated with CACTI 5.3
FlashEnduraNCE (FENCE)
Stress and Recovery Model
Quantify the benefit that recovery can provide
7
Introduction Motivation Overview of FlashPower and FENCE NAND Flash Memory Primer FlashPower – Modeling and Validation FlashEnduraNCE – Modeling and analysis Future Work Conclusion
8
9
10 The threshold voltage of the FGT is small
11
FN
Tunneling
Trapped
ChargesDissipate
Energy
Increases the threshold voltage of the FGT
12
FN
Tunneling
Dissipate
Energy
Decreases the threshold voltage of the FGT
Flash Page Pass
transistors 13
Page
decoder
Flash String
SSL
GSL
SL
Block
Decoder
Block 1
Block
n-1
Block 0
Buffer
14
Dies =>Planes + Buffer =>Block =>Pages
Introduction Motivation Overview of FlashPower and FENCE NAND Flash Memory Primer FlashPower – Modeling and Validation FlashEnduraNCE – Modeling and analysis Future Work Conclusion
15
16
Powered Off
Pre-charge state
Erase state
Program state
Read state
17
Page
decoder
Vpre Vpre Vpre
0V
0V
0V
Floating
0……………………………………….0
SSL
GSL
SL
Epre = Ebl,pre
18 +Ep-pre Eunselected-page,p+
Nloop*( Edec,p+ Ebuffer+ Eiopins+
0V Vcc 0V
Vcc
0V
Vcc
Vpgm
Vpass
Block
Decoder
Block 1
Block
n-1
Block 0
Buffer
GSL
SSL
SL
Eprogram=
Eselected-page,p+ Eblip,p+ Ebl,p+
Esl+ Everify-program )
Physical
Address
Page
decoder
Flash Memory Characterization – Grupp et al, MICRO 2009.
19
Chip
Name
Capacity
(Gb)
Page
size (B)
Pages/
Block
Blocks/
plane
Planes
/die Dies
A2 2 2112 64 1024 2 1
A4 4 2112 64 4096 1 1
A8 8 2112 64 4096 2 1
B2 2 2112 64 2048 1 1
B4 4 2112 64 2048 2 1
0
0.5
1
1.5
2
A2 A4 A8 B2 B4
En
erg
y (u
J)
Chip Name
Energy per read operation
Measured
Modeled
20
Error bars depict energy variation based on value of bits.
0
5
10
15
20
25
30
A2 A4 A8 B2 B4
En
erg
y (u
J)
Chip Name
Energy per program operation
Measured
Modeled-2 Partial
Program Cycles
Modeled-4 Partial
Program Cycles
21
Error bars depict energy variation based on value of bits.
Energy dissipated for programming zeros Energy dissipated for programming ones
0
50
100
150
200
250
A2 A4 A8 B2 B4
En
erg
y (u
J)
Chip Name
Energy per erase operation
Measured
Modeled -
Tunneling on 50%
cells
22
Error bars depict energy variation based on value of bits.
Introduction Motivation Overview of FlashPower and FENCE NAND Flash Memory Primer FlashPower – Modeling and Validation FlashEnduraNCE – Modeling and analysis Future Work Conclusion
23
Stress Model Recovery Model When do the failures occur? Impact of detrapping on endurance Analysis of SSD level Endurance
24
Stress Model
Program and Erase operations are stress events
Results in charges trapped in tunnel oxide.
25
Initial State
During Programming
- -
- -
-
- -
- - - - - - - -
During Erasure
Programmed State
Erase State
- -
- -
- - TRAPPED
CHARGES
Recovery model
Quiescent period between stresses
Some charges get detrapped
26
- - -
- -
- -
- -
Programmed State – After detrapping
- - -
- -
- -
- -
Programmed State – Before detrapping
- - -
During quiescent
period
- - -
Increase in threshold voltage due to stress -∆Vth,s = C1 * cycle0.62 + C2 * cycle0.30
Decrease in threshold voltage due to
recovery - ∆Vth,r = C3 * ln (∆Vth,s ) * ln (t)
Effective increase in threshold voltage - δVth = ∆Vth,s - ∆Vth,r
27
Failure when δVth = ∆Vth
28
∆Vth = 1.7V for SLC and 0.65V for MLC
29
32 GB Enterprise SSD is modeled
Like Intel-X25E
Disksim –Storage System Simulator Enterprise workloads – from Microsoft
LM – Live Maps
RAD – Radius Authentication Server Workload
EXCH – Mail Exchange Server Workload
MSNFS – MSN File System Workload
30
0
20000
40000
60000
80000
100000
120000
140000
160000
180000
LM RAD EXCH MSNFS
No of P/E Cycles per workload over a 5 year period
No of P/E Cycles
31
0
0.01
0.02
0.03
0.04
0.05
0.06
0.07
LM RAD EXCH MSNFS
δV
th(V
)
Workloads
Change in δVth over a 5 year period for different workloads
Change in δVth
32
Contribution: Architecture level modeling tools FlashPower
Measure energy dissipated by NAND Flash chips
Results validated with 5 chips
Insights into relationship between value of bits and energy dissipation
FENCE Stress and recovery model
Quantify the impact of detrapping on Endurance
Analyze SSD-level Endurance
33
FlashPower
Extension to support MLC flash memory
Validate FENCE with real chip measurements Analyze the impact of temperature on
endurance Comprehensive analysis of flash memory
reliability by studying
Bit Error rates
Data retention
34
Vidyabhushan Mohan, Sudhanva Gurumurthi, Mircea R. Stan. FlashPower: A Detailed Power Model for NAND Flash Memory. Design Automation and Test in Europe (DATE) ’10.
Vidyabhushan Mohan, Taniya Siddiqua, Sudhanva Gurumurthi and Mircea R. Stan. How I Learned to Stop Worrying and Love Flash Endurance. HotStorage’10. Under Submission.
35
Sudhanva Gurumurthi Mircea R. Stan Taniya Siddiqua Joe E. Brewer – University of Florida Koji Sakui – Intel, Tohoku University Laura Grupp – University of California, San
Diego Steve Swanson – University of California, San
Diego
36
37
38
Increase in threshold voltage due to stress -∆Vth,s
∆Vth,s = (∆Nit + ∆Nit) * q/ Cox
∆Nit = 0.08 * cycle0.62
∆Not = 5 * cycle0.30
39
Decrease in threshold voltage due to recovery - ∆Vth,r
∆Vth,r = 0.6 * ln (∆Vth,s ) * ln (t)
FENCE – Endurance Model
δVth = ∆Vth,s - ∆Vth,r
40
41
42
43
Page
decoder
Block
address
Page
address Vpre Vpre Vpre
Vread
Vread
0V
0V
Vread
100………………..0..…………1
Block
Decoder
Block 1
Block
n-1
Block 0
Buffer
SSL
GSL
SL
Eread= Edec,r+ Eselected-page,r+ Eunselected-page,r+ Esl+ Ebl-1,r+ Ebuffer+ Eiopins+ Er-pre
44
Page
decoder
Block
address
β * Vera
Vera - Vbi
0V
Block
Decoder
Block 1
Block
n-1
Block 0
Buffer
GSL
SSL
SL β * Vera
Vera - Vbi Vera - Vbi Vera - Vbi
Eerase= Edec,erase+ Esl+ Ewell+ Ebl,e+ Nbits-0* Etunnel,mc+
Everify-erase + Er-pre
Bias voltages for read, program and erase
Doping level of NAND block P-well and N-well
Number of partial program cycles Capacitance of I/O pins – 5pF
Reference: J.E. Brewer and M. Gill, editors. Nonvolatile
Memory Technologies with Emphasis on Flash. IEEE Press,
2008. 45
Required Inputs – represents micro-architecture of a Flash chip
Feature size of FGTs
Page size – data area + spare area
Pages per block
Blocks per plane – can be 2 dimensional
Operating voltage of the chip
Optional Inputs
Read, program and erase and pre-charge voltages
46
47
Controller
+ FTL
DRAM ECC
NAND
Flash
Memory
Array
NAND Flash Chip
Decoders
Dec
od
ers
Address
bus
Page
buffer
1. Get
Erase
address Data
bus
2. Send addr
Status
register
4. Send command
3