SSD Characterization: From Energy Consumption's Perspective Youjip - - PowerPoint PPT Presentation

ssd characterization from energy consumption s perspective
SMART_READER_LITE
LIVE PREVIEW

SSD Characterization: From Energy Consumption's Perspective Youjip - - PowerPoint PPT Presentation

NVRAMOS 11 November 8, 2011, Jeju SSD Characterization: From Energy Consumption's Perspective Youjip Won Hanyang University Outline Outline Motivation p Related Works p SSD Organization and Energy Consumption p Channels, Ways and


slide-1
SLIDE 1

SSD Characterization: From Energy Consumption's Perspective

Youjip Won Hanyang University

NVRAMOS ‘11 November 8, 2011, Jeju

slide-2
SLIDE 2

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Outline Outline

p

Motivation

p

Related Works

p

SSD Organization and Energy Consumption

p

Channels, Ways and Clusters

p

Trivia in Measurement Methodology

p

Case Study

p

Power Budget

p

Conclusion

2/68

slide-3
SLIDE 3

Motivation

3/68

slide-4
SLIDE 4

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Motivation Motivation

p Hard disk

w Sector layout: cylinder serpentine vs. surface serpentine vs. hybrid serpentine w Number of zones w Degree of track skew w Disk scheduling algorithm

Understanding of Internal Mechanism of Storage Device is very important!

4/68

slide-5
SLIDE 5

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Characterizing HDD: Sector Layout Characterizing HDD: Sector Layout

p

Jongmin Gim et al, ACM ToS 6, 2 (July 2010)

Surface serpentine Cylinder serpentine

Spindle Spindle

Traditional

Spindle Spindle Spindle Spindle

Zone rewind

Spindle Spindle

5/68

slide-6
SLIDE 6

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Characterizing Storage Devices Characterizing Storage Devices

HDD Characterization is via measuring Seek time and Rotational Latency. HDD Characterization is via measuring Seek time and Rotational Latency.

Characterizing SSD… what do we use?... Characterizing SSD… what do we use?...

6/68

slide-7
SLIDE 7

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Motivation Motivation

p What is available

w the number of channels w the number of chips/packages per channels

p What is not available?

w Sector placement , Garbage collection algorithm

How do we figure out the internals of SSD? How do we figure out the internals of SSD?

7/68

slide-8
SLIDE 8

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Operations on NAND Flash Cell Operations on NAND Flash Cell

Erased : 0 -> 1 Programed: 1 -> 0

Substrate

Source Drain Floating Gate Control Gate Oxide Layer

  • 18~35V

Substrate

Source Drain Floating Gate Control Gate

  • program

erase

8/68

slide-9
SLIDE 9

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Operations on NAND Flash Cell Operations on NAND Flash Cell

9/68

slide-10
SLIDE 10

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

SSD Characterization SSD Characterization

We will use “Energy Consumption”

10/68

slide-11
SLIDE 11

Related Works

11/68

slide-12
SLIDE 12

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Related Works Related Works

p

Dongkun Shin et al, NVRAMOS 2010 Spring

p

Laura M. Grupp et al, MICRO 2009 Read Read Program Program Erase Erase

Custom Board + Flash Memory Basic Operation Power Consumption of Flash Memory Basic Operations Power Consumption of Flash Memory Basic Operations

12/68

Identifying the relationship between workload characteristics and aggregate power consumption for each workload Identifying the relationship between workload characteristics and aggregate power consumption for each workload

Examine the average power consumption(W) and energy(J)

Applied mixed workloads(random, sequential, etc) to SSDs with different request sizes and varied the file systems Measured the Power Consumption(measured voltage change) Applied mixed workloads(random, sequential, etc) to SSDs with different request sizes and varied the file systems Measured the Power Consumption(measured voltage change)

slide-13
SLIDE 13

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Related Works Related Works

p

Euiseong Seo et al, HotPower’08

p

Vidyabhushan Mohan et al, Date ’10

CACTI 5.3

developed a detailed power model for the NAND flash chip itself with CACTI 5.3 developed a detailed power model for the NAND flash chip itself with CACTI 5.3

13/68

different hardware configurations to the various atomic operations and the combination of file systems and workloads. different hardware configurations to the various atomic operations and the combination of file systems and workloads. Analyzed the power consumption patterns of the SSDs Analyzed the power consumption patterns of the SSDs

slide-14
SLIDE 14

SSD Organization and Energy Consumption

14/68

slide-15
SLIDE 15

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Power Consumption of Storage Devices: System Boot Power Consumption of Storage Devices: System Boot

stand-by current s Active current of HDD

SSDs have various stand-by currents

15/68

