vTMM: Tiered Memory Management for Virtual Machines
Document Type
Conference Proceeding
Publication Date
5-26-2023
Department
Department of Computer Science
Abstract
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 2× 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.
Publication Title
Proceedings of the 18th European Conference on Computer Systems, EuroSys 2023
ISBN
9781450394871
Recommended Citation
Sha, S.,
Li, C.,
Luo, Y.,
Wang, X.,
&
Wang, Z.
(2023).
vTMM: Tiered Memory Management for Virtual Machines.
Proceedings of the 18th European Conference on Computer Systems, EuroSys 2023, 283-297.
http://doi.org/10.1145/3552326.3587449
Retrieved from: https://digitalcommons.mtu.edu/michigantech-p/17284