creating storage class persistent memory with nvdimm ·  · 2013-08-15paul sweere vice president,...

22
PAUL SWEERE Vice President, Engineering [email protected] Creating Storage Class Persistent Memory With NVDIMM

Upload: phungquynh

Post on 13-May-2018

223 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

PAUL SWEEREVice President, Engineering

[email protected]

Creating Storage Class Persistent

Memory With NVDIMM

Page 2: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview2

MEMORY/STORAGE HIERARCHY

ACCESS TIME (ns)

101

102

103

104

105

106

100

CPUCACHE

MAINMEMORY

SSD HDD

� Data-Intensive Applications Need Fast Access To Storage

� Large Performance Gap Between Main Memory And HDD

� SSDs Have Narrowed The Gap, But A Gap Still Exists

� Opportunity For Innovation! Performance Gap

SRAM DRAM NAND Magnetic

NEWTECHNOLOGY

Page 3: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview3

NEW MEMORY LANDSCAPE

• Non-volatile

• Speed of DRAM

• Infinite Write Endurance

• Dense

• Scalable, Low Cost

• Low Power

Storage Class Memory Technology Vision

Arguably, Several Years Before SCM Is Ready For Broad Commercial Adoption

But, The Promise Of SCM Can Be Realized Today ....

By Combining DRAM and NAND To Create A New Device -> NVDIMM ...

NVDIMM

Page 4: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview4

NVDIMM• “Hybrid” Memory Module Combining DRAM and NAND

– Plugs Into JEDEC Standard DIMM Socket

• Leverages Beneficial Characteristics Of Each Memory Technology

– Speed, endurance, and random byte addressability of DRAM

– Non-volatility of NAND Flash

• Enables Main Memory Persistence

– Data written to DRAM is preserved through system power loss

– Main memory becomes non-volatile but operates at speed of DRAM

Page 5: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview5

NVDIMM

NVDIMM BLOCK DIAGRAM

NAND Flash

JEDEC Standard DRAMAnd Logic

PowerManagementSupercapacitor

DDR Host Power Add/Cmd, Data

JEDEC Standard DIMM Edge Connector

NVDIMM Controller

Bus Isolation

Page 6: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview6

NVDIMM OPERATION

NORMAL OPERATION: Operates from host power, data transferred b/w host and DRAM

SAVE OPERATION: NVDIMM disconnects from host, transfers data from DRAM to NAND

RESTORE OPERATION: Host power restored, transfers data from NAND To DRAM

NORMAL OPERATION: NVDIMM reconnects to host.

NVDIMM

NAND Flash

JEDEC Standard DRAMAnd Logic

PowerManagementSupercapacitor

DDR Host Power Add/Cmd, Data

JEDEC Standard DIMM Edge Connector

NVDIMM Controller

Bus Isolation

Page 7: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview7

NVDIMM SYSTEM INTEGRATION

SAVE Trigger

System BIOS

Application I/F

System Mgmt.

Power / Mech.

� Which system events should trigger a SAVE?� Incorporate appropriate H/W signaling

� Mapping NVDIMM into system memory� Support for RESTORE operation

� Configure and monitor state of NVDIMM � Monitor health of supercapacitors

� System power supply holdup requirements� Mechanical mounting of supercap pack

� Accessing NVDIMM from application

Page 8: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview8

A

E

SAVE OPERATION

Normal Execution Flush Data SR

B

C

D

NORMAL SR SAVE

DC Holdup Time(1-12 msec)

Dead Loop

F

AC

System DC

Powergood

SAVE_Trigger_n

Processor

SAVE_n

NVDIMMMode

G

Page 9: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview9

SYSTEM BIOS

» BIOS Modifications To Support RESTORE Operation

� Distinguish NVDIMMs from standard DIMMs, map

into E820 table, EFI memory map

� Allow NVDIMMs in SAVE to complete before

proceeding

� Execute RESTORE on all NVDIMMs with

valid SAVE data

Page 10: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview10

NVDIMM OPERATON – SYSTEM PERSPECTIVE

Page 11: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview11

SUPERCAPACITOR HEALTH MONITORING� Supercapacitor Aging

