modeling the physical properties of nand flash memorys thesis.pdf · 2020. 2. 8. · system level +...

47
Vidyabhushan Mohan 1

Upload: others

Post on 11-Sep-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

Vidyabhushan Mohan

1

Page 2: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

Introduction Motivation Overview of FlashPower and FENCE NAND Flash Memory Primer FlashPower – Modeling and Validation FlashEnduraNCE – Modeling and analysis Conclusion Future Work

2

Page 3: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

Solid State Memory – Early 80s

3

NAND

FLASH

Page 4: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

Systems have different requirements

Power

Performance

Reliability

Need – Flash Modeling tools.

4

Page 5: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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.

Page 6: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

Power

Impacts capacity and performance

New hybrid memory systems

Endurance

Impacts the deployment of NAND Flash

Simplistic endurance estimates

6

Page 7: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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

Page 8: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

Introduction Motivation Overview of FlashPower and FENCE NAND Flash Memory Primer FlashPower – Modeling and Validation FlashEnduraNCE – Modeling and analysis Future Work Conclusion

8

Page 9: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

9

Page 10: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

10 The threshold voltage of the FGT is small

Page 11: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

11

FN

Tunneling

Trapped

ChargesDissipate

Energy

Increases the threshold voltage of the FGT

Page 12: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

12

FN

Tunneling

Dissipate

Energy

Decreases the threshold voltage of the FGT

Page 13: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

Flash Page Pass

transistors 13

Page

decoder

Flash String

SSL

GSL

SL

Block

Decoder

Block 1

Block

n-1

Block 0

Buffer

Page 14: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

14

Dies =>Planes + Buffer =>Block =>Pages

Page 15: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

Introduction Motivation Overview of FlashPower and FENCE NAND Flash Memory Primer FlashPower – Modeling and Validation FlashEnduraNCE – Modeling and analysis Future Work Conclusion

15

Page 16: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

16

Powered Off

Pre-charge state

Erase state

Program state

Read state

Page 17: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

17

Page

decoder

Vpre Vpre Vpre

0V

0V

0V

Floating

0……………………………………….0

SSL

GSL

SL

Epre = Ebl,pre

Page 18: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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

Page 19: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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

Page 20: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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.

Page 21: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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

Page 22: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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.

Page 23: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

Introduction Motivation Overview of FlashPower and FENCE NAND Flash Memory Primer FlashPower – Modeling and Validation FlashEnduraNCE – Modeling and analysis Future Work Conclusion

23

Page 24: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

Stress Model Recovery Model When do the failures occur? Impact of detrapping on endurance Analysis of SSD level Endurance

24

Page 25: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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

Page 26: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

Recovery model

Quiescent period between stresses

Some charges get detrapped

26

- - -

- -

- -

- -

Programmed State – After detrapping

- - -

- -

- -

- -

Programmed State – Before detrapping

- - -

During quiescent

period

- - -

Page 27: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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

Page 28: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

Failure when δVth = ∆Vth

28

∆Vth = 1.7V for SLC and 0.65V for MLC

Page 29: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

29

Page 30: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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

Page 31: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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

Page 32: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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

Page 33: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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

Page 34: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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

Page 35: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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

Page 36: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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

Page 37: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

37

Page 38: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

38

Page 39: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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

Page 40: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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

Page 41: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

41

Page 42: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

42

Page 43: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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

Page 44: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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

Page 45: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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

Page 46: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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

Page 47: Modeling The Physical Properties of NAND Flash Memorys Thesis.pdf · 2020. 2. 8. · System level + Device level characterizations. + Device level optimizations. - Cannot be directly

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