slide-16
SLIDE 16

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

… … … … … … … … … … … … … … … …

SSD Organization SSD Organization

Controller Controller DRAM DRAM I/O Physical Interface I/O Physical Interface

Bus Host Interface NAND Flash Memory

Host Host

16/68

slide-17
SLIDE 17

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Characteristics of SSD Behavior Characteristics of SSD Behavior

=Page Write … … … … … … … … … … … … … … … … =Write Complete

17/68

slide-18
SLIDE 18

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

IO Size vs. Energy Consumption IO Size vs. Energy Consumption

… … … … … … … … … … … … … … … … … … … …

18/68

Intel X25M

slide-19
SLIDE 19

Power consumption vs. Channels, Ways, and Clusters

19/68

slide-20
SLIDE 20

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Read vs. Write Read vs. Write

Current(mA) time

=Page Operation … … … …

C R D

=Operation Complete

Current(mA) time P

… … … …

C D Read Read Write Write

20/68

slide-21
SLIDE 21

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Writing 4 pages: 1 Channel X 1 Way Writing 4 pages: 1 Channel X 1 Way

Current(mA) time P

… … … … =Page Write

C D

=Write Complete

21/68

slide-22
SLIDE 22

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Way switch vs. Channel switch Delay Way switch vs. Channel switch Delay

Current(mA) time

=Page Write … … … …

C D P

=Write Complete

Current(mA) time P

… … … …

C D

Way Switch Way Switch Channel Switch Channel Switch

Way Switch Way Switch Channel Switch Channel Switch

22/68

slide-23
SLIDE 23

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Writing 4 pages: 1 Channel X 2 Way Writing 4 pages: 1 Channel X 2 Way

Current(mA) time

=Page Write … … … …

C D P

=Write Complete

23/68

slide-24
SLIDE 24

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Writing 4 pages: 2 Channel X 1 Way Writing 4 pages: 2 Channel X 1 Way

Current(mA) time P

=Page Write … … … …

C D

=Write Complete

24/68

slide-25
SLIDE 25

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Writing 4 pages: 2 Channel X 2 Way Writing 4 pages: 2 Channel X 2 Way

Current(mA) time P

=Page Write … … … …

C D

=Write Complete

Way Switch Way Switch Channel Switch Channel Switch 25/68

slide-26
SLIDE 26

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Cluster Cluster

p Cluster : Write Unit of SSD

… … … … =Page Write … … … …

=

4KB Write 4KB Write 8KB Write 8KB Write

26/68

slide-27
SLIDE 27

Trivia in Measurement Methodology

27/68

slide-28
SLIDE 28

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Trivia of Measurement Methodology Trivia of Measurement Methodology

p Smoothing the data to filter out measurement noise.

Smoothing Smoothing

28/68

Sampling interval should be smaller than Read/Program Latency Sampling interval should be smaller than Read/Program Latency

slide-29
SLIDE 29

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Trivia of Measurement Methodology Trivia of Measurement Methodology

p Deactivate DRAM cache

w SATA command 82h

¢ Samsung MXP and Intel X-25M SSDs

w Trigger DRAM flush

¢ OCZ Vertex and Hanamicron Forte+

29/68

slide-30
SLIDE 30

Case Studies

30/68

slide-31
SLIDE 31

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Measurement Measurement

p

Oscilloscope (TDS3032)

p

High resolution current probe(TCP202)

p

Current probe to power line(Vdd) of the SSD

p

Sampling interval(10samples MA): 10usec

p

Each request measured 10 times Model Vendor Size Channels DRAM Size Package Type X25M Intel 80GB 10 16MB 20 MLC MXP SAMSUNG 128GB 8 128MB 16 MLC Vertex OCZ 60GB 8 64MB 16 MLC Forte+ Hanamicron 32GB 8 32MB 8 MLC

31/68

slide-32
SLIDE 32

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : Intel X25M Case Study : Intel X25M

Capacity 80GB

  • No. of Channels

10 Packages/Channel 2 Package 4 GB

… …

NAND (4GB)

… … … … … … … … … … … … … … … … … …

32/68

Intel X25M

slide-33
SLIDE 33

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : Intel X25M Write Case Study : Intel X25M Write

p IO Size: 4KB to 80KB

100mA 100mA 17mA 17mA Increase 20 steps Increase 20 steps Channel switch = 30 μsec NAND programming: 17 mA Simple Round Robin Channel switch = 30 μsec NAND programming: 17 mA Simple Round Robin 600 μsec 600 μsec

33/68

slide-34
SLIDE 34

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : Intel X25M Write Case Study : Intel X25M Write

p 4KB to 80KB Sequential Write