� Capacitance declines, ESR increases

� Overprovisioned for target application

� Health Monitoring Interface

� Host can initiate health check via i2c

interface or NVdriver API

� Early warning and EOL status bits

Page 12: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview12

ELECTROMECHANICAL� Power Supply Holdup Time

� Non-cached NV space requires ~500 usec holdup

� Cached NV implementation may require up to 10 msec

� Supercapacitor Mounting Options

Spare Fan BayDrive Bay Chassis Wall

Page 13: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview13

APPLICATION INTERFACE

� System Memory Map

� Mapping NVM Into Application

� Today: “ArxMalloc()”

� Application is responsible for managing memory

� Future: “nvmalloc()”

� Library manages memory (e.g. shared access)

� Data Access Method

� Byte: Direct access to NVM, no driver layer required

� Block/File: port ramdisk or file system to NVM

� Other Considerations

� Processor cache policy for NV space

� Processor memory consistency model

� Impact of reduced data access time

Page 14: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview14

� End-To-End ECC Protection

� ECC generated by memory controller and passed through to

SSD on SAVE

� Same ECC bits passed back to DRAM on RESTORE

� Data Transfer Protection

� DDR paths: ECC, address parity

DATA PROTECTION

Page 15: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview15

» Leverage Platform Reliability Features For Standard DIMMs

� DIMM mirroring (e.g. Intel Ivybridge)

� Intel machine check architecture

� Memory scrubbing

» Software Techniques

� Software RAID

� Checkpointing / Journaling

SYSTEM LEVEL RELIABILITY ENHANCEMENT

Page 16: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview16

NVDIMM PERFORMANCE

02468

101214161820

256K_Seq_WR_100 256K_Seq_RD_100

NVDIMMSATA SSD

Benchmark: VDBENCH, Platform: Intel Sandybridge, Linux, Two DDR3-1333 NVDIMMs

as interleaved pair (channel interleaving), PRAMFS vs. SATA SSD as Linux block device

Bandwidth (GB/sec)

Page 17: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview17

0

250

500

750

1000

1250

1500

1750

100_WR_4K_Rand 100_RD_4K_Rand

NVDIMM

SATA SSD

NVDIMM PERFORMANCEIOPs (K IOPs)

Benchmark: VDBENCH, Platform: Intel Sandybridge, Linux, Two DDR3-1333 NVDIMMs

as interleaved pair (channel interleaving), PRAMFS vs. SATA SSD as Linux block device

Page 18: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview18

NVDIMM APPLICATIONS

» Storage Array Controller I/O Cache

� Description: I/O cache mapped to NVDIMM

� Benefit: Performance. Enables “early” acknowledgment on writes

» VDI

� Description: Cache VDI I/O in NVDIMM

� Benefit: Performance

» IMDB

� Description: Place database in NVDIMM

� Benefit: Performance increase, lower power by reducing disk I/O

» SSD Replacement

� Description: Accelerate access to metadata

� Benefit: Performance

Page 19: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview19

INDUSTRY STANDARDIZATION

» NVDIMM Gaining Support From Key Ecosystem Players

� Intel announced NVDIMM support for Grantley at Spring 2013 IRUM

� Supermicro / Viking joint announcement in May, 2013

» JEDEC Hybrid Memory Task Group

� 12V and SAVE_n pins added to DDR4 DIMM socket

� 12V in DDR4 socket will simplify and improve efficiency of NVDIMM

power circuitry, simplify cable routing

» SNIA NVM Programming TWG

Page 20: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview20

NVDIMM ROADMAP

» Increased Standardization For DDR4

» Higher Capacities (16GB, 32GB)

» Expanded OS Compatibility

» Windows, VMWARE

» Support For NVM Integrated Directly Into OS / Languages

» Persistent variable support

» NVM-optimized file systems

» NVMalloc()

Page 21: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview21

Questions?

Page 22: Creating Storage Class Persistent Memory With NVDIMM ·  · 2013-08-15PAUL SWEERE Vice President, Engineering paul.sweere@vikingtechnology.com Creating Storage Class Persistent Memory

FMS 2013 NVDIMM Technology Overview22

Thank You