hybrid smr drives
play

Hybrid SMR Drives Fenggang Wu , Bingzhe Li, Zhichao Cao, Baoquan - PowerPoint PPT Presentation

ZoneAlloy : Elastic ZoneAlloy Data and Space Management for Hybrid SMR Drives Fenggang Wu , Bingzhe Li, Zhichao Cao, Baoquan Zhang Ming-Hong Yang, Hao Wen, David H.C. Du University of Minnesota, Twin Cities Jul. 8, 2019. HotStorage19 C


  1. ZoneAlloy : Elastic ZoneAlloy Data and Space Management for Hybrid SMR Drives Fenggang Wu , Bingzhe Li, Zhichao Cao, Baoquan Zhang Ming-Hong Yang, Hao Wen, David H.C. Du University of Minnesota, Twin Cities Jul. 8, 2019. HotStorage’19 C enter for R esearch in I ntelligent S torage

  2. Shingled Magnetic Recording (SMR) Rotational Disk Traditional non-overlapping Shingled tracks track design Platter SMR Technology Tracks Shingled Magnetic Recording: + enables higher data density by overlapping data tracks. Read/Write Head - requires careful data handling when updating old blocks. C enter for R esearch in I ntelligent S torage

  3. T10 SMR Drive Models • Drive Managed – Black box/drop-in solution: the drive handles all out-of-order write operations. • Host Managed – White box/application modification needed: the drive reports zone layout information; out-of-order writes will be rejected. • Host Aware – Grey box: the drive reports zone layout information; out-of-order writes will still be handled internally. – Applications can use HA-SMR drive as is, and also have the opportunity for zone-layout aware optimizations. C enter for R esearch in I ntelligent S torage

  4. Example: Seagate HA SMR Sample Drives • Model: ST8000AS0022-1WL, prototype firmware revision ZN03. • Small Conventional Zone 64GB/8TB ~= 1% • Most disk space is sequential write preferred zone • Media Cache hidden from the user Conventional Zones Write Pointer Zones Inner track Outer track write pointer (wp) wp wp C enter for R esearch in I ntelligent S torage

  5. Motivation & Goals • Motivation: To meet the challenge of using SMR drives in large- scale storage systems. SMR Layout Awareness • Exploring which level to be SMR zone layout aware to support different applications (FS, DB, etc.) SMR Drive Aggregation • How to reduce the design complexity for multiple SMR drive applications. C enter for R esearch in I ntelligent S torage

  6. SMR Layout Awareness • Avoid non-seq: Convert all workload to sequential APP – Always perform sequential write to SMR drive. – Achieving near-HDD performance. FS • Accept non-seq: Know performance characteristic LVM and tweak workload accordingly. – when to avoid non-sequential write; when to let it go. RAID – reduce management overhead. • Which layer to be SMR-Aware? Multiple� SMR� Drives • Fully Aware or Partial Aware? S S S S – Hide/expose SMR information further up C enter for R esearch in I ntelligent S torage

  7. SMR Drive Aggregation • Abstract multiple physical APP APP SMR drives into logical FS FS one(s). LVM LVM • Preserve the I/O characteristic RAID RAID – How much we can preserve? Multiple SMR Drives One Logical SMR Driv – Parametrized SMR drives S S S S • Reduce design complexity, again. Aggregation C enter for R esearch in I ntelligent S torage

  8. Progress So Far • Understanding single SMR drive I/O performance for different workload – D efines “what to be aware of”. – Inspires “how to profile a logical aggregated SMR drive”. • Indirection Buffer Design – One HA-SMR Awareness design. – Preliminary result shows its effectiveness. • First version of prototype for aggregating SMR Drives (libvir) – User level implementation based on libzbc C enter for R esearch in I ntelligent S torage

  9. Host Aware SMR (HA-SMR) Drive Testing • Test goal focuses on unique features of HA-SMR: – Open zone issue Micro-benchmarking – Non-sequential zone issue Trace – Media cache cleaning efficiency • Test Setup fio – Replay micro-benchmarking traces to HA-SMR drives libzbc SMR C enter for R esearch in I ntelligent S torage

  10. Update: all overlapping tracks needs to be rewritten, causing update overhead . SMR: Shingled CMR: Conventional Magnetic Recording Magnetic Recording SMR : (+) more data density; (-) update overhead CMR : (-) less data density; (+) no update overhead. How about a combination of the two? C enter for R esearch in I ntelligent S torage

  11. Emerging Hybrid SMR Drives Online Conversion SMR CMR Disk Platters - Hybrid SMR (H-SMR) : mix of CMR and SMR; can be converted on line by H-SMR API. - Benefit : utilize both IOPS and Capacity. Flexible and reconfigurable. Hybrid SMR Drive Objective : How do we efficiently manage the data and space for such Hybrid SMR drives? C enter for R esearch in I ntelligent S torage 11

  12. Outline • Introduction • Design Goals • Background and Challenges • Design and Evaluation • Summary C enter for R esearch in I ntelligent S torage

  13. Design Goal • Handle growing utilization. • Reduce SMR update overhead. • Adapt to dynamic workload. C enter for R esearch in I ntelligent S torage 13

  14. Two-Phase Allocation outer inner Initial State: Empty Disk CMR tracks tracks Disk Physical Space allocation direction outer inner Phase I: CMR-only CMR (allocated) CMR (unallocated) tracks tracks Disk Physical Space CMR/SMR boundary outer inner Phase II: CMR + SMR CMR . SMR tracks tracks Disk Physical Space Intuition : use CMR first! then convert CMR to SMR when capacity is not enough. C enter for R esearch in I ntelligent S torage

  15. The devil is in the detail! Buckle up. Challenge ahead! C enter for R esearch in I ntelligent S torage 15

  16. Background: Format Conversion Logical Space CMR Space SMR Space Physical Space CMR Partition SMR Partition outer track inner track to be converted C enter for R esearch in I ntelligent S torage 16

  17. Background: Format Conversion Logical Space CMR Space SMR Space Physical Space CMR Partition SMR Partition outer track inner track converted C enter for R esearch in I ntelligent S torage 17

  18. Background: Format Conversion Conversion offline from CMR Before Logical Space CMR Space SMR Space Physical Space CMR Partition SMR Partition outer track inner track to be converted live data migration new capacity created Conversion After online in SMR Logical Space CMR Space SMR Space Physical Space CMR Partition SMR Partition outer track inner track converted C enter for R esearch in I ntelligent S torage 18

  19. Format Conversion allocation direction outer inner CMR (allocated) CMR (unallocated) tracks tracks Conversion Before Disk Physical Space CMR/SMR boundary outer inner CMR . SMR tracks tracks CMR Space SMR Space Disk Physical Space CMR Partition SMR Partition outer track inner track Challenge : to be converted live data migration - Address space / mapping new capacity created - SMR update overhead Conversion After - Live data migration cost CMR Space SMR Space CMR Partition SMR Partition outer track inner track converted C enter for R esearch in I ntelligent S torage 19

  20. Challenges and Solutions Challenge : Solution : - Address space / mapping - Elastic Address Space with Zone-level Mapping - SMR update overhead - H-Buffer and Zone-Swap to reduce SMR update - Live data migration cost overhead - Quantized Migration to mitigate live data migration cost in the format conversion C enter for R esearch in I ntelligent S torage

  21. Challenges and Solutions Challenge : Solution : - Address space / mapping - Elastic Address Space with Zone-level Mapping - SMR update overhead - H-Buffer and Zone-Swap to reduce SMR update - Live data migration cost overhead - Quantized Migration to mitigate live data migration cost in the format conversion C enter for R esearch in I ntelligent S torage

  22. DESIGN I: ADDRESS SPACE / MAPPING Elastic Address Space with Zone-level Mapping C enter for R esearch in I ntelligent S torage

  23. Elastic Address Space read/write/ extend size extendable size ... user User Space zone zone mapping logical Logical Space zone CMR Space SMR Space Physical Space CMR Partition SMR Partition outer track inner track to be converted C enter for R esearch in I ntelligent S torage 23

  24. Elastic Address Space read/write/ extend size extendable size ... User Space mapping new space updated Logical Space migrated CMR Space SMR Space live data Physical Space CMR Partition SMR Partition outer track inner track converted C enter for R esearch in I ntelligent S torage 24

  25. DESIGN II: REDUCING SMR UPDATE OVERHEAD H-Buffer and Zone-Swap C enter for R esearch in I ntelligent S torage

  26. H-Buffer: Overview Updates extendable size Elastic Address Space ... User Space Map Logical Space CMR Space SMR Space Physical Space inner track outer track CMR Partition SMR Partition C enter for R esearch in I ntelligent S torage

  27. H-Buffer: Overview Updates extendable size Elastic Address Space ... User Space Redirect Map Logical Space H-Buffer CMR Space SMR Space Migrate Physical Space outer track inner track CMR Partition SMR Partition H-Buffer: Host-controlled Buffer Basic Idea: using some reserved CMR space to buffer SMR updates and migrate to SMR zones later. C enter for R esearch in I ntelligent S torage

  28. H-Buffer Management: Alternatives • Block-based (e.g. LRU) Problem: Random I/O in redirecting/cleaning • Log-based – In-place FIFO – Loop-back Log (with hot/cold classification) Loop-back Log evict TAIL HEAD data blocks clean grow H-Buffer SMR Zones loop back Idea: Re-queue the hot data blocks to the log head without evicting to SMR zones. C enter for R esearch in I ntelligent S torage 28

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend