viyojit decoupling battery and dram capacities for
play

Viyojit: Decoupling Battery and DRAM Capacities for Battery-Backed - PowerPoint PPT Presentation

Viyojit: Decoupling Battery and DRAM Capacities for Battery-Backed DRAM Rajat Kateja # Anirudh Badam*, Sriram Govindan*, Bikash Sharma + , Greg Ganger # # CMU, *Microsoft, + Facebook (work done while at Microsoft) Overview Problem


  1. Viyojit: Decoupling Battery and DRAM Capacities for Battery-Backed DRAM Rajat Kateja # Anirudh Badam*, Sriram Govindan*, Bikash Sharma + , Greg Ganger # # CMU, *Microsoft, + Facebook (work done while at Microsoft)

  2. Overview • Problem • Excellent performance with BB-DRAM • But, need large batteries for high capacity • Observation • Typical battery used << Worst case • Idea: Provision battery for typical requirement • Challenge: Durability guarantee • Solution: Viyojit, bound dirty data in BB-DRAM • 89% smaller battery, only 7-25% throughput loss 2

  3. High performance storage with BB-DRAM Reads s e t i r W Write-back DRAM SSD Widely used high performance NVM technology 3

  4. Poor battery scaling limits BB-DRAM capacity 100000 10000 1000 100 10 1 Challenging to provision high capacity BB-DRAM 4

  5. Typical battery required is much smaller • Need to flush only dirty data • Typical workloads dirty only a small fraction of dataset Microsoft production MapReduce like workload Battery provisioned Battery required Can provision small batteries 5

  6. Viyojit ensures durability with small batteries • 10 Clean BB-DRAM pages • Battery for 2 Dirty pages C C C C C C C C C C • Write protect all clean pages • Make page 0 writable D C C C C C C C C C (a) Write page 0 • Make page 2 writable D C D C C C C C C C (b) Write page 2 • Make page 0 clean C C D C C C C C C D • Write protect (c) Write page 9 • Make page 9 writable Write protect pages to track and bound dirty data Proactively write-back infrequently updated data 6

  7. Viyojit writes-back infrequently updated pages • Target Least Recently Updated (LRU) page • Motivated by Least Recently Used policy • Consider only write accesses • Page always stays in memory • Identify target page using dirty bit • Periodically read and reset dirty bit Write-back Least Recently Updated pages 7

  8. Viyojit avoids blocking applications on write-backs • Background write-back thread • Adapt aggressiveness based on “dirty pressure” • Expected number of new dirty pages • Count new dirty pages in each period • Predict new dirty pages in next period • Exponentially decaying average Leave slack to absorb dirty pages w/o demand SSD write 8

  9. Evaluation Yahoo! Cloud Serving Benchmarks (YCSB): NoSQL workload 10 million ops, 16 Threads In-memory key-value store (Redis) Software persistent memory library (Intel’s PMDK) Viyojit (battery capacity ≡ BB-DRAM (battery OR capacity ≡ database size) fraction of the database size) • 20 cores; 140 GB DRAM; 280 GB SSD Metrics: • Throughput • Latency (average and tail) • SSD write traffic 9

  10. Effect of smaller battery on application throughput Lower is better Low overhead (7-25%) with 89% smaller battery 10

  11. Effect of smaller battery on average and tail latency Lower is better YCSB-A (50% writes) Write traps to track updates lead to high tail latency 11

  12. Takeaways from Viyojit’s results • Key takeaway: Big reduction in battery; low overheads • 89% smaller battery, only 7-25% throughput loss • Other results: • Overheads decrease as battery capacity increases • Overheads decrease as write skew increases • Overheads decrease as BB-DRAM size increases 12

  13. Conclusion • Excellent performance with BB-DRAM • But, battery scaling is problematic • Typically, small battery can suffice • If an upper bound could be ensured • Viyojit bounds number of dirty BB-DRAM pages • 89% smaller battery, only 7-25% throughput loss 13

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