Hotplug or Ballooning: A Comparative Study on Dynamic Memory Management Techniques for Virtual Machines
Authors:
- 29 April 2014
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Parallel and Distributed Systems
- Vol. 26 (5) , 1350-1363
Abstract
In virtualization environments, static memory allocation for virtual machines (VMs) can lead to severe service level agreement (SLA) violations or inefficient use of memory. Dynamic memory allocation mechanisms such as ballooning and memory hotplug were proposed to handle the dynamics of memory demands. However, these mechanisms so far have not been quantitatively or comparatively studied. In this paper, we first develop a runtime system called U-tube, which provides a framework to adopt memory hotplug or ballooning for dynamic memory allocation. We then implement fine-grained memory hotplug in Xen. We demonstrate the effectiveness of U-tube for dynamic memory management through two case studies: dynamic memory balancing and memory overcommitment. With these two case studies, we make a quantitative comparison between memory hotplug and ballooning. The experiments show that there is no absolute winner for different scenarios. Our findings can be very useful for practitioners to choose the suitable dynamic memory management techniques in different scenarios.Keywords
Funding Information
- NSFC (61300040, 61272408, 61322210)
- Fundamental Research Funds for the Central Universities (13MS87)
This publication has 21 references indexed in Scilit:
- Application level ballooning for efficient server consolidation2013
- Dynamic Resource Allocation Using Virtual Machines for Cloud Computing EnvironmentIEEE Transactions on Parallel and Distributed Systems, 2012
- vSlicer2012
- Overdriver2011
- Optimizing the Performance of Virtual Machine Synchronization for Fault ToleranceIEEE Transactions on Computers, 2010
- Post-copy based live virtual machine migration using adaptive pre-paging and dynamic self-ballooning2009
- Dynamic memory balancing for virtual machines2009
- Practical memory leak detection using guarded value-flow analysis2007
- Context- and path-sensitive memory leak detectionACM SIGSOFT Software Engineering Notes, 2005
- Memory resource management in VMware ESX server2002