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

  • Jean Pepe Buanga Mapetu
  • Zhen ChenEmail author
  • Lingfu Kong


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.


Task scheduling Binary particle swarm optimization Cloud computing Load balancing Completion time Time complexity 



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).


  1. 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.
  2. 2.
    Alex ME, Kishore R (2017) Forensics framework for cloud computing. Comput Electr Eng 60:93–205. CrossRefGoogle Scholar
  3. 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. CrossRefGoogle Scholar
  4. 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. CrossRefGoogle Scholar
  5. 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.
  6. 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. MathSciNetGoogle Scholar
  7. 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.
  8. 8.
    Thakur A, Goraya MS (2017) A taxonomic survey on load balancing in cloud. J Netw Comput Appl 98:43–57. CrossRefGoogle Scholar
  9. 9.
    Ghomi J, Rahmani AM, Qader NN (2017) Load-balancing algorithms in cloud computing: a survey. J Netw Comput Appl 88:50–71. CrossRefGoogle Scholar
  10. 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–208Google Scholar
  11. 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. CrossRefGoogle Scholar
  12. 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. .
  13. 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. CrossRefGoogle Scholar
  14. 14.
    Adhikari M, Amgoth T (2018) Heuristic-based load balancing algorithm for IaaS cloud. Futur Gener Comput Syst 81:156–165. CrossRefGoogle Scholar
  15. 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. Google Scholar
  16. 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. Google Scholar
  17. 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. CrossRefGoogle Scholar
  18. 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.
  19. 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. CrossRefGoogle Scholar
  20. 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. CrossRefGoogle Scholar
  21. 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.
  22. 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. CrossRefGoogle Scholar
  23. 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. Google Scholar
  24. 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.
  25. 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.
  26. 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. CrossRefGoogle Scholar
  27. 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. Google Scholar
  28. 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. CrossRefGoogle Scholar
  29. 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. Google Scholar
  30. 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. CrossRefGoogle Scholar
  31. 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. Google Scholar
  32. 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. MathSciNetCrossRefGoogle Scholar
  33. 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.
  34. 34.
    Zhan SB, Huo HY (2012) Improved PSO-based task scheduling algorithm in cloud computing. Journal of Information & Computational Science 9(13):3821–3829Google Scholar
  35. 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. CrossRefGoogle Scholar
  36. 36.
    Nirmala SJ, Bhanu SMS (2016) Catfish-PSO based scheduling of scientific workflows in IaaS cloud. Computing 98:1091–1109. MathSciNetCrossRefGoogle Scholar
  37. 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. Google Scholar
  38. 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.
  39. 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. CrossRefGoogle Scholar
  40. 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.
  41. 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.
  42. 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.
  43. 43.
    Pugh J, Martinoli A (2006) Discrete multi-valued particle swarm optimization. In: Proceedings of IEEE swarm intelligence symposium, pp 1–8Google Scholar
  44. 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. CrossRefGoogle Scholar
  45. 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.
  46. 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: (accessed on 12-09-2018)

Copyright information

© Springer Science+Business Media, LLC, part of Springer Nature 2019

Authors and Affiliations

  • Jean Pepe Buanga Mapetu
    • 1
    • 2
  • Zhen Chen
    • 1
    • 2
    Email author
  • Lingfu Kong
    • 1
    • 2
  1. 1.Colleague of Information Science and EngineeringYanshan, UniversityQinhuangdaoChina
  2. 2.The Key Laboratory for Computer Virtual Technology and System Integration of Hebei ProvinceQinhuangdaoChina

Personalised recommendations