A Sharing-Aware Greedy Algorithm for Virtual Machine Maximization

Service providers face multiple challenges in hosting an increasing number of virtual machine (VM) instances. Minimizing the utilization of system resources while maximizing the potential for profit are among the most common challenges. Recent studies have investigated memory reclamation techniques focused on virtual technologies, specifically page sharing, for minimizing the utilization of system resources. In this paper, we address the problem of sharing-aware VM maximization in a general sharing model which has as objective finding a subset of VMs that can be hosted by a server with a given memory capacity such that the total profit derived from hosting the subset of VMs is maximized. The sharing-aware VM maximization allocation problem has been shown to be NP-hard. Therefore, we design a greedy approximation algorithm for solving it. We determine the approximation ratio of our greedy algorithm and perform extensive experiments to investigate its performance against other VM allocation algorithms.

[1]  Robert P. Goldberg,et al.  Survey of virtual machine research , 1974, Computer.

[2]  Prashant J. Shenoy,et al.  Sharing-aware algorithms for virtual machine colocation , 2011, SPAA '11.

[3]  Ishan Banerjee,et al.  ESX Memory Resource Management : Transparent Page Sharing , 2016 .

[4]  Scott Devine,et al.  Disco: running commodity operating systems on scalable multiprocessors , 1997, TOCS.

[5]  Peter Desnoyers,et al.  Memory buddies: exploiting page sharing for smart colocation in virtualized data centers , 2009, VEE '09.

[6]  Carl A. Waldspurger,et al.  Memory resource management in VMware ESX server , 2002, OSDI '02.

[7]  George Varghese,et al.  Difference engine , 2010, OSDI.

[8]  Maxim Sviridenko Worst-case analysis of the greedy algorithm for a generalization of the maximum p-facility location problem , 2000, Oper. Res. Lett..

[9]  R. P. Goldberg,et al.  Virtual Machine Technology: A Bridge From Large Mainframes To Networks Of Small Computers , 1979 .

[10]  Daniel Grosu,et al.  Combinatorial Auction-Based Mechanisms for VM Provisioning and Allocation in Clouds , 2012, 2012 12th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing (ccgrid 2012).

[11]  Tsung-Chyan Lai Worst-case analysis of greedy algorithms for the unbounded knapsack, subset-sum and partition problems , 1993, Oper. Res. Lett..

[12]  Amiya Nayak,et al.  Policy management: leveraging the open virtualization format with contract and solution models , 2012, IEEE Network.

[13]  Joseph Naor,et al.  Almost optimal virtual machine placement for traffic intense data centers , 2013, 2013 Proceedings IEEE INFOCOM.

[14]  Satoshi Takahashi,et al.  Virtual Machine packing algorithms for lower power consumption , 2012, 4th IEEE International Conference on Cloud Computing Technology and Science Proceedings.