Top Banner
2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 1 The NVRAM Standard, Bringing Coherence to the Crazy World of Persistent Memory Bill Gervasi Principal Systems Architect Nantero, Inc.
57

The NVRAM Standard, Bringing Coherence to the Crazy World ...

May 26, 2022

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 1

The NVRAM Standard, Bringing Coherence to the Crazy World of Persistent Memory

Bill GervasiPrincipal Systems Architect

Nantero, Inc.

Page 2: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 2

Data Processing Challenges

Checkpointing

Memory Tiers

Persistence

Agenda

A New Standard

Applications

Page 3: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 3

Data processing is great

Page 4: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 4

Data processing is great

Until something goes wrong

Page 5: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 5

…the volatile natureof DRAM

Page 6: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 6

The Cost of Power Failure

Page 7: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 7

Page 8: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 8

Run

DRAM

StorageCheckpoint

Run

StorageCheckpoint

Run

StorageCheckpoint

Checkpointing degrades

performance

Checkpointingburnspower

Checkpointingsucks

Page 9: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 9

Run

DRAM

StorageCheckpoint

Run

FAIL!Run

Checkpoint

RESTART

But checkpointing avoids data loss from

failure

Page 10: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 10

Data persistence is essential

System failure is a key factor in

server software design

Storage access time impacts

transaction granularity

Page 11: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 11

The game we play totrade off performance,

capacity, and cost

Page 12: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 12

…move non-volatile storage closer to the

CPU

To reduce the penaltiesfrom checkpointing…

Page 13: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 13

CPUI/O MemoryControl

Mem

ory

Mem

ory

Mem

ory

Mem

ory

Network

$

Mem

ory

Mem

ory… Mem

ory

Mem

ory…

Faster,lower

latency

Page 14: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 14

The Search for

The holy Grail

Page 15: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 15

DATA PERSISTENCE

When we no longer fear power failure…

Page 16: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 16

What if you couldreplace DRAM with

a non-volatilememory?

You’d call itMemory

ClassStorage

Page 17: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 17

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 18: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 18

From vacuum tubesTo core memory

To DRAMTo NVRAM

Page 19: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 19

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 20: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 20

Not all “persistence”is created equal

SRAMDRAM

Flash

3DXpoint

NRAMFeRAM

MRAMReRAM

Page 21: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 21

“Write endurance”determines HOW persistent

Wear leveling needed if writes are limited

Page 22: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 22

Temperature sensitivityimpacts long term retention

Weeks of Data Retention

Page 23: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 23

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 24: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 24

Full DRAM Speed

No endurance limits

Fully deterministic

Memory Class Storage

Page 25: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 25

NVRAMis a

Memory Class Storage

Page 26: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 26

Memory Class Storage

NVRAM=

For now…

NVRAM

Memory Class Storage

In the future?Existing infrastructure

New controllers & memories

Page 27: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 27

Storage Class Memory

Is NOT a

Memory Class Storage

Page 28: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 28

Flash

Storage

Magnetic RAMResistive RAM

3DXpoint

Phase Change

3D NOR

Storage ClassMemory

DDRNVRAM

≥ DRAM performance= DRAM endurance≥ DRAM capacity

Memory ClassStorage

Hard Disk

SSD

NVMe

DDRDRAM

Wasteland

Page 29: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 29

DRAM speed

Non-volatility

Scalable beyond DRAM

Low power

Low cost

Unlimited write endurance

Wide temperature range

Flexible fabricationNVRAM

Page 30: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 30

Host System

Drop in replacement for DRAM

Permanently persistent

Always available

DRAMNVRAM Memory Class Storage

Fully Deterministic

Page 31: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 31

DDR5 NVRAM

NRAM™

ReRAM * MRAM *

PCM *

* Future generation devices

Page 32: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 32

Page 33: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 33

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 34: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 34

NRAM™

ReRAM MRAM

PCM

≠Timings Precharge

requirementPersistencedefinition

DDR5 NVRAM Specification brings coherence

Page 35: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 35

Profile 1 Features

Profile 2 Features

Profile 3 Features

Profile 4 Features

Common DDR5 NVRAM Feature Set

Differences capturedin the SPD

Page 36: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 36

IDLE

REFRESH

DRAM

“350 ns”

IDLE

REFRESH = NOP

NVRAM

Refresh command is not neededDecoded as NOP for compatibility

“0 ns”

Page 37: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 37

IDLE

SELFREFRESH

DRAM

REFRESH FREQUENCYCHANGE

Power burned

IDLE

NVRAM

FREQUENCYCHANGE

SELFREFRESH

“No” power burned

Page 38: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 38

IDLE

