Skip to main content
Log in

Low-time complexity and low-cost binary particle swarm optimization algorithm for task scheduling and load balancing in cloud computing

  • Published:
Applied Intelligence Aims and scope Submit manuscript

Abstract

With the increasing large number of cloud users, the number of tasks is growing exponentially. Scheduling and balancing these tasks amongst different heterogeneous virtual machines (VMs) under constraints such as, low makespan, high resource utilization rate, low execution cost and low scheduling time, become NP-hard optimization problem. So, due to the inefficiency of heuristic algorithms, many meta-heuristic algorithms, such as particle swarm optimization (PSO) have been introduced to solve the said problem. However, these algorithms do not guarantee that the optimal solution can be found, if they are not combined with other heuristic or meta-heuristic algorithms. Further, these algorithms have high time complexity, making them less useful in realistic scenarios. To solve the said NP-problem effectively, we propose an efficient binary version of PSO algorithm with low time complexity and low cost for scheduling and balancing tasks in cloud computing. Specifically, we define an objective function which calculates the maximum completion time difference among heterogeneous VMs subject to updating and optimization constraints introduced in this paper. Then, we devise a particle position updating with respect to load balancing strategy. The experimental results show that the proposed algorithm achieves task scheduling and load balancing better than existing meta-heuristic and heuristic algorithms.

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. Panda SK, Jana PK (2015) An efficient resource allocation algorithm for IaaS cloud, ACM/ 11th International Conference on Distributed Computing and Internet. Technology:351–355. https://doi.org/10.1007/978-3-319-14977-6_37.

  2. Alex ME, Kishore R (2017) Forensics framework for cloud computing. Comput Electr Eng 60:93–205. https://doi.org/10.1016/j.compeleceng.2017.02.006.

    Article  Google Scholar 

  3. Luong NC, Wang P, Niyato D, Wen Y, Han Z (2017) Resource management in cloud networking using economic analysis and pricing models: a survey. IEEE Communications Surveys Tutorials 19:954–1001. https://doi.org/10.1109/COMST.2017.2647981

    Article  Google Scholar 

  4. Masdari M, Salehi F, Jalali M, Bidaki M (2017) A survey of PSO-based scheduling algorithms in cloud computing. J Netw Syst Manag 25:122–158. https://doi.org/10.1007/s10922-016-9385-9

    Article  Google Scholar 

  5. Kumar S, Sahoo B, Parida PP (2018) Load balancing in cloud computing: a big picture. J King Saud University – Comp Informat Sci:1–31. https://doi.org/10.1016/j.jksuci.2018.01.003

  6. Hoang HN, Van SL, Maue HN, Bien CPN (2016) Admission control and scheduling algorithms based on ACO and PSO heuristic for optimizing cost in cloud computing. Recent Dev Intelligent Inform Database Systems SCI 642:15–28. https://doi.org/10.1007/978-3-319-31277-4_2

    MathSciNet  Google Scholar 

  7. Shishira SR, Kandasamy A, Chandrasekaran K (2016) Survey on Meta heuristic optimization techniques in cloud computing, Intl. Conference on Advances in Computing, Communications and Informatics (ICACCI), IEEE, 1434–1440. https://doi.org/10.1109/ICACCI.2016.7732249.

  8. Thakur A, Goraya MS (2017) A taxonomic survey on load balancing in cloud. J Netw Comput Appl 98:43–57. https://doi.org/10.1016/j.jnca.2017.08.020

    Article  Google Scholar 

  9. Ghomi J, Rahmani AM, Qader NN (2017) Load-balancing algorithms in cloud computing: a survey. J Netw Comput Appl 88:50–71. https://doi.org/10.1109/NSEC.2015.7396341

    Article  Google Scholar 

  10. Vigneshwaran P, Umamakeswari GS, ShaileshDheep G (2017) A study of various meta- heuristic algorithms for scheduling in cloud, Intl. Journal of Pure and Applied Mathematics 115:205–208

    Google Scholar 

  11. Madni SHH, Latiff MSA, Coulibaly Y, Abdulhamid SM (2016) An appraisal of meta-heuristic resource allocation techniques for IaaS cloud. Indian J Sci Technol 9:1–14. https://doi.org/10.17485/ijst/2016/v9i4/80561

    Article  Google Scholar 

  12. Roy S, Banerjee S, Chowdhury KR, Biswas (2017) U. Development and analysis of a three phase cloudlet allocation algorithm, Journal of King Saud University - Computer and Information Sciences, 29:473–483. https://doi.org/10.1016/j.jksuci.2016.01.003 .

  13. Djebbar EI, Belalen G (2016) Tasks scheduling and resource allocation for high data management in scientific cloud computing environment. Springer International Conference on Mobile, Secure and Programmable Networking 10026:16–27. https://doi.org/10.1007/978-3-319-50463-6_2

    Article  Google Scholar 

  14. Adhikari M, Amgoth T (2018) Heuristic-based load balancing algorithm for IaaS cloud. Futur Gener Comput Syst 81:156–165. https://doi.org/10.1016/j.future.2017.10.035

    Article  Google Scholar 

  15. Tawfeek M, Ashraf E, Arabi K, Fawzy T (2015) Cloud task scheduling based on ant colony optimization. Inter Arab J Informat Technol 12:129–137. https://doi.org/10.1109/ICCES.2013.6707172

    Google Scholar 

  16. Ying G, Jiajie D, Wanneng S (2015) Novel ant optimization algorithm for task scheduling and resource allocation in cloud computing environment. Journal of Internet Technology 16:1329–1338. https://doi.org/10.6138/JIT.2015.16.7.20151103c

    Google Scholar 

  17. Rashidi S, Sharifian S (2017) A hybrid heuristic queue based algorithm for task assignment in mobile cloud. Futur Gener Comput Syst 68:331–345. https://doi.org/10.1016/j.future.2016.10.014

    Article  Google Scholar 

  18. Dasgupta K, Mandal B, Dutta P, Mandal JK, Dam S (2013) A Genetic algorithm (GA) based load balancing strategy for cloud computing, 1st International Conference on Computational Intelligence - Modeling Techniques and Applications (CIMTA), pp 340–347. https://doi.org/10.1016/j.protcy.2013.12.369.

  19. Singh P, Dutta M, Aggarwa N (2017) A review of task scheduling based on meta-heuristics approach in cloud computing. Knowl Inf Syst 52:1–51. https://doi.org/10.1007/s10115-017-1044-2

    Article  Google Scholar 

  20. Ramezani F, Jie L, Hussain KF (2014) Task-based system load balancing in cloud computing using particle swarm optimization. Int J Parallel Prog 42:739–754. https://doi.org/10.1007/s10766-013-0275-4

    Article  Google Scholar 

  21. Pandey S, Wu L, Guru SM, Buyya R (2010) Particle swarm optimization-based heuristic for scheduling workflow applications in cloud computing environments, 24th IEEE International Conference on Advanced Information Networking and Applications, pp 400–407. https://doi.org/10.1109/AINA.2010.31.

  22. Kang Q, He H, Wang HR, Jiang CJ (2008) A novel discrete particle swarm optimization algorithm for job scheduling in grids. In: Fourth international conference on natural computation, pp 401–405. https://doi.org/10.1109/ICNC.2008.63

    Chapter  Google Scholar 

  23. Zhu Y, Zhao D, Wang W, He H (2016) A novel load balancing algorithm based on improved particle swarm optimization in cloud computing environment. In: ACM/second international conference on human centered, pp 634–645. https://doi.org/10.1007/978-3-319-31854-7_57

    Google Scholar 

  24. Izakian H, Ladani BT, Zamanifar K, Abraham A (2009) A novel particle swarm optimization approach for grid job scheduling. International Conference on Information Systems, Technology and Management:100–109. https://doi.org/10.1007/978-3-642-00405-6_14

  25. Valarmathi R, Sheela T (2017) A comprehensive survey on task scheduling for parallel workloads based on particle swarm optimization under cloud environment, 2nd Intl Conference on Computing and Communications Technologies (ICCCT), pp 81–86. https://doi.org/10.1109/ICCCT2.2017.7972253.

  26. Xue B, Zhang M, Browne WN, Yao X (2016) A survey on evolutionary computation approaches to feature selection. IEEE Trans Evol Comput 20:606–626. https://doi.org/10.1109/TEVC.2015.2504420

    Article  Google Scholar 

  27. Al-Olimat HS, Alam M, Green R, Lee JK (2015) Cloudlet scheduling with particle swarm optimization. In: IEEE international conference on communication systems and network technologies, pp 991–995. https://doi.org/10.1109/CSNT.2015.252

    Google Scholar 

  28. Ebadifard F, Babamir SM (2018) A PSO-based task scheduling algorithm improved using a load balancing technique for the cloud computing environment. Concurrency Computation Practice and Experience 30:1–16. https://doi.org/10.1002/cpe.4368

    Article  Google Scholar 

  29. NZanywayingoma F, Yang Y (2017) Effective task scheduling and dynamic resource optimization based on heuristic algorithms in cloud computing environment. KSII Transactions on Internet and Information Systems 11:5780–5802. https://doi.org/10.3837/tiis.2017.12.006

    Google Scholar 

  30. Arabnejad H, Barbosa JG, Prodan R (2016) Low-time complexity budget–deadline constrained workflow scheduling on heterogeneous resources. Futur Gener Comput Syst 55:29–40. https://doi.org/10.1016/j.future.2015.07.021

    Article  Google Scholar 

  31. Saramu KA, Jaganathan S (2015) Intensified scheduling algorithm for virtual machine tasks in cloud computing. Artificial Intelligence and Evolutionary Algorithms in Engineering Systems 325:283–290. https://doi.org/10.1007/978-81-322-2135-7_31

    Article  Google Scholar 

  32. Banerjee S, Adhikari M, Kar S, Biswas U (2015) Development and analysis of a new cloudlet allocation strategy for QoS improvement in cloud. Arab J Sci Eng 40:1409–1425. https://doi.org/10.1007/s13369-015-1626-9

    Article  MathSciNet  Google Scholar 

  33. Xu AQ, Yang Y, Mi ZQ, Xiong ZQ (2015) Task scheduling algorithm based on PSO in cloud environment, 12th Intl Conf on ubiquitous intelligence and computing. IEEE:1055–1061. https://doi.org/10.1109/UIC-ATC-ScalCom-CBDCom-IoP.2015.196.

  34. Zhan SB, Huo HY (2012) Improved PSO-based task scheduling algorithm in cloud computing. Journal of Information & Computational Science 9(13):3821–3829

    Google Scholar 

  35. Xue SJ, Lingshi W, Xu X (2016) A heuristic scheduling algorithm based on PSO in the cloud computing environment. International Journal of u- and e- Service, Science and Technology 9:349–362. https://doi.org/10.14257/ijunesst.2016.9.1.36

    Article  Google Scholar 

  36. Nirmala SJ, Bhanu SMS (2016) Catfish-PSO based scheduling of scientific workflows in IaaS cloud. Computing 98:1091–1109. https://doi.org/10.1007/s00607-016-0494-9

    Article  MathSciNet  Google Scholar 

  37. Alla HB, Alla SB, Ezzati A, Mouhsen A (2017) A novel architecture with dynamic queues based on fuzzy logic and particle swarm optimization algorithm for task scheduling in cloud computing. Advances in Ubiquitous Networking 2:205–217. https://doi.org/10.1007/978-981-10-1627-1_16

    Article  Google Scholar 

  38. Xu J, Tang Y (2015) Improved particle optimization algorithm solving hadoop task scheduling problem, 2nd International Conference on Intelligent Computing and Cognitive Informatics, pp 11–14. https://doi.org/10.2991/icicci-15.2015.3.

  39. Awad AI, El-Hefnawy NA, Abdel-kader HM (2015) Enhanced particle swarm optimization for task scheduling in cloud computing environments, International Conference on Communication, Management and Information Technology (ICCMIT2015). Procedia Computer Science 65:920–929. https://doi.org/10.1016/j.procs.2015.09.064.

    Article  Google Scholar 

  40. Kennedy J, Eberhart R (1997) A discrete binary version of the particle swarm algorithm, in: Proceedings of the IEEE International Conference on Computational Cybernetics and Simulation, 5:4104–4108. https://doi.org/10.1109/ICSMC.1997.637339.

  41. Khanesar MA, Teshnehlab M, Shoorehdeli MA (2007) A novel binary particle swarm optimization, Proceedings of the 16th Mediteranean conference on control & automation. IEEE:1–6. https://doi.org/10.1109/MED.2007.4433821.

  42. Abdi S, Motamedi SA, Sharifian S (2014) Task scheduling using modified PSO algorithm in cloud computing environment, International Conference on Machine Learning. Electrical and Mechanical Engineering:37–41. https://doi.org/10.15242/IIE.E0114078.

  43. Pugh J, Martinoli A (2006) Discrete multi-valued particle swarm optimization. In: Proceedings of IEEE swarm intelligence symposium, pp 1–8

    Google Scholar 

  44. Calheiros RN, Ranjan R, Beloglazov A, De-rose CAF, Buyya R (2011) Cloudsim: a toolkit for modeling and simulation of cloud computing environments and evaluation of resource provisioning algorithms. ACM Software Practice and Experience 41:23–50. https://doi.org/10.1002/spe.995

    Article  Google Scholar 

  45. Humane P, Varshapriya JN (2015) Simulation of cloud infrastructure using CloudSim simulator: a practical approach for researchers, International Conference on Smart Technologies and Management for Computing, Communication, Controls, Energy and Materials, pp 207–211. https://doi.org/10.1109/ICSTM.2015.7225415.

  46. Chapin SJ, Cirne W, Feitelson DG (1999) Benchmarks and standards for the evaluation of parallel job schedulers. In job scheduling strategies for parallel processing, D. G. Feitelson and L. Rudolph (Eds.), Springer-Verlag, Lect. Notes Comput. Sci., 1659:66–89. [Online]. Available: http://www.cs.huji.ac.il/labs/parallel/workload/logs.html (accessed on 12-09-2018)

Download references

Acknowledgements

This research was funded by the National Science and Technology Major Project of the Ministry of Science and Technology of China (2017ZX05019001-011), the National Natural Science Foundation of China (61772450), the China Postdoctoral Science Foundation (2018 M631764), Hebei Postdoctoral Research Program (B2018003009) and Doctoral Fund of Yanshan University (BL18003).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zhen Chen.

Additional information

Publisher’s note

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

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Mapetu, J.P.B., Chen, Z. & Kong, L. Low-time complexity and low-cost binary particle swarm optimization algorithm for task scheduling and load balancing in cloud computing. Appl Intell 49, 3308–3330 (2019). https://doi.org/10.1007/s10489-019-01448-x

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10489-019-01448-x

Keywords

Navigation