Log in

An energy aware resource allocation based on combination of CNN and GRU for virtual machine selection

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

The use of cloud computing service models is rapidly increasing, but inefficient resource usage in cloud data centers can lead to great energy consumption and costs. To address this issue, plans have been made to allocate resources more efficiently by utilizing live migration of virtual machines (VMs) and consolidating them into a smaller number of physical machines (PMs). Although, selecting a suitable VM for migration is still a significant challenge. One solution is to classify VMs into Delay-Sensitive (Interactive) or Delay-Insensitive classes based on user request patterns, and then select suitable VMs for migration. This selection process can be enabled through workload prediction, which involves predicting and analyzing the workload of VMs as a pre-migration process. A hybrid model based on Convolutional Neural Network (CNN) and Gated Recurrent Unit (GRU) combination is introduced in this paper for classifying VMs in the Microsoft Azure cloud service. Microsoft Azure Dataset is a labeled dataset and virtual machine workload in this dataset is categorized as Delay-Insensitive or Delay-sensitive (Interactive). However, the samples distribution in this dataset is unbalanced and majority samples are classified as Delay-Insensitive. To address the challenge, Synthetic Minority Oversampling Technique (SMOTE) method is leveraged in this paper. The empirical results showed that their proposed model achieved an accuracy of 95.18%, indicating that it outperformed other existing models.

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

Access this article

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price includes VAT (France)

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18
Fig. 19

Similar content being viewed by others

