expanding the world of heterogenous memory hierarchiesexpanding the world of heterogenous memory...

119
Expanding the World of Heterogenous Memory Hierarchies The Evolving Non-Volatile Memory Story 16 May 2019 Bill Gervasi Principal Systems Architect

Upload: others

Post on 04-Oct-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

Expanding the World of Heterogenous Memory Hierarchies

The Evolving Non-Volatile Memory Story

16 May 2019

Bill GervasiPrincipal Systems Architect

Page 2: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

2Data Processing Challenges

Checkpointing Memory Tiers

Persistence

Current Solutions

Agenda

Seeking the Ideal

A New Standard

Mixed Mode

Solutions

Distributed Processing

Security

Sharing Time

Page 3: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

3

Data processing is great

Page 4: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

4

Data processing is great

Until something goes wrong

Page 5: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

5The Cost of Power Failure

Page 6: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

6

Page 7: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

7

Run

DRAM

StorageCheckpoint

Run

StorageCheckpoint

Run

StorageCheckpoint

Checkpointing degrades

performance

Checkpointingburnspower

Checkpointingsucks

Page 8: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

8

Run

DRAM

StorageCheckpoint

Run

FAIL!Run

Checkpoint

RESTART

But checkpointing avoids data loss from

failure

Page 9: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

9

Data persistence is essential

System failure is a key factor in server

software design

Storage access time impactstransaction granularity

Page 10: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

10

The game we play totrade off performance,

capacity, and cost

Page 11: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

11

…move non-volatile storage closer to the CPU

To reduce the penaltiesfrom checkpointing…

Page 12: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

12Traditional Server Architecture Review

CPUI/O MemoryControl

Mem

ory

Mem

ory

Mem

ory

Mem

ory

Network

$

Mem

ory

Mem

ory… Mem

ory

Mem

ory…

Faster,lower

latency

Page 13: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

13

The Search for

The holy Grail

Page 14: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

14

DATA PERSISTENCE

When we no longer fear power failure…

Page 15: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

15What if you couldreplace DRAM with

a non-volatilememory?

You’d call itMemory

ClassStorage

Page 16: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

16

The non-volatile memory revolution is under way

3DXP ReRAM

PCMMRAM

NRAM™

When was the last time you read about a new volatile memory?

Page 17: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

17

From vacuum tubesTo core memory

To DRAMTo NVRAM

Page 18: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

18

THIS is why the term “Persistent Memory” is insufficient

The industry must distinguish between deterministicand non-deterministic persistent memory

Only “Memory Class Storage” isfully deterministic AND persistent

Page 19: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

19

Not all “persistence”is created equal

SRAMDRAM

Flash

3DXpoint

NRAMFeRAM

MRAMReRAM

Page 20: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

20

“Write endurance”determines HOW persistent

Wear leveling needed if writes are limited

Page 21: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

21

Temperature sensitivityimpacts long term retention

Weeks of Data Retention

Page 22: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

22

READ WRITE WRITE READ WRITE

DATA DATA DATA DATA DATA

DRAM interface is deterministicData latency is FIXED

READ WRITE WRITE READ WRITE

DATA DATA DATA HOUSEKEEPING

Any endurance limit breaks determinismX X

Page 23: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

23

Full DRAM Speed

No endurance limits

Fully deterministic

Memory Class Storage

Page 24: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

24

NVRAMis a

Memory Class Storage

Page 25: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

25

Memory Class Storage

NVRAM=

For now…

NVRAM

Memory Class Storage

In the future?

Page 26: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

26

Storage Class Memory

Is NOT a

Memory Class Storage

Page 27: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

27

Flash

Storage

Magnetic RAMResistive RAM

3DXpointPhase Change

3D NOR

Storage ClassMemory

DDRNVRAM

≥ DRAM performance= DRAM endurance≥ DRAM capacity

Memory ClassStorage

Hard Disk

SSD

NVMe

DDRDRAM

Wasteland

Page 28: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

28

Deterministic

Non-Deterministic

Deterministic

Non-Deterministic

Deterministic

Non-Deterministic

Page 29: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

29

DRAM

NVDIMM-N

Optane

NVRAM Memory Class Storage

NVDIMM-P

Page 30: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

30

DRAM

ACT

RD

WR

PRE

ACT

RD

WR

PRE

ACT

RD

WR

PRE REFR

ESH

ACT

RD

