refs support for smr drives - snia · 2017 storage developer conference. © insert your company...

18
ReFS Support For SMR Drives Raj Das Microsoft

Upload: others

Post on 29-May-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

  • 2017 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved. 1

    ReFS Support For SMR Drives

    Raj DasMicrosoft

  • 2017 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved. 2

    Agenda

    ReFS V1 Primer ReFS V2 Intro Features and Motivation SMR Support

  • 2017 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved. 3

    ReFS V1 Windows allocate-on-write file system.Metadata stored in B+ tables.

    Merkle trees verify metadata integrity.Optional for data.

    Inline recovery from single copy corruption. Inline chkdsk. Periodic Scrubbing of data/metadata.

  • 2017 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved. 4

    ReFS V2 Windows Server 2016. Focused on Server Workloads.VMs, Private Cloud.

    Parity Friendly IO pattern. Dynamic Tiering in IO Codepath. Redo logging.

  • 2017 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved. 5

    ReFS V2 (Contd.) Sparse VDLEfficient tracking of initialized/uninitialized

    data on disk. Parallel efficient allocator.~150K allocations/sec sustained.

  • 2017 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved. 6

    SMR Three Kinds of SMR disks.Drive Managed.Host Aware.Host Managed.

    SMR disk broken up into bands, of 256MB. Host managed SMR requires strictly sequential

    write pattern within a band.

  • 2017 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved. 7

    ReFS SMR Support (Requirements)

    Minimal Change to application, should just work. Multiple files written simultaneously.Serialized write preferred but not required.

    Must give serialized IO throughput of disk. Application retains control.

  • 2017 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved. 8

    ReFS V2 Features Policy Driven Allocation.Policy Module guides where to allocate from.Sets boundaries.

    Tiering Aware Allocation. Deferred Allocation Logic.LCNs assigned when needed, i.e. IO

    codepath.

  • 2017 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved. 9

    ReFS V2 Features

    Cluster Bands 64MB/256MB in size. Can swap Bands. Per Band matadata

    tracked independently.

  • 2017 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved. 10

    ReFS V2 Features CompactionRead Band with

    holes.Write only allocated

    regions.Update Index.

  • 2017 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved. 11

    ReFS Features Compression Compaction + Compress data

    before writing. Supports:

    LZNT1 LZX XPRESS XPRESS_HUFF

  • 2017 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved. 12

    ReFS SMR Support 256MB sized cluster band.Maps 1:1 to SMR zone.

    Storage Spaces.Create Tiered Disk.SSD Tier, SMR Tier.

  • 2017 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved. 13

    ReFS SMR Support (Contd.) All metadata in SSD(Flash) tier. All Data in SMR Tier. Deferred Allocation Logic. Small data IOs redirected to single band.

  • 2017 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved. 14

    ReFS SMR Support (Contd.)

    Cluster band tracks it’s SMR Zone write pointer. Strict IO serialization logic per band. Next IO sent after preceding IO queued to HW.

  • 2017 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved. 15

    ReFS SMR Support (Contd.) ReFS Tracks

    Free Space in SSD Tier. Free Space in SMR Tier. Writable Free space in SMR Tier. GC space in SMR Tier = (FreeSMR – WritableSMR)

    Values reported by FSCTL. GC controlled by application.

    GC pausable/resumable, and abortable.

  • 2017 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved. 16

    ReFS SMR Support (Contd.) GC Overhead Concerns:Steals bandwidth from applications.

    Large Files get their own dedicated Bands. Small Files share bands.

  • 2017 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved. 17

    Demo

  • 2017 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved. 18

    Questions?

    ReFS Support For SMR DrivesAgendaReFS V1ReFS V2ReFS V2 (Contd.)SMRReFS SMR Support (Requirements)ReFS V2 FeaturesReFS V2 FeaturesReFS V2 FeaturesReFS FeaturesReFS SMR SupportReFS SMR Support (Contd.)ReFS SMR Support (Contd.)ReFS SMR Support (Contd.)ReFS SMR Support (Contd.)DemoSlide Number 18