Skip to main content
Log in

An approximation algorithm for virtual machine placement in cloud data centers

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

Abstract

This study addresses the energy efficiency challenge in cloud data centers by examining the Virtual Machine Placement (VMP) problem. VMP involves mapping virtual machines (VMs) to physical machines (PMs) under capacity constraints. The paper focuses on the bin packing with linear usage cost (BPLUC) variant of bin packing, which includes fixed and variable costs in the calculation of the cost of a used bin. We prove that every approximation algorithm for the bin and vector bin packing can be used for BPLUC and VBPLUC, respectively. We propose a more power-efficient approach to VMP by applying a vector bin packing algorithm to minimize power consumption in data centers. We test the proposed algorithm on various synthetic and real workloads, and the experimental results demonstrate that it is more power-efficient than existing algorithms for VMP. The findings suggest that the proposed algorithm has significant implications for energy-efficient strategies in cloud data centers. Generally, this study makes contributes to the development of energy-efficient approaches to VMP that can help reduce power consumption and improve the sustainability of cloud data centers.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5

Similar content being viewed by others

References

  1. Askarizade Haghighi M, Maeen M, Haghparast M (2019) An energy-efficient dynamic resource management approach based on clustering and meta-heuristic algorithms in cloud computing iaas platforms: Energy efficient dynamic cloud resource management. Wirel Pers Commun 104:1367–1391

    Article  Google Scholar 

  2. Beloglazov A (2013) Energy-efficient management of virtual machines in data centers for cloud computing. PhD thesis

  3. Jennings B, Stadler R (2015) Resource management in clouds: survey and research challenges. J Netw Syst Manage 23(3):567–619

    Article  Google Scholar 

  4. Martello S, Toth P (1990) Bin-packing problem. Knapsack problems: algorithms and computer implementations, pp. 221–245

  5. Cambazard H, Mehta D, O’Sullivan B, Simonis H (2013) Bin packing with linear usage costs–an application to energy management in data centres. In: International Conference on Principles and Practice of Constraint Programming, Springer, pp. 47–62

  6. Bansal N, Eliáš, M, Khan A (2016) Improved approximation for vector bin packing. In: Proceedings of the twenty-seventh annual ACM-SIAM symposium on discrete algorithms, pp. 1561–1579. SIAM

  7. Wei C, Zhi-Hua H, Wang Y-G (2020) Exact algorithms for energy-efficient virtual machine placement in data centers. Futur Gener Comput Syst 106:77–91

    Article  Google Scholar 

  8. Zoltán Ádám Mann (2016) Multicore-aware virtual machine placement in cloud data centers. IEEE Trans Comput 65(11):3357–3369

    Article  MathSciNet  Google Scholar 

  9. Chen H, Wen Y, Wang Y (2023) An energy-efficient method of resource allocation based on request prediction in multiple cloud data centers. Concurr Comput Pract Exp 35(9):e7636

    Article  Google Scholar 

  10. Azizi S, Shojafar M, Abawajy J, Buyya R (2020) Grvmp: a greedy randomized algorithm for virtual machine placement in cloud data centers. IEEE Syst J 15(2):2571–2582

    Article  Google Scholar 

  11. Zhou Z, Shojafar M, Alazab M, Abawajy J, Li F (2021) Afed-ef: An energy-efficient VM allocation algorithm for IoT applications in a cloud data center. IEEE Trans Green Commun Netw 5(2):658–669

    Article  Google Scholar 

  12. Beloglazov A, Buyya R (2012) Optimal online deterministic algorithms and adaptive heuristics for energy and performance efficient dynamic consolidation of virtual machines in cloud data centers. Concurr Comput Pract Exp 24(13):1397–1420

    Article  Google Scholar 

  13. Ajmera K, Tewari TK (2018) Greening the cloud through power-aware virtual machine allocation. In: 11th International Conference on Contemporary Computing (IC3), pp. 1–6. IEEE

  14. Jangiti S, Ram ES, Sriram VSS (2019) Aggregated rank in first-fit-decreasing for green cloud computing. In: Cognitive informatics and soft computing, pp. 545–555. Springer

  15. Sunil S, Patel S (2023) Energy-efficient virtual machine placement algorithm based on power usage. Computing, pp. 1–25

  16. Zhou J, Zhang Y, Sun L, Zhuang S, Tang C, Sun J (2019) Stochastic virtual machine placement for cloud data centers under resource requirement variations. IEEE Access 7:174412–174424

    Article  Google Scholar 

  17. Zhang X, Tingming W, Chen M, Wei T, Zhou J, Shiyan H, Buyya R (2019) Energy-aware virtual machine allocation for cloud with resource reservation. J Syst Softw 147:147–161

    Article  Google Scholar 

  18. Ding Z, Tian Y-C, Wang Y-G, Zhang W-Z, Zu-Guo Yu (2023) Accelerated computation of the genetic algorithm for energy-efficient virtual machine placement in data centers. Neural Comput Appl 35(7):5421–5436

    Article  Google Scholar 

  19. Alharbi F, Tian Y-C, Tang M, Zhang W-Z, Peng C, Fei M (2019) An ant colony system for energy-efficient dynamic virtual machine placement in data centers. Expert Syst Appl 120:228–238

    Article  Google Scholar 

  20. Singh AK, Swain SR, Lee CN (2023) A metaheuristic virtual machine placement framework toward power efficiency of sustainable cloud environment. Soft Comput 27(7):3817–3828

    Article  Google Scholar 

  21. Xiao Z, Jiang J, Zhu Y, Ming Z, Zhong S, Cai S (2015) A solution of dynamic VMS placement problem for energy consumption optimization based on evolutionary game theory. J Syst Softw 101:260–272

    Article  Google Scholar 

  22. Gupta MK, Amgoth T (2018) Resource-aware virtual machine placement algorithm for iaas cloud. J Supercomput 74(1):122–140

    Article  Google Scholar 

  23. Shaw R, Howley E, Barrett E (2019) An energy efficient anti-correlated virtual machine placement algorithm using resource usage predictions. Simul Model Pract Theory 93:322–342

    Article  Google Scholar 

  24. Wang W, Jiang Y, Weiwei W (2016) Multiagent-based resource allocation for energy minimization in cloud computing systems. IEEE Trans Syst Man Cybern Syst 47(2):205–220

    Google Scholar 

  25. Shirvani MH (2023) An energy-efficient topology-aware virtual machine placement in cloud datacenters: a multi-objective discrete Jaya optimization. Sustain Comput Inf Syst 38:100856

    Google Scholar 

  26. Cambazard H, Mehta D, O’Sullivan B, Simonis H (2015) Bin packing with linear usage costs. arXiv preprint arXiv:1509.06712

  27. Pietri I, Sakellariou R (2016) Mapping virtual machines onto physical machines in cloud computing: a survey. ACM Comput Surv (CSUR) 49(3):1–30

    Article  Google Scholar 

  28. SPEC Power characteristics for servers (2008) https://www.spec.org/power/. [Online; Accessed 15 Apr 2020]

  29. Buyya R, Calheiros RN, Beloglazov A (2009) Cloudsim: a framework for modeling and simulation of cloud computing infrastructures and services. The cloud computing and distributed systems (CLOUDS) Laboratory.[Online].[Accessed 18 May 2018]

  30. Peterson L, Bavier A, Fiuczynski ME, Muir S (2006) Experiences building planetlab. In: Proceedings of the 7th symposium on operating systems design and implementation, pp. 351–366

  31. Shen S, van Beek V, Iosup A (2015) Statistical characterization of business-critical workloads hosted in cloud datacenters. In: 2015 15th IEEE/ACM international symposium on cluster, cloud and grid computing, pp. 465–474. IEEE

  32. Beloglazov A, Abawajy J, Buyya R (2012) Energy-aware resource allocation heuristics for efficient management of data centers for cloud computing. Future Gener Comput Syst 28(5):755–768

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mostafa Nouri-Baygi.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Mahmoodabadi, Z., Nouri-Baygi, M. An approximation algorithm for virtual machine placement in cloud data centers. J Supercomput 80, 915–941 (2024). https://doi.org/10.1007/s11227-023-05505-8

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-023-05505-8

Keywords

Navigation