References

  1. Akhtar N, Ragavendran U (2020) Interpretation of intelligence in CNN-pooling processes: A methodological survey. Neur Comput Appl, 1–20

  2. Aslam AM, Kalra M (2019) Using artificial neural network for VM consolidation approach to enhance energy efficiency in green cloud. In: Advances in Data and Information Sciences: Springer, pp 139–15

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

    Article  Google Scholar 

  4. Bi J, Li S, Yuan H, Zhou M (2021) Integrated deep learning method for workload and resource prediction in cloud systems. Neurocomputing 424:35–48

    Article  Google Scholar 

  5. Chaurasia N, Kumar M, Chaudhry R, Verma OP (2021) Comprehensive survey on energy-aware server consolidation techniques in cloud computing. J Supercomput, pp 1–56

  6. Chen Z, Hu J, Min G, Zomaya AY, El-Ghazawi T (2019) Towards accurate prediction for high-dimensional and highly-variable cloud workloads with deep learning. IEEE Trans Parallel Distrib Syst 31(4):923–934

    Article  Google Scholar 

  7. Chung J, Gulcehre C, Cho K, Bengio Y (2014) Empirical evaluation of gated recurrent neural networks on sequence modeling, ar**v preprint ar**v:1412.3555

  8. Cortez E, Bonde A, Muzio A, Russinovich M, Fontoura M, Bianchini R (2017) Resource central: Understanding and predicting workloads for improved resource management in large cloud platforms. In Proceedings of the 26th Symposium on Operating Systems Principles, pp 153–167

  9. Goodfellow I, Bengio Y, Courville A (2016) Deep learning. MIT press

  10. Habashi FS, Yousefi S, Jeddi BG (2021) Resource allocation mechanisms for maximizing provider’s revenue in infrastructure as a service (iaas) cloud," Cluster Computing, pp 1–17

  11. Hamzaoui I, Duthil B, Courboulay V, Medromi H (2020) A survey on the current challenges of energy-efficient cloud resources management. SN Comput Sci 1(2):1–28

    Article  Google Scholar 

  12. Hariharasubramanian M (2018) Improving application infrastructure provisioning using resource usage predictions from cloud metric data analysis. Rutgers University-School of Graduate Studies

  13. He K, Zhang X, Ren S, Sun J (2016) Deep residual learning for image recog-nition. In: Proceedings of the IEEE conference on computer vision andpattern recognition, pp 770–778

  14. Hebbar R, Milenković A (2021) An experimental evaluation of workload driven DVFS. In: Companion of the ACM/SPEC International Conference on Performance Engineering, pp 95–102

  15. Houssein EH, Gad AG, Wazery YM, Suganthan PN (2021) Task scheduling in cloud computing based on meta-heuristics: Review, taxonomy, open challenges, and future trends. Swarm Evol Comput, p 100841

  16. Iftikhar S et al (2023) HunterPlus: AI based energy-efficient task scheduling for cloud–fog computing environments. Inter Things 21:100667

    Article  Google Scholar 

  17. Jayasena K, de Chickera GSW (2021) Load prediction energy efficient VM consolidation policy in multimedia cloud, in advances in computer. Springer, Communication and Computational Sciences, pp 893–903

    Google Scholar 

  18. Kalashami MP, Pedram MM, Sadr H (2022) EEG Feature extraction and data augmentation in emotion recognition. Comput Intell Neurosci. 2022

  19. Kaur G, Sachdeva R (2021) Virtual machine migration approach in cloud computing using genetic algorithm. In Advances in Information Communication Technology and Computing: Springer, pp 195–204

  20. Khan T, Tian W, Buyya R (2021) Machine Learning (ML)-Centric resource management in cloud computing: A Review and Future Directions, ar**v preprint ar**v:2105.05079

  21. Khodaverdian Z, Sadr H, Edalatpanah SA (2021) A shallow deep neural network for selection of migration candidate virtual machines to reduce energy consumption. 2021 7th International Conference on Web Research (ICWR), 2021, pp 191–196, https://doi.org/10.1109/ICWR51868.2021.9443133

  22. Kumari A, Gupta R, Tanwar S, Kumar N (2020) Blockchain and AI amalgamation for energy cloud management: Challenges, solutions, and future directions. J Parallel Distrib Comput 143:148–166

    Article  Google Scholar 

  23. Madhumala R, Tiwari H, Devarajaverma C (2021) A reliable frame work for virtual machine selection in cloud datacenter using particle swarm optimization. Comput Sci 16(2):677–685

    Google Scholar 

  24. Mc Donnell N, Howley E, Duggan J (2020) Dynamic virtual machine consolidation using a multi-agent system to optimise energy efficiency in cloud computing. Future Gener Comput Syst, 108, 288–301

  25. Medara R, Singh RS (2021) Energy-aware workflow task scheduling in clouds with virtual machine consolidation using discrete water wave optimization. Simul Model Pract Theory 110:102323

    Article  Google Scholar 

  26. Meyer V, Kirchoff DF, Da Silva ML, De Rose CA (2021) ML-driven classification scheme for dynamic interference-aware resource scheduling in cloud infrastructures. J Syst Architect 116:102064

    Article  Google Scholar 

  27. Moreno-Vozmediano R, Montero RS, Huedo E, Llorente IM (2019) Efficient resource provisioning for elastic Cloud services based on machine learning techniques. J Cloud Comput 8(1):5

    Article  Google Scholar 

  28. Ouhame S, Hadi Y (2019) Multivariate workload prediction using Vector Autoregressive and Stacked LSTM models. In Proceedings of the New Challenges in Data Sciences: Acts of the Second Conference of the Moroccan Classification Society, 2019, pp 1–7

  29. Patel E, Mohan A, Kushwaha DS (2018) Neural network based classification of virtual machines in IaaS. In: 2018 5th IEEE Uttar Pradesh Section International Conference on Electrical, Electronics and Computer Engineering (UPCON), 2018, pp 1–8: IEEE

  30. Patterson J, Gibson A (2017) Deep learning: A practitioner's approach.  O'Reilly Media, Inc

  31. Piotr N, Patryk O (2021) Cloud resource demand prediction using machine learning in the context of QoS parameters. J Grid Comput, 19(2)

  32. Plebe A, Grasso G (2019) The unbearable shallow understanding of deep learning. Mind Mach 29(4):515–553

    Article  Google Scholar 

  33. Potdar K, Pardawala TS, Pai CD (2017) A comparative study of categorical variable encoding techniques for neural network classifiers. Int J Comput Appl 175(4):7–9

    Google Scholar 

  34. Prabha B, Ramesh K, Renjith P (2021) A review on dynamic virtual machine consolidation approaches for energy-efficient cloud data centers. In Data Intelligence and Cognitive Informatics: Springer, pp 761–780

  35. Praveenchandar J, Tamilarasi A (2021) Dynamic resource allocation with optimized task scheduling and improved power management in cloud computing. J Ambient Intell Humaniz Comput 12(3):4147–4159

    Article  Google Scholar 

  36. Rajnikant PN, Patel N (2021) Improving energy efficiency and minimizing service-level agreement violation in mobile cloud computing environment. In: Data Science and Intelligent Applications: Springer, pp 391–397

  37. Sadr H (2021) An intelligent model for multidimensional personality recognition of users using deep learning methods. J Inf Comm Technol 47(47):72

    Google Scholar 

  38. Sadr H, Nazari Soleimandarabi M (2022) ACNN-TL: attention-based convolutional neural network coupling with transfer learning and contextualized word representation for enhancing the performance of sentiment classification. J Supercomput 78(7):10149–10175

    Article  Google Scholar 

  39. Sadr H, Nazari Solimandarabi M (2019) Presentation of an efficient automatic short answer grading model based on combination of pseudo relevance feedback and semantic relatedness measures. J Adv Compu Res 10(2):17–30

    Google Scholar 

  40. Sadr H, Pedram M, Teshnehlab M (2021) Convolutional neural network equipped with attention mechanism and transfer learning for enhancing performance of sentiment analysis. J AI Data Mining

  41. Sadr H, Pedram MM, Teshnehlab M (2019) A robust sentiment analysis method based on sequential combination of convolutional and recursive neural networks. Neural Process Lett 50(3):2745–2761

    Article  Google Scholar 

  42. Sadr H, Pedram MM, Teshnehlab M (2020) Multi-view deep network: a deep model based on learning features from heterogeneous neural networks for sentiment analysis. IEEE Access 8:86984–86997

    Article  Google Scholar 

  43. Sadr H, Pedram MM, Teshnelab M (2019) Improving the performance of text sentiment analysis using deep convolutional neural network integrated with hierarchical attention layer. Int J Inf Comm Technol Res 11(3):57–67

    Google Scholar 

  44. Sadr H, Solimandarabi MN, Pedram MM, Teshnehlab M (2021) A novel deep learning method for textual sentiment analysis. ar**v preprint ar**v:2102.11651

  45. Saeedi P, Shirvani MH (2021) An improved thermodynamic simulated annealing-based approach for resource-skewness-aware and power-efficient virtual machine consolidation in cloud datacenters. Soft Comput 25(7):5233–5260

    Article  Google Scholar 

  46. Saeedi P, Shirvani MH (2021) An improved thermodynamic simulated annealing-based approach for resource-skewnessaware and power-efficient virtual machine consolidation in cloud datacenters. Soft Computing 25(7):5233–5260

  47. Sayadnavard MH, Haghighat AT, Rahmani AM (2021) A multi-objective approach for energy-efficient and reliable dynamic VM consolidation in cloud data centers. Eng Sci Technol Int J

  48. Sayadnavard MH, Haghighat AT, Rahmani AM (2019) A reliable energy-aware approach for dynamic virtual machine consolidation in cloud data centers. J Supercomput 75(4):2126–2147

    Article  Google Scholar 

  49. Shaw R, Howley E, Barrett E (2020) An intelligent ensemble learning approach for energy efficient and interference aware dynamic virtual machine consolidation. Simul Model Pract Theory 102:101992

    Article  Google Scholar 

  50. Simonyan K, Vedaldi A, Zisserman A (2014) Deep inside convolutional networks: Visualising image classification models and saliency maps

  51. Singh S, Chana I (2016) A survey on resource scheduling in cloud computing: Issues and challenges. J Grid Comput 14(2):217–264

    Article  Google Scholar 

  52. Soleymanpour S, Sadr H, Beheshti H (2020) An efficient deep learning method for encrypted traffic classification on the web. In: 2020 6th International Conference on Web Research (ICWR), pp 209–216: IEEE

  53. Soleymanpour S, Sadr H, Nazari Soleimandarabi M (2021) CSCNN: cost-sensitive convolutional neural network for encrypted traffic classification. Neur Process Lett 53(5):3497–3523

    Article  Google Scholar 

  54. Tsakalidou VN, Mitsou P, Papakostas GA (2021) Machine learning for cloud resources management--An overview, ar**v preprint ar**v:2101.11984

  55. Verma N, Sharma A (2017) Workload prediction model based on supervised learning for energy efficiency in cloud. In: 2017 2nd International Conference on Communication Systems, Computing and IT Applications (CSCITA), pp 66–71: IEEE

  56. Wang Y, Liu M, Bao Z, Zhang S (2018) Short-term load forecasting with multi-source data using gated recurrent unit neural networks. Energies 11(5):1138

    Article  Google Scholar 

  57. Wani MA, Bhat FA, Afzal S, Khan AI (2020) Advances in deep learning. Springer

  58. Witanto JN, Lim H, Atiquzzaman M (2018) Adaptive selection of dynamic VM consolidation algorithm using neural network for cloud resource management. Futur Gener Comput Syst 87:35–42

    Article  Google Scholar 

  59. Yazdanian P, Sharifian S (2021) E2LG: a multiscale ensemble of LSTM/GAN deep learning architecture for multistep-ahead cloud workload prediction. J Supercomput, pp 1–31

  60. Yazdanian P, Sharifian S (2018) Cloud workload prediction using ConvNet And Stacked LSTM. In: 2018 4th Iranian Conference on Signal Processing and Intelligent Systems (ICSPIS), pp 83–87: IEEE

  61. Zhang Y, Hua W, Zhou Z, Suh GE, Delimitrou C (2021) Sinan: ML-based and QoS-aware resource management for cloud microservices. In: Proceedings of the 26th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, pp 167–181

  62. Zhang W, Li B, Zhao D, Gong F, Lu Q (2016) Workload prediction for cloud cluster using a recurrent neural network. In: 2016 International Conference on Identification, Information and Knowledge in the Internet of Things (IIKI), 2016, pp 104–109: IEEE

  63. Zhang Y, Wallace B (2015) A sensitivity analysis of (and practitioners' guide to) convolutional neural networks for sentence classification, ar**v preprint ar**v:1510.03820

  64. Zhang A, Lipton ZC, Li M, Smola AJ (2019) Dive into deep learning," Unpublished Draft. Retrieved, 19, 2019

  65. Zhu Y, Zhang W, Chen Y, Gao H (2019) A novel approach to workload prediction using attention-based LSTM encoder-decoder network in cloud environment. EURASIP J Wirel Commun Netw 2019(1):274

    Article  Google Scholar 

  66. Zolfaghari R, Sahafi A, Rahmani AM, Rezaei R (2021) Application of virtual machine consolidation in cloud computing systems. Sustain Comput Inf Syst 30:100524

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hossein Sadr.

Ethics declarations

Conflict of interest

The Authors confirm that this article content has no conflict of interest.

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

Khodaverdian, Z., Sadr, H., Edalatpanah, S.A. et al. An energy aware resource allocation based on combination of CNN and GRU for virtual machine selection. Multimed Tools Appl 83, 25769–25796 (2024). https://doi.org/10.1007/s11042-023-16488-2

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-023-16488-2

Keywords

Navigation