Windows Support for PM. Tom Talpey, Microsoft

Similar documents
Windows Support for PM. Tom Talpey, Microsoft

Update on Windows Persistent Memory Support Neal Christiansen Microsoft

PM Support in Linux and Windows. Dr. Stephen Bates, CTO, Eideticom Neal Christiansen, Principal Development Lead, Microsoft

REMOTE PERSISTENT MEMORY ACCESS WORKLOAD SCENARIOS AND RDMA SEMANTICS

Windows Persistent Memory Support

Microsoft SMB Looking Forward. Tom Talpey Microsoft

Capabilities and System Benefits Enabled by NVDIMM-N

Flash Memory Summit Persistent Memory - NVDIMMs

Remote Access to Ultra-Low-Latency Storage Tom Talpey Microsoft

Impact on Application Development: SNIA NVM Programming Model in the Real World. Andy Rudoff pmem SW Architect, Intel

Managing Persistent Memory Tiffany Kasanicky Intel

THE IN-PLACE WORKING STORAGE TIER OPPORTUNITIES FOR SOFTWARE INNOVATORS KEN GIBSON, INTEL, DIRECTOR MEMORY SW ARCHITECTURE

Application Access to Persistent Memory The State of the Nation(s)!

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

APIs for Persistent Memory Programming

Remote Persistent Memory With Nothing But Net Tom Talpey Microsoft

PERSISTENT MEMORY PROGRAMMING

Using NVDIMM under KVM. Applications of persistent memory in virtualization

Persistent Memory over Fabrics

SMB3 Extensions for Low Latency. Tom Talpey Microsoft May 12, 2016

Accessing NVM Locally and over RDMA Challenges and Opportunities

Persistent Memory, NVM Programming Model, and NVDIMMs. Presented at Storage Field Day June 15, 2017

Persistent Memory over Fabric (PMoF) Adding RDMA to Persistent Memory Pawel Szymanski Intel Corporation

Hewlett Packard Enterprise HPE GEN10 PERSISTENT MEMORY PERFORMANCE THROUGH PERSISTENCE

MICHAËL BORGERS, SYSTEM ENGINEER MATTHIAS SPELIER, SYSTEM ENGINEER. Software Defined Datacenter

RDMA Requirements for High Availability in the NVM Programming Model

NVDIMM Overview. Technology, Linux, and Xen

I want to build on Rick Coulson s talk earlier this morning that addressed emerging Persistent Memory technologies. I want to expand on implications

The SNIA NVM Programming Model: Latest Developments and Challenges. Andy Rudoff, Intel Corporation

Architected for Performance. NVMe over Fabrics. September 20 th, Brandon Hoff, Broadcom.

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Persistent Memory: The Value to HPC and the Challenges

NVMFS: A New File System Designed Specifically to Take Advantage of Nonvolatile Memory

The SNIA NVM Programming Model. #OFADevWorkshop

NVDIMM-N Cookbook: A Soup-to-Nuts Primer on Using NVDIMM-Ns to Improve Your Storage Performance

Evolution of Rack Scale Architecture Storage

What You can Do with NVDIMMs. Rob Peglar President, Advanced Computation and Storage LLC

What s New in Hyper-V 2016/1709/1803/2019

Remote Persistent Memory SNIA Nonvolatile Memory Programming TWG

VMware vsphere Virtualization of PMEM (PM) Richard A. Brunner, VMware

Reliability, Availability, Serviceability (RAS) and Management for Non-Volatile Memory Storage

Přehled novinek v Hyper-V 2016 Kamil Roman

Accelerating Microsoft SQL Server Performance With NVDIMM-N on Dell EMC PowerEdge R740

SNIA NVM Programming Model Workgroup Update. #OFADevWorkshop

Panel: Persistent Memory Adoption in Operating Systems (-ish) Moderator: Jeff Chang AgigA Tech, NVDIMM SIG Co-Chair

DataON and Intel Select Hyper-Converged Infrastructure (HCI) Maximizes IOPS Performance for Windows Server Software-Defined Storage

Extending RDMA for Persistent Memory over Fabrics. Live Webcast October 25, 2018

Benchmarking Persistent Memory in Computers

Hyper-V Performance Troubleshooting

Applications Take Advantage of Persistent Memory

Opportunities from our Compute, Network, and Storage Inflection Points

NVMe SSDs with Persistent Memory Regions

Persistent Memory in Linux. Tom Coughlan (with Thanks to Jeff Moyer), Red Hat

Persistent Memory Over Fabrics. Paul Grun, Cray Inc Stephen Bates, Eideticom Rob Davis, Mellanox Technologies

StorMagic SvSAN 6.1. Product Announcement Webinar and Live Demonstration. Mark Christie Senior Systems Engineer

Memory and Storage-Side Processing

Persistent Memory. High Speed and Low Latency. White Paper M-WP006

33% 148% 2. at 4 years. Silo d applications & data pockets. Slow Deployment of new services. Security exploits growing. Network bottlenecks

The Virtual Desktop Infrastructure Storage Behaviors and Requirements Spencer Shepler Microsoft

