1 / 23

Min Lee , Vishal Gupta, Karsten Schwan College of Computing Georgia Tech, Atlanta

Min Lee , Vishal Gupta, Karsten Schwan College of Computing Georgia Tech, Atlanta. Software-Controlled Transparent Management of Heterogeneous Memory Resources in Virtualized Systems. 3D Stacked Memory. 3D-Stacked Memory Architectures for Multi-core Processors [ISCA’08]. Heterogeneous Memory.

gizela
Download Presentation

Min Lee , Vishal Gupta, Karsten Schwan College of Computing Georgia Tech, Atlanta

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Min Lee, Vishal Gupta, Karsten Schwan College of Computing Georgia Tech, Atlanta Software-Controlled Transparent Management of Heterogeneous Memory Resources in Virtualized Systems

  2. 3D Stacked Memory 3D-Stacked Memory Architectures for Multi-core Processors [ISCA’08]

  3. Heterogeneous Memory Capacity constraint on die-stacked memory Heterogeneous memory organization consisting of on-chip and off-chip memory Stacked On-chip Memory Off-chip Memory (DDR) Cores

  4. Usage Models • Large Cache: hardware managed large last-level-cache (L4) • Heterogeneous Memory: system-visible heterogeneous memory (our focus)

  5. Why not H/W cache? Advantages: Quickly react to changing access patterns Supports legacy software Challenges: • Overhead of tags, requiring significant on-chip resources • Extending coherency protocols (design challenges and latency penalty) • Diminishing returns • No higher-level information

  6. Challenges in Virtualized Systems • Managing Heterogeneity: How to handle memory allocation? • Access tracking: How to track VM memory activity in the hypervisor? • Transparent Page migration: How to implement page migrations without guest VM involvement?

  7. Outline • Motivation • Memory management mechanisms • Experimental Evaluation • Conclusions & Future Work

  8. Basic idea • Detect Hot pages and put them in the stacked memory • Implemented in Xen hypervisor, a popular open-source hypervisor • Heterogeneity management is transparent

  9. Memory Access Tracking • Use page-table access-bits to build access-bit history • Scan page tables every 100 ms and maintain 32-bit access-bit history

  10. Hot Page Management

  11. Handling Shared Pages • Reverse-maps for remapping shared pages

  12. Transparent Page Migration • Mirror page tables for transparent page-remapping

  13. Virtual Time Tracking • Accounting in virtual-time instead of real-time for higher accuracy • 3 events: • VM switch • Process switch • Timer tick

  14. Memory Allocation Policies • Share-based allocation: allocation stacked memory using administrator-defined weights • WSS-based allocation: use dynamically determined working-set sizes as the weights for allocation

  15. Experimental Evaluation

  16. Emulation Platform A dual-socket Westmere platform, with memory throttling to emulate heterogeneous memory Socket 0 (8 – cores) Socket 1 (8 – cores) Throttled DRAM DRAM

  17. Impact of Memory Throttling Emulating different memory configurations

  18. Working-set Size Tracking • Diverse WSS across applications with time-changing behavior requiring dynamic management

  19. Memory Access Patterns • Diverse memory access patterns

  20. Impact of Memory Speed • Significant performance impact for several applications

  21. Micro-benchmark Results • Benchmark: Random access to large area of memory (100MB) • All memory initially allocated from slow memory • Significant decrease in memory access latency with page-migrations enabled

  22. Conclusions • A case for managing heterogeneous memory resources in software • Hypervisor-level mechanisms for transparent memory management Future Work • Various optimization to reduce page-migration costs • Implementation of memory allocation policies

  23. Thank you. Questions or comments?

More Related