and uniform lifetime for virtualized ssds
play

and Uniform Lifetime for Virtualized SSDs Jian Huang Anirudh Badam - PowerPoint PPT Presentation

FlashBlox: Achieving Both Performance Isolation and Uniform Lifetime for Virtualized SSDs Jian Huang Anirudh Badam Laura Caulfield Bikash Sharma Moinuddin K. Qureshi Suman Nath Sudipta Sengupta Flash Has Changed Over the


  1. FlashBlox: Achieving Both Performance Isolation and Uniform Lifetime for Virtualized SSDs Jian Huang † Anirudh Badam Laura Caulfield Bikash Sharma Moinuddin K. Qureshi † Suman Nath Sudipta Sengupta †

  2. Flash Has Changed Over the Last Decade Performance Improvement 100 x lower latency 5,000 x higher throughput 2

  3. Flash Has Changed Over the Last Decade Performance Increased Improvement Parallelism Dozens of 100 x lower latency 5,000 x higher throughput parallel chips 2

  4. Flash Has Changed Over the Last Decade Performance Increased Became Improvement Parallelism Commodity Dozens of 100 x lower latency Less than $ 0.3 /GB 5,000 x higher throughput parallel chips 2

  5. Flash Has Changed Over the Last Decade Performance Increased Became Improvement Parallelism Commodity Dozens of 100 x lower latency Less than $ 0.3 /GB 5,000 x higher throughput parallel chips Significant improvements on Flash 2

  6. Shared Flash-Based Solid State Disk (SSD) in the Cloud ……. 3

  7. Shared Flash-Based Solid State Disk (SSD) in the Cloud ……. SSDs are virtualized and shared in data centers 3

  8. Performance Interference in Shared SSD ……. Write Read Flash Translation Layer Flash-based SSD: A Black Box …… …… …… …… … … … … … … Chip Chip Chip Chip Chip Chip Channel Channel Channel 4

  9. Performance Interference in Shared SSD ……. Read/write interferences cause long ( 3 x) tail latency! Write Read Flash Translation Layer Flash-based SSD: A Black Box …… …… …… …… … … … … … … Chip Chip Chip Chip Chip Chip Channel Channel Channel 4

  10. Performance Interference in Shared SSD ……. Write Read Flash Translation Layer …… …… …… …… … … … … … … Chip Chip Chip Chip Chip Chip Channel Channel Channel 4

  11. Performance Interference in Shared SSD ……. Write Read Flash Translation Layer …… …… …… …… … … … … … … Chip Chip Chip Chip Chip Chip Channel Channel Channel 4

  12. FlashBlox: Hardware Isolation in Cloud Storage ……. Flash Translation Layer …… …… …… …… … … … … … … Chip Chip Chip Chip Chip Chip Channel Channel Channel 5

  13. FlashBlox: Hardware Isolation in Cloud Storage ……. Leveraging parallel chips for hardware isolation Flash Translation Layer …… …… …… …… … … … … … … Chip Chip Chip Chip Chip Chip Channel Channel Channel 5

  14. Internal Parallelism Enables Hardware Isolation …… …… …… …… … … … … … … plane plane plane plane plane plane plane plane plane plane plane plane Chip Chip Chip Chip Chip Chip Channel Channel Channel 6

  15. Internal Parallelism Enables Hardware Isolation Channel-Level Parallelism …… …… …… …… … … … … … … plane plane plane plane plane plane plane plane plane plane plane plane Chip Chip Chip Chip Chip Chip Channel Channel Channel 6

  16. Internal Parallelism Enables Hardware Isolation Channel-Level Parallelism Chip-Level Parallelism …… …… …… …… … … … … … … plane plane plane plane plane plane plane plane plane plane plane plane Chip Chip Chip Chip Chip Chip Channel Channel Channel 6

  17. Internal Parallelism Enables Hardware Isolation Channel-Level Parallelism Plane-level parallelism is constrained as each chip contains only one address buffer Chip-Level Parallelism Plane-Level Parallelism …… …… …… …… … … … … … … plane plane plane plane plane plane plane plane plane plane plane plane Chip Chip Chip Chip Chip Chip Channel Channel Channel 6

  18. Internal Parallelism Enables Hardware Isolation Channel-Level Parallelism Chip-Level Parallelism Plane-Level Parallelism …… …… …… …… … … … … … … plane plane plane plane plane plane plane plane plane plane plane plane Chip Chip Chip Chip Chip Chip Channel Channel Channel Different parallelism level provides different isolation guarantee 6

  19. New Abstractions for Hardware Isolation …… …… …… …… … … … … … … plane plane plane plane plane plane plane plane plane plane plane plane Chip Chip Chip Chip Chip Chip Channel Channel Channel 7

  20. New Abstractions for Hardware Isolation Virtual SSD Virtual SSD Virtual SSD (Channel Level) (Chip Level) (Plane Level) High Medium Low …… …… …… …… … … … … … … plane plane plane plane plane plane plane plane plane plane plane plane Chip Chip Chip Chip Chip Chip Channel Channel Channel 7

  21. New Abstractions for Hardware Isolation Virtual SSD Virtual SSD Virtual SSD (Channel Level) (Chip Level) (Plane Level) Software-based High Medium Low …… …… …… …… … … … … … … plane plane plane plane plane plane plane plane plane plane plane plane Chip Chip Chip Chip Chip Chip Channel Channel Channel 7

  22. Hardware Isolation Meets the Pay-As-You-Go Model in Cloud vSSD (Channel) vSSD (Chip) vSSD (Software) …… …… …… …… … … … … … … plane plane plane plane plane plane plane plane plane plane plane plane Chip Chip Chip Chip Chip Chip Channel Channel Channel 8

  23. Hardware Isolation Meets the Pay-As-You-Go Model in Cloud Azure Azure Amazon DocumentDB SQL Database DynamoDB vSSD (Channel) vSSD (Chip) vSSD (Software) …… …… …… …… … … … … … … plane plane plane plane plane plane plane plane plane plane plane plane Chip Chip Chip Chip Chip Chip Channel Channel Channel 8

  24. Hardware Isolation Meets the Pay-As-You-Go Model in Cloud Throughput Single Partition Size Azure Azure Amazon DocumentDB SQL Database DynamoDB Price vSSD (Channel) vSSD (Chip) vSSD (Software) …… …… …… …… … … … … … … plane plane plane plane plane plane plane plane plane plane plane plane Chip Chip Chip Chip Chip Chip Channel Channel Channel 8

  25. Hardware Isolation Meets the Pay-As-You-Go Model in Cloud Hundreds of vSSDs can be supported in a single server vSSD (Channel) vSSD (Chip) vSSD (Software) …… …… …… …… … … … … … … plane plane plane plane plane plane plane plane plane plane plane plane Chip Chip Chip Chip Chip Chip Channel Channel Channel 8

  26. Impact of Hardware Isolation on SSD Lifetime ……. Flash Translation Layer …… …… …… …… … … … … … … Chip Chip Chip Chip Chip Chip Channel Channel Channel 9

  27. Impact of Hardware Isolation on SSD Lifetime The average rate at which flash blocks are erased ……. 4.5 4 3.5 #Blocks Erased/sec 3 Average 2.5 2 1.5 Flash Translation Layer 1 0.5 0 …… …… …… …… … … … … … … Chip Chip Chip Chip Chip Chip Channel Channel Channel 9

  28. Impact of Hardware Isolation on SSD Lifetime The average rate at which flash blocks are erased ……. 4.5 4 3.5 #Blocks Erased/sec 3 Average 2.5 2 1.5 Flash Translation Layer 1 0.5 0 …… …… …… …… … … … … … … Chip Chip Chip Chip Chip Chip Channel Channel Channel 9

  29. Impact of Hardware Isolation on SSD Lifetime The average rate at which flash blocks are erased ……. 4.5 4 3.5 #Blocks Erased/sec 3 Average 2.5 2 1.5 Flash Translation Layer 1 0.5 0 …… …… …… …… … … … … … … Flash blocks wear out at different rate with different workload Chip Chip Chip Chip Chip Chip Channel Channel Channel 9

  30. Impact of Hardware Isolation on SSD Lifetime ……. Write Intensive Flash Translation Layer …… …… …… …… … … … … … … Chip Chip Chip Chip Chip Chip Channel Channel Channel 9

  31. App App App … … … Chip Chip Chip FlashBlox SSD Lifetime Performance Isolation Challenges 10

  32. App App App … … … Chip Chip Chip FlashBlox SSD Lifetime Performance Isolation Challenges App App App … … … Chip Chip Chip SSD Lifetime Performance Isolation 10

  33. App App App FlashBlox … … … Challenges Chip Chip Chip SSD Lifetime SSD Lifetime Performance Isolation 10

  34. FlashBlox: Swapping Channels for Wear Balance Used Erase Cycles Channel 1 Channel 2 Channel 3 Channel 4 Adjusting the wear imbalance at a more coarse time granularity can achieve near-ideal SSD lifetime 11

  35. FlashBlox: Swapping Channels for Wear Balance Used Erase Cycles Channel 1 Channel 2 Channel 3 Channel 4 The channel that has incurred the maximum wearout The channel that has the minimum rate of wearout 11

  36. FlashBlox: Swapping Channels for Wear Balance Used Erase Cycles Channel 1 Channel 2 Channel 3 Channel 4 Channel migration takes 15 minutes, once per 19 days Overall performance drops only for 0.04% of all the time 11

  37. How Frequently Should We Swap ? Imbalance = MaxWear / AvgWear Used Erase Cycles Channel 1 Channel 2 Channel 3 Channel 4 12

  38. How Frequently Should We Swap ? Imbalance = MaxWear / AvgWear 4 Used Erase Cycles App M Channel 1 Channel 2 Channel 3 Channel 4 12

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