Title :
Hotplug or Ballooning: A Comparative Study on Dynamic Memory Management Techniques for Virtual Machines
Author :
Haikun Liu ; Hai Jin ; Xiaofei Liao ; Wei Deng ; Bingsheng He ; Cheng-Zhong Xu
Author_Institution :
Services Comput. Technol. & Syst. Lab., Huazhong Univ. of Sci. & Technol., Wuhan, China
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 :
storage management; virtual machines; virtualisation; SLA violation; U-tube runtime system; ballooning mechanism; dynamic memory management technique; memory hotplug mechanism; memory overcommitment; service level agreement; static memory allocation; virtual machine; virtualization environment; Dynamic scheduling; Kernel; Linux; Memory management; Random access memory; Resource management; Virtual machine monitors; Ballooning; memory hotplug; memory management; virtual machine; virtualization;
Journal_Title :
Parallel and Distributed Systems, IEEE Transactions on
DOI :
10.1109/TPDS.2014.2320915