ACTIVATE

PRECHARGE

WRITE READ

DRAM

IDLE

READ

WRITE

NVRAM

Precharge command is not neededDecoded as NOP for compatibility

IdealLoad/Store

Memory

Page 39: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 39

Persistence Definitions*

Intrinsic:Immediately

AfterWRITE Extrinsic:

AfterFLUSH

Command

Power Fail:On

NVRAMRESET

* Discussions on-going

Page 40: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 40

* Discussions on-going

WR WR WR

Data is persistent

IntrinsicPersistence

WR WR WR WR WR RESETPower FailPersistence

WR WR FLUSH WR WR FLUSHExtrinsicPersistence

From NVDIMM-P

Page 41: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 41

DDR5 DRAMis limited

to 32Gb per die

DDR5 NVRAM enables up to128Tb per die

Page 42: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 42

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 43: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 43

Bank buffer 0ROW

COLUMNS

Bank buffer 31ROW … DDR5SDRAM

Bank buffer 0ROW

COLUMNS

Bank buffer 31

REXT

ROWREXT … DDR5NVRAM

“ROW” includes bank group & bank…

Page 44: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 44

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

Row Extension Example

REXT C

READ BANK Y

READ BANK Z

ACT BANK W, ROW P

READ BANK W

WRITE BANK X

ACT BANK X, ROW L

WRITE BANK X

REXT A

ACT BANK X, ROW R

READ BANK X

Row A + M

Row B + N

Row C + P

Row A + L

Row C + L

Row A + R

Page 45: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 45

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

Row Replacement Example

REXT C

READ BANK Y

READ BANK Z

ACT BANK W, ROW P

READ BANK W

WRITE BANK X

ACT BANK X, ROW L

WRITE BANK X

REXT A

ACT BANK X, ROW R

READ BANK X

Row A + M

Row B + N

Row C + P

Row A + L

Row C + L

Row A + R

Page 46: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 46

DDR4 or DDR5 I/O PHY

NRAM: Carbon Nanotube Cell MemoryCrosspoint tiles translated to DDRx

Page 47: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 47

Full DRAM speed: DDR4, DDR5

Non-volatility: 12,000 year data retention

Beyond DRAM: 512Gb/die in DDR5 window

Low power: 15% lower power than DRAM

Low cost: cheaper to build than DRAM

Unlimited write endurance

Wide temperature range: -55 ֯C to +300 ֯C tested

Flexible fabrication: Logic or memory

Page 48: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 48

Or Revolution?Evolution?

Page 49: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 49

Memory

Application Program

Load/Store

Storage

File operations

Block Transfers

Old paradigm

Filesystem

ContextSwitch

It’s About the Software

Memory Class Storage

Filesystem

Application Program

Load/Store

File operations

Block Transfers

New paradigmDAX Mode

Storage

Fast Slow

ContextSwitch

Page 50: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 50

Run

DRAM

StorageCheckpoint

Run

StorageCheckpoint

Run

StorageCheckpoint

Slow

Slow

Slow

Memory Class Storage

Memory Class Storage

Memory Class Storage

Run

Memory Class Storage

Checkpoint

Run

Checkpoint

Run

Checkpoint

Fast

Fast

Fast

Phase 1: √ to MCS

Run

Run

Run

Memory Class Storage

Phase 2: No √

Page 51: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 51

CPUMemoryControl

Mem

ory Class Storage

Network

$I/O

……… …

Storage-free SystemsEnabled

I/O

Network

Mem

ory Class Storage

Mem

ory Class Storage

Mem

ory Class Storage

Mem

ory Class Storage

Mem

ory Class Storage

Mem

ory Class Storage

Mem

ory Class Storage

Page 52: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 52

(Psst…)(I’m going with

revolution…)

Page 53: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 53

DATA PERSISTENCE

CacheRegisters Tape√

Hard Drive√SSD√

NVMe√Storage Class Memory√Memory

ClassStorage

Page 54: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 54

Memory Class Storage

Memory Class Storage

CPU

CXL Memory Class Storage

NVMe Memory Class Storage

Flash

Memory Class Storage

AIDeep Learning

Memory Class Storage

Page 55: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 55

Page 56: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 56

Power failure drives systems architectures

Checkpointing is a costly way to deal

with system failure Memory tiers balance safety

and performance

Persistence is moving closer

to the CPU

Summary

DDR5 NVRAM standard brings

coherence

Applications evolving to

exploit MCS

Page 57: The NVRAM Standard, Bringing Coherence to the Crazy World ...

2019 Storage Developer Conference. © Nantero Inc. All Rights Reserved. 57

Thank you for your time

Bill [email protected]