WR

PRE

Refresh time consumesup to 15% of bandwidth

Itty bitty leakycapacitors lose charge

On power fail, you lose

Page 31: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

31

Run

FAIL!

DRAM

Page 32: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

32

NVDIMM-NDRAM Array

Flash Backup

NVMControl

Isolation Buffers

VoltageRegulator

VoltageRegulator

Host SystemCPU

Energy Source

Power Fail

NVD

IMM

-N

Use DRAM normally

On Power Fail, copy to Flash

Power restored, copy to DRAM

Page 33: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

33

Run

FAIL!NVDIMM-N

Run

Switch to Battery Power

Copy DRAM to Flash

Copy Flash to DRAM

RESTORE

Page 34: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

34

NVDIMM-N

Copy DRAM to Flash

Copy Flash to DRAM

1-2 MINUTES

1-2 MINUTES

One power failcycle pays for

a LOT ofprotection

Page 35: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

35

Optane

3DXpoint Array

NVMControl

Host SystemCPU

RD

Data

Reads are slow

WR

Data

Writes are deathly slow

Could be used as a very slow DRAMbut more common as expansion

Faster than Flash!!!

But vs DRAM? Meh

Decent capacity, though

Page 36: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

36

3DXpoint Array

NVMControl

Host SystemCPU

App Direct

3DXpoint Array

NVMControl

Host SystemCPU

DRAM as Cache

Memory Mode

512GB = 512GB

512GB + 64GB = 512GB

Optane

Page 37: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

37

VoltageRegulator

NVDIMM-P DRAM Cache

Non-Volatile Memory Array – Any Kind

NVMControl

Host SystemCPU

Small Energy Source

Read A

RSP Data A

Read B Read CSend

Data C Data BRSP

Send

RSP

Send

New non-deterministic protocol

Not backward compatible with DDR

Requires NVDIMM-P aware CPU

NVDIMM-P Protocol

Page 38: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

38

NVDIMM-P Persistence

Options

Volatile ModeNo Persistence

Explicit FLUSH Command

Battery Backup ala NVDIMM-N

Reduced Energy,

Cacheless

Page 39: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

39

DRAM speed

Non-volatility

Scalable beyond DRAM

Low power

Low cost

Unlimited write endurance

Wide temperature range

Flexible fabrication & application

NVRAM

Page 40: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

40

Host System

Drop in replacement for DRAM

Permanently persistent

Always available

DRAMNVRAM Memory Class Storage

Fully Deterministic

Page 41: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

41

DDR5 NVRAM

NRAM™

ReRAM * MRAM *

PCM *

* Future generation devices

Page 42: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

42

Page 43: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

43

Comparing DRAM & NVRAM

No refresh is required

“Self refresh” can be power OFF

Some timing differences (but deterministic!)

Data persistence definitions

Greater per-die capacity

Page 44: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

44

NRAM™

ReRAM MRAM

PCM

≠Timings Precharge

requirementPersistencedefinition

DDR5 NVRAM Specification brings coherence

Page 45: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

45

IDLE

REFRESH

DRAM

“350 ns”

IDLE

REFRESH = NOP

NVRAM

Refresh command is not neededDecoded as NOP for compatibility

“0 ns”

Page 46: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

46

IDLE

SELFREFRESH

DRAM

REFRESH FREQUENCYCHANGE

Power burned

IDLE

NVRAM

FREQUENCYCHANGE

SELFREFRESH

“No” power burned

Page 47: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

47

IDLE

ACTIVATE

PRECHARGE

WRITE READ

DRAM

IDLE

READ

WRITE

NVRAM

Precharge command is not neededDecoded as NOP for compatibility

Page 48: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

48

Persistence Definitions*

Intrinsic:Immediately

AfterWRITE Extrinsic:

AfterFLUSH

Command

Power Fail:On

NVRAMRESET

* Discussions on-going

Page 49: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

49

* Discussions on-going

WR WR WR

Data is persistent

IntrinsicPersistence

WR WR FLUSH WR WR FLUSHExtrinsicPersistence

WR WR WR WR WR RESETPower FailPersistence

Page 50: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

50

DDR5 DRAMis limited

to 32Gb per die

DDR5 NVRAM enables up to128Tb per die

Page 51: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

51

ACT RD WR ACT RD WR ACT RD WR

DDR5 SDRAM

REXT ACT RD WR ACT RD WR REXT ACT RD WR