… … = Page Write … … … … … … … … … … … … … … … … … …

2 3 4 5 6 7 8 9 1

10 1213141516171819

11

MUX MUX

Channel Switch =30 μsec Channel Switch =30 μsec

34/68

slide-35
SLIDE 35

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : Intel X25M Write Case Study : Intel X25M Write

p IO Size: 80KB to 160KB Write

35/68

80 KByte 84 KByte

?

slide-36
SLIDE 36

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : Intel X25M Write Case Study : Intel X25M Write

… … =1 Page Write … … … … … … … … … … … … … … … … … …

2 3 4 5 6 7 8 9 1

10 1213141516171819

11

20

=Write Complete

MUX MUX time

P1 P0 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 P12 P14 P P13 P P15 P16 P19 P18 P17 P20

Flow time Current

36/68

slide-37
SLIDE 37

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : Intel X25M Read Case Study : Intel X25M Read

p IO Size: 4KB to 16KB Read

37/68

Same Peak Current Same Peak Current

slide-38
SLIDE 38

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : Intel X25M Read Case Study : Intel X25M Read

p IO Size: 16KB to 28KB Read

38/68

180mA 180mA 160mA 160mA

slide-39
SLIDE 39

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : Intel X25M Read Case Study : Intel X25M Read

p IO Size: 28KB to 48KB Read

39/68

Same Peak Current Same Peak Current Same Peak Current Same Peak Current

slide-40
SLIDE 40

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : Intel X25M Read Case Study : Intel X25M Read

p IO Size: 48KB to 52KB Read

40/68

Same Peak Current Same Peak Current Same Peak Current Same Peak Current

slide-41
SLIDE 41

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : Intel X25M Read Case Study : Intel X25M Read

p IO Size: 56KB to 72KB Read

41/68

Same Peak Current Same Peak Current Same Peak Current Same Peak Current

slide-42
SLIDE 42

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : Intel X25M Read Case Study : Intel X25M Read

p IO Size: 76KB to 92KB Read

42/68

Same Peak Current Same Peak Current Same Peak Current Same Peak Current

slide-43
SLIDE 43

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : Intel X25M Read Case Study : Intel X25M Read

p IO Size: 96KB to 100KB Read

43/68

Same Peak Current Same Peak Current Same Peak Current Same Peak Current

slide-44
SLIDE 44

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : Intel X25M Summary Case Study : Intel X25M Summary

44

ü Cluster Size : ü Operation: ü Peak Current : ü Channel switch: ü Policy ü Cluster Size : ü Operation: ü Peak Current : ü Channel switch: ü Policy Write Read 48KB 180mA 48KB 180mA 4KB 17mA 500mA 30sec 4KB 17mA 500mA 30sec Round Robin Round Robin

p Different from Write, peak current remains the same. p Only duration changes.

slide-45
SLIDE 45

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : SAMSUNG MXP Case Study : SAMSUNG MXP

NAND (8GB)

… … … … … … … … … … … … … … … …

Capacity 128GB

  • No. of Channels

8 Packages/Channel 2 Package 8 GB

45/68

Samsung MXP

slide-46
SLIDE 46

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

p Write Operation : From 4Kb to 32KB

Case Study : SAMSUNG MXP Case Study : SAMSUNG MXP

Peak Current Peak Current 100mA 100mA 50mA 50mA

46/68

slide-47
SLIDE 47

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : SAMSUNG MXP Case Study : SAMSUNG MXP

Same Peak Current Same Peak Current

47/68

p Write Operation : From 36Kb to 64KB

slide-48
SLIDE 48

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : SAMSUNG MXP Case Study : SAMSUNG MXP

Same Peak Current Same Peak Current

48/68

p Write Operation : From 68Kb to 96KB

slide-49
SLIDE 49

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : SAMSUNG MXP Case Study : SAMSUNG MXP

Cluster Size of MXP is 32KB Cluster Size of MXP is 32KB

Same Peak Current Same Peak Current

49/68

p Write Operation : 100Kb to 112KB

slide-50
SLIDE 50

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : SAMSUNG MXP Case Study : SAMSUNG MXP

What we still do not know of Peak of 128 Kbyte < Peak Current of 124 KByte

50/68

slide-51
SLIDE 51

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : OCZ Vertex Case Study : OCZ Vertex

NAND (4GB)

… … … … … … … … … … … … … … … …

Capacity 60GB

  • No. of Channels

8 Packages/Channel 2 Package 4 GB

51/68

OCZ Vertex

slide-52
SLIDE 52

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

500ms interval time 200ms interval time 100ms interval time 20ms interval time

Case Study : OCZ Vertex Case Study : OCZ Vertex