Technology Advancement in SSDs and Related Ecosystem Changes

NVDIMM Block Window Driver Writer s Guide

Toward a Memory-centric Architecture

A New Key-value Data Store For Heterogeneous Storage Architecture Intel APAC R&D Ltd.

Advancements in Hyper-V Storage

Creating Storage Class Persistent Memory With NVDIMM

Flavors of Memory supported by Linux, their use and benefit. Christoph Lameter, Ph.D,

Learn Your Alphabet - SRIOV, NPIV, RoCE, iwarp to Pump Up Virtual Infrastructure Performance

Pivot3 Acuity with Microsoft SQL Server Reference Architecture

Exam Objectives for MCSA Installation, Storage, and Compute with Windows Server 2016

Overcoming System Memory Challenges with Persistent Memory and NVDIMM-P

Design Considerations When Implementing NVM

Using persistent memory and RDMA for Ceph client write-back caching Scott Peterson, Senior Software Engineer Intel

Non-Volatile Memory Through Customized Key-Value Stores

Highly Scalable, Non-RDMA NVMe Fabric. Bob Hansen,, VP System Architecture

VMware Virtual SAN Technology

Modern hyperconverged infrastructure. Karel Rudišar Systems Engineer, Vmware Inc.

JANUARY 20, 2016, SAN JOSE, CA PRESENTATION TITLE GOES HERE. NVDIMM Panel

2017 Storage Developer Conference. Mellanox Technologies. All Rights Reserved.

SMB3 Update David Kruse Microsoft

PROFITstar & PROFITability Release Hardware Sizing Recommendations For Optimal Performance

Software-Defined Data Infrastructure Essentials

Low-Overhead Flash Disaggregation via NVMe-over-Fabrics Vijay Balakrishnan Memory Solutions Lab. Samsung Semiconductor, Inc.

Moneta: A High-performance Storage Array Architecture for Nextgeneration, Micro 2010

Solid State Storage Technologies. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Enhancing NVMe-oF Capabilities Using Storage Abstraction

Enterprise Architectures The Pace Accelerates Camberley Bates Managing Partner & Analyst

VCP GA, SC, NC, AL, FL

NVDIMM DSM Interface Example

Oliver Basarke

COMP6511A: Large-Scale Distributed Systems. Windows Azure. Lin Gu. Hong Kong University of Science and Technology Spring, 2014

SNIA s SSSI Solid State Storage Initiative. Jim Pappas Vice-Char, SNIA

NVM Express over Fabrics Storage Solutions for Real-time Analytics

Important new NVMe features for optimizing the data pipeline

The following modifications have been made to this version of the DSM specification:

Strata: A Cross Media File System. Youngjin Kwon, Henrique Fingler, Tyler Hunt, Simon Peter, Emmett Witchel, Thomas Anderson

Annual Update on Flash Memory for Non-Technologists

Cisco UCS S3260 System Storage Management

NEXTGenIO Performance Tools for In-Memory I/O

Handle more online transactions with non-volatile memory module based storage

SMB Direct Update. Tom Talpey and Greg Kramer Microsoft Storage Developer Conference. Microsoft Corporation. All Rights Reserved.

Transcription:

Windows Support for PM Tom Talpey, Microsoft

Agenda Windows and Windows Server PM Industry Standards Support PMDK Support Hyper-V PM Support SQL Server PM Support Storage Spaces Direct PM Support SMB3 and RDMA PM Support 2

Windows PM Industry Standards Support JEDEC JESD 245, 245A: Byte Addressable Energy Backed Interface Defines the host to device interface and features supported for a NVDIMM-N UEFI 2.5 2.7 Label format Block Translation Table (BTT): sector atomicity support ACPI 6.0 6.2 NVDIMM Firmware Interface Table (NFIT) NVM Root and NVDIMM objects in ACPI namespace Address Range Scrub (ARS) Uncorrectable memory error handling Notification mechanism for NVDIMM health events and runtime detected uncorrectable memory error 3

Windows PMDK Support PMDK open source library available on Windows Formerly Intel NVML (ref: Andy Rudoff s talk earlier today) http://pmem.io Source and prebuilt binaries available via GitHub https://github.com/pmem/pmdk/ Application API s for efficient use of PM hardware Most PMDK libraries (libpmem, etc) feature-complete on Windows Underlying implementation uses memory mapped files Access via native Windows DAX Libraries work in both PM and non-pm hardware environments Use case: simplified cross-platform application development 4

Windows Hyper-V PM Support Supported in Windows Fall 2017 release Windows & Linux guests in generation 2 VMs see virtual PMEM (vpmem) devices New VHD file type:.vhdpmem Can convert between VHDX and VHDPMEM formats Using convert-vhd PowerShell cmdlet Admin decides at create time if the VHDPMEM file has a BTT VHDPMEM files can also be mounted as a SCSI device on the host for read/write access Each vpmem device is backed by one.vhdpmem file 5