DDR5 NVRAM

Row Extension adds up to 12 more bits of addressing

Backward compatible with DDR5 – Acts like REXT = 0 until needed

Page 52: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

52

Bank buffer 0ROW

COLUMNS

Bank buffer 31ROW … DDR5SDRAM

Bank buffer 0ROW

COLUMNS

Bank buffer 31

REXT

ROWREXT … DDR5NVRAM

“ROW” includes bank group & bank…

Page 53: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

53

REXT A

ACT BANK W, ROW K

ACT BANK X ,ROW L

ACT BANK Y, ROW M

REXT B

ACT BANK Z, ROW N

READ BANK W

READ BANK X

READ BANK Y

READ BANK Z

Row A + K

Row A + L

Row A + M

Row B + N

REXT C

READ BANK Y Row A + M

ACT BANK W, ROW P

READ BANK W Row C + PWRITE BANK X Row A + L

ACT BANK X, ROW L

WRITE BANK X Row C + L

READ BANK Z Row B + N

REXT A

ACT BANK X, ROW R

READ BANK X Row A+R

Row Extension Example

Page 54: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

54

REXT A

ACT BANK W, ROW K

ACT BANK X ,ROW L

ACT BANK Y, ROW M

REXT B

ACT BANK Z, ROW N

READ BANK W

READ BANK X

READ BANK Y

READ BANK Z

Row A + K

Row A + L

Row A + M

Row B + N

REXT C

READ BANK Y Row A + M

ACT BANK W, ROW P

READ BANK W Row C + PWRITE BANK X Row A + L

ACT BANK X, ROW L

WRITE BANK X Row C + L

READ BANK Z Row B + N

REXT A

ACT BANK X, ROW R

READ BANK X Row A+R

Row Extension Replacement Example

Page 55: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

55

NVRAMMemory Class Storage

Page 56: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

56

Run

DRAM

StorageCheckpoint

Run

StorageCheckpoint

Run

StorageCheckpoint

Run

Run

Run

Run

NVRAM

Checkpointing can be made to persistent

memory

Checkpointing can be turned off completely

OR

Page 57: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

57

Run

DRAM

StorageCheckpoint

Run

StorageCheckpoint

Run

StorageCheckpoint

Run

NVRAM

Checkpoint

Run

Checkpoint

Run

Checkpoint

NVRAM

NVRAM

NVRAM

Phase 1

Run

NVRAM

Run

Run

No checkpoint

No checkpoint

Phase 2

Page 58: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

58

Keep in mind…

Power failureis not the onlything to fear

Checkpointsmay include

system failure

Knowing whena task mayresume is

complicated

Page 59: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

59

Remember Those

Persistence Definitions

ImmediatelyAfter

WRITE

Tasks may be safe in nanoseconds

AfterFLUSH

Command

Tasks may be safe in microseconds

OnNVRAMRESET

Tasks may not be safe until system

stability confirmed

Page 60: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

60

Performance CapacityPersistence

System designers havea lot of options to balance

Page 61: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

61HomogenousMain Memory

DRAM

MCS

Optane

NVDIMM-N

NVDIMM-P

Page 62: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

62

DRAM +Optane

MCS +NVDIMM-P

MCS +Optane

HeterogenousMain Memory

Page 63: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

63

DRAM

NVDIMM-N

Optane

NVRAMMemory Class Storage

NVDIMM-P

32GB

64GB

512GB

When capacitymeets persistence

Page 64: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

64

DRAM

NVDIMM-N

Optane

MCS

HomogenousMain Memory Combinations

NVDIMM-P

Data Safe

No

Yes

Yes

Yes

Yes

Performance

Best

Best

Worst

Mid

Best+

Capacity

1.0 X

0.5 X

10 X

10 X

1 X+

Page 65: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

65

DRAM + Optane

MCS + Optane

MCS + NVDIMM-P

Data Safe

No

Yes

Yes

DRAM + NVDIMM-P No

Performance

High

High

High

High

Capacity

6 X

6 X

6 X

6 X

HeterogeneousMain Memory Combinations

Page 66: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

66HomogenousMain Memory Combinations

Software need not care

All functions take thesame time

HeterogeneousMain Memory Combinations

Software encouraged toput critical functions

in faster memory

Often mount slowermemory as RAM drive

Page 67: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

67

Software support via DAXassists in moving…