p write-caching off, 1KB write, 10 counts

52/68

slide-53
SLIDE 53

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : OCZ Vertex Case Study : OCZ Vertex

53/68

64MB Write Cache is filled with 64MB write request 64MB Write Cache is filled with 64MB write request Cache Flush Cache Flush Test I/O Size Test I/O Size < 100ms < 100ms

slide-54
SLIDE 54

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : OCZ Vertex Case Study : OCZ Vertex

p IO Size: 4KB to 32KB

54/68

40mA Same Peak Current 120mA Same Peak Current 120mA Peak Current Change 160mA Peak Current Change 160mA

Cluster Size of Vertex is 16KB Cluster Size of Vertex is 16KB

slide-55
SLIDE 55

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : OCZ Vertex Case Study : OCZ Vertex

p write-caching off, 1counts, IO Size: 64k to 512k

55/68

220mA 220mA 350mA 350mA

slide-56
SLIDE 56

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : OCZ Vertex Case Study : OCZ Vertex

p IO Size: 4KB to 4096KB Write

56/68

110mA 110mA 350mA 350mA 120mA 120mA 150mA 150mA 240mA 240mA

slide-57
SLIDE 57

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : Hanamicron Forte+ Case Study : Hanamicron Forte+

NAND (4GB)

… … … … … … … …

Capacity 32GB

  • No. of Channels

8 Packages/Channel 1 Package 4 GB

57/68

Hanamicron Forte+

slide-58
SLIDE 58

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : Hanamicron Forte+ Case Study : Hanamicron Forte+

p IO Size: 4KB to 32KB

58/68

40mA Same Peak Current Same Peak Current Peak Current Change Peak Current Change

Cluster Size of Forte+ is 16KB Cluster Size of Forte+ is 16KB Size of cluster same with OCZ Size of cluster same with OCZ

slide-59
SLIDE 59

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Case Study : Hanamicron Forte+ Case Study : Hanamicron Forte+

p IO Size: 4KB to 512KB Write

120mA 120mA 160mA 160mA 190mA 190mA 220mA 220mA

59/68

slide-60
SLIDE 60

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Comparison: Write Energy Comparison: Write Energy

p Energy Consumption

60/68

slide-61
SLIDE 61

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Comparison: Peak and Duration of 512K Write Comparison: Peak and Duration of 512K Write

61/68

220mA 220mA 350mA 350mA 500mA 500mA Samsung Samsung OCZ OCZ Hanamicron Hanamicron Intel Intel

slide-62
SLIDE 62

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Forth Coming Problem in Multi-channel SSD Forth Coming Problem in Multi-channel SSD

2008 2009 2010 2011 2012~ Read Write Capacity channel

Model Name Release SATA3035 (Mtron) 2008.01 Vertex (OCZ) 2009.03 Vertex2 (OCZ) 2010.07 REVO Drive X2 (OCZ) 2011.01

62/68

slide-63
SLIDE 63

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Forth Coming Problem in Multi-channel SSD Forth Coming Problem in Multi-channel SSD

p 10 channel: peak 500 mA p 16 Channel: peak 800 – 900 mA à SSD is no long Green. p Further, excessive peak current can cause…

üsupply voltage drop üground bounce üsignal noise üblack-out üEtc… üsupply voltage drop üground bounce üsignal noise üblack-out üEtc…

63/68

slide-64
SLIDE 64

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Power Budget Power Budget

Feasible Solutions 8 Channels X 1 Way 1 Channel X 8 Ways Power Budget Performance Bound 4 Channels X 2 Ways 2 Channels X 4 Ways Power I/O Latency Feasible Region

64/68

slide-65
SLIDE 65

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Summary Summary

32KB 35mA 350mA 32KB 35mA 350mA ü Cluster Size : 4KB ü programming: 17 mA ü Peak Current : 500mA ü Channel switch: 30 μsec ü Cluster Size : 4KB ü programming: 17 mA ü Peak Current : 500mA ü Channel switch: 30 μsec MXP X25M ü Energy ü Performance ü Small Write ü Large write ü Standby current ü Energy ü Performance ü Small Write ü Large write ü Standby current

65/68

OCZ 16KB 15~20mA 350mA 16KB 15~20mA 350mA

Hanamicron

16KB 15~20mA 220mA 16KB 15~20mA 220mA

slide-66
SLIDE 66

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea

Summary Summary

p Energy Consumption is very good tool to characterizeSSD. p For larger number of channels, peak current will soon be a

significant issue.

p We introduce the notion of Power Budge to resolve this issue.

66/68

slide-67
SLIDE 67

Youjip Won Hanyang University NVRAMOS’11, Jeju, Korea 67/68