vTMM: Tiered Memory Management for Virtual Machines

被引:3
|
作者
Sha, Sai [1 ]
Li, Chuandong [1 ]
Luo, Yingwei [1 ]
Wang, Xiaolin [1 ]
Wang, Zhenlin [2 ]
机构
[1] Peking Univ, Beijing, Peoples R China
[2] Michigan Technol Univ, Houghton, MI USA
基金
美国国家科学基金会;
关键词
tiered memory; virtual machine; hot set; PML;
D O I
10.1145/3552326.3587449
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The memory demand of virtual machines (VMs) is increasing, while the traditional DRAM-only memory system has limited capacity and high power consumption. The tiered memory system can effectively expand the memory capacity and increase the cost efficiency. Virtualization introduces new challenges for memory tiering, specifically enforcing performance isolation, minimizing context switching, and providing resource overcommit. However, none of the state-of-the-art designs consider virtualization and thus address these challenges; we observe that a VM with tiered memory incurs up to a 2x slowdown compared to a DRAM-only VM. This paper proposes vTMM, a tiered memory management system specifically designed for virtualization. vTMM automatically determines page hotness and migrates pages between fast and slow memory to achieve better performance. A key insight in vTMM is to leverage the unique system characteristics in virtualization to meet the above challenges. Specifically, vTMM tracks memory accesses with page-modification logging (PML) and a multi-level queue design. Next, vTMM quantifies the page "temperature" and makes a fine-grained page classification with bucket-sorting. vTMM performs page migration with PML while providing resource overcommit by transparently resizing VM memory through the two-dimensional page tables. In combination, the above techniques minimize overhead, ensure performance isolation and provide dynamic memory partitioning to improve the overall system performance. We evaluate vTMM on a real DRAM+NVM system and a simulated CXL-Memory system. The results show that vTMM outperforms NUMA balancing, Intel Optane memory mode and Nimble (an OS-level tiered memory management system) for VM tiered memory management. Multi-VM co-running results show that vTMM improves the performance of a DRAM+NVM system by 50%-140% and a CXL-Memory system by 16% - 40%, respectively.
引用
收藏
页码:283 / 297
页数:15
相关论文
共 50 条
  • [1] HMvisor: dynamic hybrid memory management for virtual machines
    Dang YANG
    Haikun LIU
    Hai JIN
    Yu ZHANG
    [J]. Science China(Information Sciences), 2021, 64 (09) : 74 - 89
  • [2] HMvisor: dynamic hybrid memory management for virtual machines
    Yang, Dang
    Liu, Haikun
    Jin, Hai
    Zhang, Yu
    [J]. SCIENCE CHINA-INFORMATION SCIENCES, 2021, 64 (09)
  • [3] A Comparative Look at Adaptive Memory Management in Virtual Machines
    Simao, Jose
    Singer, Jeremy
    Veiga, Luis
    [J]. 2013 IEEE FIFTH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING TECHNOLOGY AND SCIENCE (CLOUDCOM), VOL 1, 2013, : 452 - 457
  • [4] VIRTUAL MEMORY, VIRTUAL MACHINES
    SHIELL, J
    [J]. BYTE, 1986, 11 (11): : 110 - &
  • [5] HMvisor: dynamic hybrid memory management for virtual machines
    Dang Yang
    Haikun Liu
    Hai Jin
    Yu Zhang
    [J]. Science China Information Sciences, 2021, 64
  • [6] Acquisition of Virtual Machines for Tiered Applications with Availability Constraints
    Sakhamuri, Praneeth
    Das, Olivia
    [J]. 2017 IEEE 18TH INTERNATIONAL SYMPOSIUM ON HIGH ASSURANCE SYSTEMS ENGINEERING (HASE 2017), 2017, : 132 - 135
  • [7] VTMM - Virtual Team Maturity Model
    Friedrich, Ralf
    Bleimann, Udo
    Stengel, Ingo
    Walsh, Paul
    [J]. PROCEEDINGS OF THE 7TH EUROPEAN CONFERENCE ON MANAGEMENT LEADERSHIP AND GOVERNANCE, 2011, : 159 - 166
  • [8] Analysis of Memory Ballooning Technique for Dynamic Memory Management of Virtual Machines (VMs)
    Moniruzzaman, A. B. M.
    [J]. INTERNATIONAL JOURNAL OF GRID AND DISTRIBUTED COMPUTING, 2014, 7 (06): : 81 - 90
  • [9] Dynamic Memory Resource Management in Virtual Machines with Different Applications
    Sakamoto, Masaki
    Yamaguchi, Saneyasu
    [J]. ADVANCED SCIENCE LETTERS, 2016, 22 (10) : 2745 - 2749
  • [10] Efficient Memory Management for Hardware Accelerated Java']Java Virtual Machines
    Bertels, Peter
    Heirman, Wim
    D'Hollander, Erik
    Stroobandt, Dirk
    [J]. ACM TRANSACTIONS ON DESIGN AUTOMATION OF ELECTRONIC SYSTEMS, 2009, 14 (04)