from mounted drives…

…to direct access mode

…to RAM drive…

Page 68: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

68

The Power

of

Zero Power

Page 69: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

69

Putting a Node to Sleep

OperatingMode

Self RefreshMode

Instant On meanspower must stay alive

Refresh operations burnsignificant power

Page 70: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

70

33

Memory Class Storagecan be turned off entirely

OperatingMode

PowerOff

Page 71: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

71

DDR5 memory moduleshave on-DIMM voltage

regulation (PMIC)

DIMM power may beshut off independently

of system power

Data Buffers

Memory Media

System Power

ModulePower

PMIC

Memory Module (DIMM)

System Motherboard

Page 72: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

72

Data Buffers

Memory Media

System Power

ModulePower

PMICData Buffers

Memory Media

ModulePower

PMIC

Multiple powermanagement options

System power off; both DIMMs off

System power on & both DIMMs off

System power on & DIMM1 on, DIMM2 off

DIMM1 DIMM2

Page 73: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

73

Nantero NRAM™

My favorite NVRAM

Full presentation on Wednesday…

Page 74: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

74

Van der Waals energy barrier keeps CNTs apart or together

Data retention >300 years @ 300 ֯C, >12,000 years @ 105 ֯C

Stochastic array of hundreds nanotubes per each cell

ELECTRODE

ELECTRODE

Page 75: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

75

5 ns balancedread/write performance

No temperature sensitivity

Page 76: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

76

2,500 years ago

4,500 years ago

10,000 years ago

NRAM Data Retention= 12,000 Years

Page 77: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

77

Array size tuned to the size of drivers & receivers

Drivers Receivers

Z

Y

X

NRAM LAYER

I/O PHY

64 Kb tileX

256 K tiles=

16 Gb

Chip-level timing is a function of bit line flight timesReplicate this “tile” as needed for device capacity

Add I/O drivers to emulate any PHY needed

Page 78: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

78

Data Strobe DataStrobe

FIFO FIFO

SECDED ECC Engine

64 bits

72 bits

x4/x8

Address

RowDecode

ColumnDecode

Carbon Nanotube Arrays

Chip ID Die Selector

BankDecode

DDR4, DDR5NRAM

Page 79: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

79

DDR4/DDR5

Elimination of refresh

Elimination of tFAW restrictions

Elimination of bank group restrictions

Elimination of power states

Base throughput

Architectural improvementsimprove data throughput

15% or greater at the sameclock frequency

15-20%

Bandwidth: larger is better

Elimination of inter-die delays

DDR4/DDR5 NRAM

Page 80: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

80NVRAMMemory Class Storage

NRAM NRAM NRAM NRAM NRAM NRAM NRAM NRAM NRAM

NRA

M

NRA

M

NRA

M

NRA

M

NRA

M

NRA

M

NRA

M

NRA

M

NRA

M

Plugs into an RDIMM slot

Appears to the CPU as DRAM

Memory controller may optionally be tuned for NVRAM

Page 81: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

81One less layer ofmarshmallows to

deal with

Fully deterministic

Non-deterministic

Persistence

Persistence

Page 82: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

82

Page 83: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

83

A LEGO?

KnowYour

Enemy

Would you rather…

Step onbroken glass?

Or some jacks?

Page 84: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

84

…about those energy stores…

Batteries Supercapacitors Tantalums (etc.)

Page 85: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

85

Batteries Supercapacitors Tantalums (etc.)

High capacityHigh energy density

Low reliability

Medium capacityLow energy densityDegrade over time

Low capacityLow energy density

…but stable

Page 86: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

86

Flash orStorage Class

Memory

StorageController DRAM Energy

I/O

Energy needed for backup of DRAM cache

Page 87: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

87

Flash orStorage Class

Memory

StorageController NVRAM Energy

I/O

XEliminate need

for backup energy

XMore roomfor storage

Page 88: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

88

NVRAM Changes the MathDRAM cache limited by

energy available

No DRAM? Cache size dictated by

cost/performance

1GB/TB

Page 89: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

89

…to Systems Evolution

Switching gears again…

Page 90: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

90

Pop quizHow many CPUs in a 1980s PC?

Page 91: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

91

One?

GraphicsAdapter

Modem

NetworkAdapter

SoundBlaster

Page 92: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

92

They were called “DSPs”Digital Signal Processors

They put processingnext to the data