Windows Virtual PM ( vpmem ) Details Windows Fall 2017 release basic enabling of persistent memory directly into a Hyper-V VM Windows Server Insider Preview 17074 RS4 further updates https://blogs.windows.com/windowsexperience/2018/01/16/announcing-windows-server-insider-preview-build-17074/ DAX and BTT programming models, including Win32 APIs and PMDK, supported from guest Uses large pages automatically, when available Feature capacity limits Maximum vpmem device size is 256GB (1TB in preview) Maximum VM vpmem allocation is 256 GB (1TB in preview) Minimum vpmem device size is 16MB Maximum number of vpmem devices allocated to a VM is 128 New features in Preview Migration of VMs with vpmem allocations All management implemented through PowerShell Note, some VM meta-operations not yet supported: Checkpoints, Backup, Save/Restore 6

vpmem Component Level View Host NTFS (DAX) PMEM Disk Worker process BIOS VDEV NTFS (DAX) Host PMEM driver stack NVDIMM PMEM Disk VHDPMEM file NVDIMM VPMEM VDEV Open VHD file VID Populate guest NFIT VHDX data extents mapped to guest memory VM ACPI NFIT Describe NVDIMM layout Guest PMEM-aware file system Guest PMEM driver stack Virtual PMEM device Persistent region Guest physical address space Host physical address space Persistent region 7

Windows vpmem Configuration Example Use the New-VHD cmdlet to create a persistent memory device for a VM. PS> New-VHD d:\vmpmemdevice1.vhdpmem -Fixed -SizeBytes 4GB Use the New-VM cmdlet to create a Generation 2 VM with specified memory size and path to a VHDX image. PS> New-VM -Name ProductionVM1 -MemoryStartupBytes 1GB -VHDPath c:\vhd\baseimage.vhdx Use Add-VMPmemController cmdlet to add a persistent memory controller to the VM. PS> Add-VMPmemController ProductionVM1 Use Add-VMHardDiskDrive to attach persistent memory device to the VM s controller. PS> Add-VMHardDiskDrive ProductionVM1 PMEM -ControllerLocation 1 -Path D:\VPMEMDevice1.vhdpmem 8

SQL Server 2016 PM Support: Tail-of-Log Problem DB Transactions gated by log write speed The faster the log, the more DB updates possible Opportunity Accelerate Log Commits Accelerate DB Approach Log on PM With Tail of Log : 1. Copy log records into buffer, building up block persistently in PM 2. Complete transaction when commit arrives 3. Close log block when full 4. Schedule I/O to re-persist full block to SSD NVDIMM-N (Byte) Log Buffers Log File Red indicates the critical path for a transaction, accelerated by PM SSD (Block) 9

Accelerating SQL Server 2016 with PM SQL Server 2016 can use a byte-addressable log Commit @ DRAM speed! Enabled through DAX volumes on PM in Windows Accelerate In-Memory DB updates by up to 2x Configuration HK on NVMe (block) HK on NVDIMM-N (DAX) Row Updates / Second 63,246 124,917 Avg. Time / Txn (ms) 0.379 0.192 10

Windows Storage Spaces Direct PM Support Set of servers acting together to expose unified internal services Hosting multiple configurations and multiple scenarios, e.g. Scaleout File Server SQL Server Hyperconverged compute/storage (shown) Highly available and scalable PM and NVMe devices for better performance and efficiency SATA devices for lower cost Ethernet/RDMA storage fabric Available in WS2016 Datacenter Update previewing in Insider 17074 11

Storage Spaces Direct Device Support SSD: Any other Solid-State Drive connected via SATA or SAS PM: (aka SCM Storage-Class Memory), Non-volatile storage connected via CPU memory bus HDD: Any Hard Disk Drive connected via SATA or SAS NVMe: Non-Volatile Memory Express, connected via PCIe bus (AIC, M.2 and U.2) 12

Storage Device Configurations PM pooled as capacity devices OR OR PM for Capacity PM + NVMe for Capacity PM + SSD for Capacity PM tiered as caching devices OR PM for Cache NVMe for Capacity PM for Cache SSD for Capacity 13

Windows Storage Spaces Direct PM Support Initially block emulation PM as cache or capacity Future further PM usage envisioned 14

Windows RDMA-to-PM Support Industry continues to converge on RDMA Flush Additional optimization semantics also discussing Write-after-flush Integrity, security See Storage Developer Conference 2017, and prior Windows and Windows SMB3 presentations Storage Developer Conference, etc 15

RDMA Flush and Write-after-Flush Extensions Host SW NIC NIC Host PM Flush 16

SMB3 PM Support (including Push Mode ) Enables zero-copy remote read/write to DAX file Ultra-low latency and overhead Optimal for replication Implementable in phases SDC 2017 What s new in SMB3 presentation Future Modes 1 and 2 Mode 3! RDMA Push/ Commit SMB3 1 Traditional I/O RDMA NIC SMB3 Server 2 DAX memcpy by SMB3 Server 3 Push Mode direct from client via RDMA NIC RDMA R/W 1 2 Load/Store I/O requests 3 DAX Filesystem PMEM Buffer Cache Direct file mapping 17

Summary PM well-supported by Windows PM also well-supported by Windows Services Watch for further adoption and integration 18