persistent memory advances - snia · • cluster of persistent memory servers • software stack...

34
Persistent Memory Advances Arthur Sainio Persistent Memory and NVDIMM SIG Co-Chair, SNIA Director, Product Marketing, SMART Modular Technologies

Upload: others

Post on 26-Jun-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

  • Persistent Memory Advances

    Arthur SainioPersistent Memory and NVDIMM SIG Co-Chair, SNIA

    Director, Product Marketing, SMART Modular Technologies

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Agenda

    • Why Persistent Memory is Important

    • Persistent Memory Applications

    • SNIA and Industry Alliance Efforts on Persistent Memory

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Why is Persistent Memory Important?

    • Bridges the gap betweenDRAM and Flash

    • Dramatically increasessystem performance

    • Enables a fundamentalchange in computingarchitecture

    • Apps, middleware and OSs are no longer bound by file system overhead in order to run persistent transactions

    CPU

    Registers

    Cache

    DRAM

    Persistent Memory

    NAND Flash

    Magnetic

    Persistent Memory

    Acce

    ss T

    imes

    Higher Cost

    Lowest Latency

    Lower Cost

    Highest Latency

    BlockApplication

    Indirect Access

    Load/StoreApplication Direct

    Access

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    What It Is and Isn’t and Why is it Important?

    4

    • What is Persistent Memory?– Non-Volatile– Byte Addressable– Low Latency

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Storage vs. Memory

    Load/Store

    • Typical NUMA range: 0-200nS• Typical context switch range: above 2-3µS

    Context Switch

    Chart1

    HDD

    SATA SSD

    NVMe Flash

    Persistent Memory

    Device

    Latency (nS)

    Latency Budgets

    20000000

    160000

    25000

    50

    Sheet1

    Device

    HDD20000000

    SATA SSD160000

    NVMe Flash25000

    Persistent Memory50

    To resize chart data range, drag lower right corner of range.

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Memory and Storage are Converging

    6

    • Memory semantic operations become predominant (Volatile & Non-Volatile)

    TimeSource: Modified from Gen-Z Consortium 2017

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Emerging Technologies

    Multiple Persistent Memory technologies are nearing commercialization

    • Phase Change (PCM): a middle ground between DRAM and Flash

    • MRAM: DRAM replacement? density past 8Gb, lower idle power

    • ReRAM: Flash replacement? High density, better endurance

    • CNTRAM: Carbon Nanotube based memory – another DRAM replacement?

    Source: FMS, Jim Harrell, Aug’18

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Persistent Memory Technology Overview

    Technology FRAM MRAM ReRAM PCM 3D XPoint NRAM NVDIMM-N

    Density 4K-4Mb 256Mb TBD 128Mb 128Gb 16Gb 32GB

    Endurance 1012 1012 105 108 1012 1011 ∞

    Writes Byte Byte Byte Byte Byte Byte Byte

    Read Latency 70-100ns 70ns 25ns 20ns 100ns 100ns 40-180ns

    Write Latency 70-100ns 70ns 12µs 65ns 500ns 100ns 40-180ns

    Power Low Med-Low Low Med Med Low High

    Interface DRAM DDR3DDR4 Flash-Like Unique Unique DDR4DDR3DDR4

    Availability Limited Prod’n Alpha Limited Samp. Samp. Volume

    Source: Objective Analysis, May’18

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Existing and Emerging Variationsof Persistent Memory Products

    Nanoseconds Microseconds Milliseconds

    Hard Disk Drive(Spinning Media)

    SATA/SAS SSD(NAND)

    NVME SSD(NAND)

    NVME SSD(NVM)

    DIMMs(NVM)

    NVDIMM-P(DRAM/NVM)

    Cost

    NVDIMM-N(DRAM/NAND)

    RDIMM/LRDIMM(DRAM)

    Cost Optimized PM

    Perf

    orm

    ance

    O

    ptim

    ized

    PM

    Access TimeSource: Modified from Micron, FMS 2018

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    The Role of the NVDIMM-N

    Paves the path for Persistent Memory DIMMsAllows software development todayGets the creative process startedSupports segment of PM application needs

    A vehicle to debug PM-based systemsSoftware ready when hardware ships

    This Requires Standards!

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    SNIA NVM Programming Technical Work Group (TWG) Formed 06-11-2012

    • Dell• EMC• Fujitsu• HP• Intel• NetApp• Oracle• QLogic

    PM Aware Apps

    PM Aware File Systems

    PM capable Driver

    PM Device

    NVM.PM.FILE Mode

    PM VOLUME Mode

    File APIs Ld/St

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Persistent Memory – Challenging DRAM and Flash

    12Source: FMS, Jim Harrell, Aug’18

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Operating System Support

    • Both Linux and Microsoft joined the SNIA effort to help steer the direction of PM

    • Applications have direct Load/Store access to PM• End result: Both OS’s are structured almost identically

    (ex: DAX)• No other unique drivers needed

    • VMWare has also offered support for PM

    Persistent Memory support in OS’s ahead of volume adoption

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    NVDIMM-N

    14

    • NVDIMM-N - the first HW available to run PM Applications.• Success stories emerge highlighting the application benefits of PM

    • Example: “Tail of Log” for SQL Server• Used in man All Flash Arrays

    • Alliance formed between JEDEC and SNIA to effectively drive adoption of the technology

    NVDIMM-N Prove the Benefits of PM

  • Persistent Memory Applications

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    What Applications will use PM?

    Applications that have a large working set of data with a need for persistence

    Using NVMe or standard SSDs add latencyDecreasing the latency to avoid disk access

    In Memory DatabasesApplication driven data localityNewer DB adaptations beginning to use PM

    Productivity ImprovementsSoftware infrastructure is enabledStandard libraries are available

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Persistent Memory: Evolution of In-Memory Apps

    Hot Tier

    Warm Tier

    Cold Tier

    With DRAM

    OLAP(In-MemoryProcessing)

    OLTP

    DRAM8-256GB

    NVMe SSD1TB

    SAS/SATA SSD10TB

    With Persistent Memory

    PersistentMemory16GB –>1TB

    Collapse Hot & Warm Tier toprocess or store critical data

    SAS/SATA SSD10TBProcessed data

    & Transactionalops

    Hot Data Warm Data Cold Data

    Source: Modified from VMWare, FMS 2018

    OLAP – Online Analytical ProcessingOLTP – Online Transaction Processing

    Transaction logs

    https://www.google.com/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwj8neDx7OfcAhUKHqwKHZVkBq4QjRx6BAgBEAU&url=https://stratsolutions.com/microsoft-sql-server-solutions/&psig=AOvVaw1F5vl_IuNknsbhofz5fl-b&ust=1534174857335060https://www.google.com/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwiBoPS_7efcAhUDjq0KHf_bBQwQjRx6BAgBEAU&url=https://github.com/feonit/olap-cube-js&psig=AOvVaw2prs47soSY6HDHf9L315CJ&ust=1534174952790787

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Early PM System Support and Applications

    A sample of companies publicly showing PM support

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Persistent Memory Adds Value Across Diverse Applications

    RelationalDatabase

    Scale-out Storage

    Virtual DesktopInfrastructure

    Big Data In Memory Database

    MSFT SQL

    MySQL

    Maria DB

    Oracle

    VmwareVSAN

    MSFT Azure

    Store Virtual

    Vmware VDI

    Citrix HDI

    Mongo DB

    Cloudera

    HortonWorks

    Hadoop

    Cassandra

    MSFT SQL Hadoop

    SAP HANA

    MSFT SQL Hekaton

    XAP Gigaspace

    Middleware

    Java

    .NET

    HPC

    Optimized abstraction

    Journaling, Transaction logsLog acceleration:

    write combining and caching

    Tiering, caching, write buffering, meta-data storage

    Higher performanceHigher VM consolidation

    Check point acceleration

    HPC

    Source: Micron HPE Discover 2018

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Application Horizons - Today

    20

    TraditionalStorage

    Application

    File System

    Compiler

    Horizon 3:Languages

    File System

    Application

    PM

    Disk Driver

    File System

    PM

    Application

    Horizon 1:PM Middleware

    Application

    PM Library

    File System

    PM

    Horizon 2:PM Libraries

    HDD or SSD

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Application Horizons – Ultimate Goal

    21

    TraditionalStorage

    Application

    File System

    Compiler

    Horizon 3:Languages

    File System

    Application

    PM

    Disk Driver

    File System

    PM

    Application

    Horizon 1:PM Middleware

    Application

    PM Library

    File System

    PM

    Horizon 2:PM Libraries

    HDD or SSD

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    NVDIMM-N and 3DXPoint Applications

    22

    • Many NAND flash storage array vendors are using NVDIMM-N modules for write acceleration and commit logging

    • These applications do not require a density higher than multiple GBs so they are well-suited for NVDIMM-N

    • 3DXPoint is well-suited for PM applications like In-Memory databases that need 100’s of GBs to TBs of persistent memory that is used in combination with DRAM

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Example: Need for In Memory Persistent Database

    DreamWorks

    • 600TB’s of data in one film• Many small items in a large working

    set• Substantial re-use and repeat file I/O• Expensive to compute and convert• Distributed clients doing similar

    things• Writes are immutable; lockless

    updates

    Goal with PM

    • NVDIMMs in each workstation and server• Accelerate local workflows• Cluster of Persistent Memory servers• Software stack that provides RPM-as-a-

    Service• A way for apps to persist things and

    reduce trips through the storage stack• A way for apps to find and get things• That behaves like named shared memory

    Source: Modified from DreamWorks, FMS, Aug’18

    http://www.google.com/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwjRlpeQ597dAhUiKX0KHbcWDQQQjRx6BAgBEAU&url=http://www.stickpng.com/img/icons-logos-emojis/iconic-brands/dreamworks-studio-logo&psig=AOvVaw2QXyeEi1j0qlhIeR4ImYFy&ust=1538262129030494

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Example: Using Persistent Memory toAccelerate HCI Storage Performance

    Create a new persistent memory tier for metadata (benefits ALL apps)

    1. Read-modify-write with persistent memory as byte addressable is 100X faster than block storage

    2. Faster metadata access for dedup, checksum etc results in reduced CPU utilization and higher IOPS for all apps

    3. Faster reboots due to persistence of metadata in persistent memory (save time for not having to rebuild metadata from logs)

    Differentiated value with Persistent Memory in HCI storage tier

    Source; Modified from VMWare, FMS 2018

    http://www.google.com/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwiLn5vuseXcAhVHhq0KHY58B3QQjRx6BAgBEAU&url=http://nth.com/solutions/hyperconverged/&psig=AOvVaw0kuKFWeO_kQKNoE70A_a_C&ust=1534090290578797

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Example: WDC IntelliFlash Write Cache

    • Separate logging for incoming writes

    • Write is acknowledged after persisting to the write cache

    • Coalesced I/O is flushed to drives after dedupe and compression

    • Uses high performance media as the latency is crucial for many applications like DBT and OLTP

    • Best fit for NVDIMM25

    https://www.google.com/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwjlo8bM597dAhVwCTQIHcW3DY8QjRx6BAgBEAU&url=https://www.securedatatech.com/tegile-partner-st-louis/&psig=AOvVaw0fhm5poBQ5MUDth_F4b-YR&ust=1538262255931572

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Example Results – Latency Comparison

    • All flash array with 24TB capacity• iSCSI protocol• fio with 4 clients and 8 LUNs

    Source: WDC, FMS 2018

  • SNIA and Alliance Efforts on Persistent Memory

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Who is SNIA?

    28

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    What SNIA Does

    • Leads the storage industry worldwide in developing and promoting:

    • Standards development and adoption of open source software

    • Interoperability assurance – plugfests and conformance testing

    • Technology acceleration – SIGs and collaborations

    • Global vendor neutral education –certification, webcasts, white papers

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    SNIA Efforts on Persistent Memory

    SNIA Technical Council & Technical Working Groups (TWGs)Non-Volatile Memory Programming TWGThis is the body developing the NVM Programming Model

    SNIA Standards (aka Technical Positions), Software & White PapersNVM Programming Model v1.2 (June 2017) – Technical PositionPM Remote Access for High Availability v1 (February 2016) –White PaperPM Atomics and Transactions v1r1 (January 2017) – White Paper

    SNIA Solid State Storage Initiative (SSSI)One of many Forums and Initiatives within SNIASSSI sponsors the Persistent Memory and NVDIMM Special Interest Group (SIG)Deliverables: PM Summit, webcasts, videos, presentations, tutorials

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    JEDEC

    31

    • JEDEC standards address architectural, electrical, test, and SPD issues relating to memory design and manufacturing for commercial applications

    • JC-45.6 subcommittee:• Hybrid Modules

    • This is the subcommittee that governs NVDIMM work• Most recent – JESD248A – DDR4 NVDIMM-N (March 2018)• Governs all behavior of module including backup/restore

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    • To accelerate the awareness and adoption of Persistent Memories and NVDIMMs for computing architectures

    • The Persistent Memory and NVDIMM SIG will:Educate on the types, benefits, value, and integration of Persistent MemoriesCommunicate usage of the NVM Programming Model developed to simplify system integration of current and future PM technologiesInfluence and collaborate with middleware and application vendors to support Persistent MemoriesDevelop user perspective case studies, best practices, and vertical industry requirementsCoordinate with industry standards groups and promote industry standards related to PM and NVDIMMSynchronize and communicate a common Persistent Memory taxonomy

    Persistent Memoryand NVDIMM SIG Charter

    32

  • © 2018 Storage Networking Industry Association. All Rights Reserved.

    Application Development Enabling

    • SNIA Persistent Memory Application Enabling• A program is being formed to enable the application

    development community to build Persistent Memory applications

    • Will launch in early 2019• Looking for new members/contributors

    Goal: Accelerate Development of PM Applications

  • Thank You!

    Persistent Memory Advances��Arthur Sainio�Persistent Memory and NVDIMM SIG Co-Chair, SNIA�Director, Product Marketing, SMART Modular TechnologiesAgendaWhy is Persistent Memory Important?What It Is and Isn’t and Why is it Important?Storage vs. MemoryMemory and Storage are ConvergingEmerging TechnologiesPersistent Memory Technology OverviewExisting and Emerging Variations�of Persistent Memory ProductsThe Role of the NVDIMM-NSNIA NVM Programming Technical Work Group (TWG) Formed 06-11-2012Persistent Memory – Challenging DRAM and FlashOperating System SupportNVDIMM-NPersistent Memory ApplicationsWhat Applications will use PM?Persistent Memory: Evolution of In-Memory AppsEarly PM System Support and ApplicationsPersistent Memory Adds Value Across Diverse ApplicationsApplication Horizons - TodayApplication Horizons – Ultimate GoalNVDIMM-N and 3DXPoint ApplicationsExample: Need for In Memory Persistent DatabaseExample: Using Persistent Memory to�Accelerate HCI Storage PerformanceExample: WDC IntelliFlash Write CacheExample Results – Latency ComparisonSNIA and Alliance Efforts �on Persistent MemoryWho is SNIA?What SNIA DoesSNIA Efforts on Persistent Memory JEDECPersistent Memory�and NVDIMM SIG CharterApplication Development EnablingThank You!