They were killed by“Native Signal Processing”

Drivers

Analog front end devices

Page 93: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

93

$ $ $

W WW

With NSP…

So why do it?

Page 94: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

94

CPU

CPU

Memory

Memory

Storage Storage

AI

FPGA

Fabric

Now We Are Trending Back

Page 95: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

95

Page 96: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

96

ProcessorElements

ProcessorElements Processor

Elements

I/OElements

I/OElements

StorageElements

StorageElements

StorageElements

Bridge

Bridge

Bridge

LowLatencyFabric

Page 97: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

97

Distributed resources

In-memory computing

Application-specific computing

Artificial intelligence and deep learning

Security

Page 98: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

98

Network Adapter

LowLatencyFabric

Artificial IntelligenceAccelerator

Search EngineGraphics Accelerator

Human interface

Standard CPU

HTML processing

Human interfacemanagement

Memory Array

Filesystem AwareStorage

Page 99: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

99

HBM

HBM

HBM

HBM

ExecUnit SRAM

ExecUnit SRAM

ExecUnit SRAM

I/O NNP Control

SIMD architecturesMatrix interconnectionsFast pipes still limit load/save time

Challenges:• Model checkpointing• Data loss on power fail• Temperature sensitivity

Tbps links

Example AI accelerator

Page 100: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

100I/O

Back propagation algorithms complicate things

Data loss problems are amplified

Checkpointing highly time and bandwidth consuming

Page 101: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

101

The more distributed memory gets,the harder to load and unload

MEM MEM MEM MEM

MEM MEM MEM MEM

MEM MEM MEM MEM

Page 102: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

102

NVRAM TO THE RESCUE!

Replacing dynamic memory withpersistent memory resolves thedata loss issues

Page 103: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

103

ExecUnit SRAM

ExecUnit SRAM

ExecUnit SRAM

I/O NNP Control

MCS MCS MCS MCS

MCS MCS MCS MCS

MCS MCS MCS MCS

Just leave the data in placeas long as you want

HBM

HBM

HBM

HBM

MCSHBM

MCSHBM

MCSHBM

MCSHBM

Replace DRAM with NVRAM

Replace eRAM with NVRAM

Page 104: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

104

SRAM & RegistersThe final frontier…

Page 105: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

105

Continuing to look for ways to bringMemory Class Storage down under 1ns

It will happen

Faster edge rates

Voltage adjustment

Better error check

Shadow registers

Getting smarter

Page 106: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

106

DATA PERSISTENCE

When we no longer fear power failure…

Full END TO END persistence

Page 107: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

107

Are we getting near the day when we look back

at volatile memory…

…and LAUGH?

Page 108: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

108

……b…bu…but…but…

Page 109: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

109

Persistent data introduceschallenges, too

Page 110: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

110

Data isALWAYSthere!

Data securityis a growing

concern

Page 111: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

111

So many potential breaches

Application opens data fromprevious application

Memory moved from onesystem to another

Spy devices on memorybuses

Page 112: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

112

Infection viahack Infection via

spy devices

Page 113: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

113

Password: X2.Hd44**3#jj0%

General trend is to encrypt data beforetransmission or storage

Page 114: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

114

Keep the bad guys out

X2.Hd44**3#jj0%

X2.Hd44**3#jj0%

Page 115: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

115

VoltageRegulator

DRAM Cache

Non-Volatile Memory Array – Any Kind

SmartNVM

Control

Host SystemCPU

Small Energy Source

Some are adding in-memorycompute functions

including encryption

Works as long as the busis secure

Encryption quality may belimited by block transfer size

Management of many keyscan get complicated quickly

Password:

X2.Hd44**3#jj0%

Page 116: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

116

ISO/IEC 11889

Page 117: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

117

Power Fail Sucks

Saving Data is a Pain

Need tiers of memory & storage

Persistence is Essential

Today’s Solutions

HelpSummary

But We Can Do BetterDDR5

NVRAM Spec in Progress

Mix & Match

Memories

Data Distribution Challenges

Persistence Complications

Sharing Time

Page 118: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

118

Thank you for your time

Bill [email protected]

Page 119: Expanding the World of Heterogenous Memory HierarchiesExpanding the World of Heterogenous Memory Hierarchies The Evolving Non -Volatile Memory Story. 16 May 2019. Bill Gervasi. Principal

119

I’m here tolearn too

What do youdeal with?