Task Scheduling for Public Clouds Using a Fuzzy Controller-Based Priority- and Deadline-Aware Approach
Abstract
:1. Introduction
- A two-stage task scheduling approach called FPD is proposed using a fuzzy controller to process a task set on a public cloud such that the deadline SLA deadline of high-priority tasks is met at any cost.
- The proposed fuzzy controller is able to provide the number of VMs needed and the tasks that are to be mapped to each VM.
- The proposed approach is able to ensure the SLA requirement of high-priority tasks under all input sizes.
- A comparison with established heuristic-based approaches is performed for synthetic and Google cluster-like traces, here the proposed approach demonstrates superior performance over multiple performance measures.
2. Related Works
2.1. Heuristic Techniques
2.2. Metaheuristic Techniques
2.3. Fuzzy Techniques
3. Materials and Methods
3.1. Proposed Approach
3.1.1. Task Model
3.1.2. VM Model
3.1.3. Problem Statement
- Each task can only be assigned to one VM:
- The SLA deadline of high-priority tasks must be met. If , then the following must hold:
- Makespan, which is expressed as follows, should be minimized:
3.1.4. Working Model of the Proposed Approach
Algorithm 1 Proposed FPD Scheme |
Input: Output: void
|
3.1.5. Fuzzy Controller
Algorithm 2 Fuzzy Controller |
Input: Output: VmAssignmentMapping
|
3.1.6. Computational Complexity
3.2. Experimental Setup
3.3. Performance Measures
- Total number of VMs: The total number of VMs used by a given approach to process all the tasks in the task set.
- Degree of Imbalance (DoI): Used to provide a measure of the variation in the relative finishing times of the used VMs, expressed as follows:
- Makespan: The final time to complete all the tasks.
- Total cost: Sum of the total cost incurred by all VMs, expressed as follows:
- Average completion time of various tasks: The average finishing times of a subset of tasks among the complete task set. This metric has is obtained for high- and low-priority subsets of the task set.
- Average waiting time of various tasks: Average waiting time of a subset of tasks computed for-high priority, low-priority, and all tasks. The average waiting time of a single task is expressed as follows:
- Total time under SLA violation: This is the time spent beyond the deadline of high-priority tasks.
- Total SLA violation count: The total number of tasks that miss their SLA deadlines.
- Total high-priority SLA violation count: The total number of high-priority tasks that miss their SLA deadlines.
4. Results
4.1. Threshold
4.2. Synthetic Workload
4.3. GoCJ Workload
5. Discussion
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
ACO | Ant Colony Optimization |
AWS | Amazon Web Service |
DoI | Degree of Imbalance |
EC2 | Elastic Compute Cloud |
EDF | Earliest Deadline First |
FCFS | First Come, First Served |
IaaS | Infrastructure as a Service |
PaaS | Platform as a Service |
PSO | Particle Swarm Optimization |
QoS | Quality of Service |
SaaS | Software as a Service |
SJF | Shortest Job First |
SLA | Service-Level Agreement |
USD | United States Dollar |
VM | Virtual Machine |
References
- Mell, P.; Grance, T. The NIST Definition of Cloud Computing; National Institute of Standards and Technology: Gaithersburg, MD, USA, 2011. [Google Scholar]
- Marinescu, D.C. Cloud Computing: Theory and Practice; Morgan Kaufmann: Burlington, MA, USA, 2017. [Google Scholar]
- Liu, F.; Tong, J.; Mao, J.; Bohn, R.; Messina, J.; Badger, L.; Leaf, D. NIST cloud computing reference architecture. NIST Spec. Publ. 2011, 500, 1–28. [Google Scholar]
- Gartner Forecasts Worldwide Public Cloud End-User Spending to Total $723 Billion in 2025. Available online: https://www.gartner.com/en/newsroom/press-releases/2024-11-19-gartner-forecasts-worldwide-public-cloud-end-user-spending-to-total-723-billion-dollars-in-2025 (accessed on 25 February 2025).
- 2024 State of the Cloud Report|Flexera. Available online: https://info.flexera.com/CM-REPORT-State-of-the-Cloud (accessed on 25 February 2025).
- Yagmahan, B.; Yenisey, M.M. Scheduling practice and recent developments in flow shop and job shop scheduling. In Computational Intelligence in Flow Shop and Job Shop Scheduling; Springer: Berlin, Germany, 2009; pp. 261–300. [Google Scholar]
- Abraham, O.L.; Ngadi, M.A.; Sharif, J.M.; Sidik, M.K.M. Task Scheduling in Cloud Environment—Techniques, Applications, and Tools: A Systematic Literature Review. IEEE Access 2024, 12, 138252–138279. [Google Scholar] [CrossRef]
- Jalali Khalil Abadi, Z.; Mansouri, N. A comprehensive survey on scheduling algorithms using fuzzy systems in distributed environments. Artif. Intell. Rev. 2024, 57, 4. [Google Scholar]
- Kakumani, S.P. An Improved Task Scheduling Algorithm for Segregating User Requests to different Virtual Machines. Master’s Thesis, National College of Ireland, Dublin, Ireland, 2020. [Google Scholar]
- Nabi, S.; Ibrahim, M.; Jimenez, J.M. DRALBA: Dynamic and resource aware load balanced scheduling approach for cloud computing. IEEE Access 2021, 9, 61283–61297. [Google Scholar]
- Hussain, M.; Wei, L.F.; Lakhan, A.; Wali, S.; Ali, S.; Hussain, A. Energy and performance-efficient task scheduling in heterogeneous virtualized cloud computing. Sustain. Comput. Inform. Syst. 2021, 30, 100517. [Google Scholar]
- Yadav, M.; Mishra, A. An enhanced ordinal optimization with lower scheduling overhead based novel approach for task scheduling in cloud computing environment. J. Cloud Comput. 2023, 12, 8. [Google Scholar] [CrossRef]
- Qamar, S.; Ahmad, N.; Khan, P.M. A novel heuristic technique for task scheduling in public clouds. In Proceedings of the 2023 International Conference on Advanced Computing & Communication Technologies (ICACCTech), Banur, India, 23–24 December 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 163–168. [Google Scholar]
- Pirozmand, P.; Hosseinabadi, A.A.R.; Farrokhzad, M.; Sadeghilalimi, M.; Mirkamali, S.; Slowik, A. Multi-objective hybrid genetic algorithm for task scheduling problem in cloud computing. Neural Comput. Appl. 2021, 33, 13075–13088. [Google Scholar] [CrossRef]
- Sahoo, S.; Sahoo, B.; Turuk, A.K. A learning automata-based scheduling for deadline sensitive task in the cloud. IEEE Trans. Serv. Comput. 2019, 14, 1662–1674. [Google Scholar] [CrossRef]
- Tarafdar, A.; Debnath, M.; Khatua, S.; Das, R.K. Energy and makespan aware scheduling of deadline sensitive tasks in the cloud environment. J. Grid Comput. 2021, 19, 1–25. [Google Scholar] [CrossRef]
- He, X.; Shen, J.; Liu, F.; Wang, B.; Zhong, G.; Jiang, J. A two-stage scheduling method for deadline-constrained task in cloud computing. Clust. Comput. 2022, 25, 3265–3281. [Google Scholar] [CrossRef]
- Chandrashekar, C.; Krishnadoss, P.; Kedalu Poornachary, V.; Ananthakrishnan, B.; Rangasamy, K. HWACOA scheduler: Hybrid weighted ant colony optimization algorithm for task scheduling in cloud computing. Appl. Sci. 2023, 13, 3433. [Google Scholar] [CrossRef]
- Beegom, A.A.; Rajasree, M. Integer-pso: A discrete pso algorithm for task scheduling in cloud computing systems. Evol. Intell. 2019, 12, 227–239. [Google Scholar]
- Ben Alla, S.; Ben Alla, H.; Touhafi, A.; Ezzati, A. An efficient energy-aware tasks scheduling with deadline-constrained in cloud computing. Computers 2019, 8, 46. [Google Scholar] [CrossRef]
- Abdel-Basset, M.; Mohamed, R.; Abd Elkhalik, W.; Sharawi, M.; Sallam, K.M. Task scheduling approach in cloud computing environment using hybrid differential evolution. Mathematics 2022, 10, 4049. [Google Scholar] [CrossRef]
- Shojafar, M.; Javanmardi, S.; Abolfazli, S.; Cordeschi, N. FUGE: A joint meta-heuristic approach to cloud job scheduling algorithm using fuzzy theory and a genetic method. Clust. Comput. 2015, 18, 829–844. [Google Scholar]
- Adami, D.; Gabbrielli, A.; Giordano, S.; Pagano, M.; Portaluri, G. A fuzzy logic approach for resources allocation in cloud data center. In Proceedings of the 2015 IEEE Globecom Workshops (GC Wkshps), San Diego, CA, USA, 6–10 December 2015; IEEE: Piscataway, NJ, USA,, 2015; pp. 1–6. [Google Scholar]
- Zavvar, M.; Rezaei, M.; Garavand, S.; Ramezani, F. Fuzzy logic-based algorithm resource scheduling for improving the reliability of cloud computing. Asia-Pac. J. Inf. Technol. Multimed. 2016, 5, 39–48. [Google Scholar]
- Mansouri, N.; Zade, B.M.H.; Javidi, M.M. Hybrid task scheduling strategy for cloud computing by modified particle swarm optimization and fuzzy theory. Comput. Ind. Eng. 2019, 130, 597–633. [Google Scholar]
- Farid, M.; Latip, R.; Hussin, M.; Hamid, N.A.W.A. Scheduling scientific workflow using multi-objective algorithm with fuzzy resource utilization in multi-cloud environment. IEEE Access 2020, 8, 24309–24322. [Google Scholar]
- Wang, J.; Li, X.; Ruiz, R.; Yang, J.; Chu, D. Energy utilization task scheduling for mapreduce in heterogeneous clusters. IEEE Trans. Serv. Comput. 2020, 15, 931–944. [Google Scholar]
- Guo, X. Multi-objective task scheduling optimization in cloud computing based on fuzzy self-defense algorithm. Alex. Eng. J. 2021, 60, 5603–5609. [Google Scholar]
- Understand the Default AWS Limits. Available online: https://docs.bitnami.com/aws/faq/get-started/understand-limits/ (accessed on 18 March 2025).
- Allocation Quotas|Compute Engine Documentation|Google Cloud. Available online: https://cloud.google.com/compute/resource-usage (accessed on 18 March 2025).
- Azure Subscription and Service Limits, Quotas, and Constraints—Azure Resource Manager|Microsoft Learn. Available online: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits (accessed on 18 March 2025).
- Kaleem, M.; Khan, P. Commonly used simulation tools for cloud computing research. In Proceedings of the 2015 2nd International Conference on Computing for Sustainable Global Development (INDIACom), New Delhi, India, 11–13 March 2015; IEEE: Piscataway, NJ, USA, 2015; pp. 1104–1111. [Google Scholar]
- Calheiros, R.N.; Ranjan, R.; Beloglazov, A.; De Rose, C.A.; Buyya, R. CloudSim: A toolkit for modeling and simulation of cloud computing environments and evaluation of resource provisioning algorithms. Softw. Pract. Exp. 2011, 41, 23–50. [Google Scholar]
- Cloud Compute Instances—Amazon EC2 Instance Types—AWS. Available online: https://aws.amazon.com/ec2/instance-types/ (accessed on 9 February 2025).
- ARM Processor—AWS Graviton Processor—AWS. Available online: https://aws.amazon.com/ec2/graviton/ (accessed on 9 February 2025).
- aws-graviton-getting-started/README.md at main · aws/aws-graviton-getting-started · GitHub. Available online: https://github.com/aws/aws-graviton-getting-started/blob/main/README.md (accessed on 9 February 2025).
- EC2 On-Demand Instance Pricing—Amazon Web Services. Available online: https://aws.amazon.com/ec2/pricing/on-demand/ (accessed on 9 February 2025).
- Hussain, A.; Aleem, M. GoCJ: Google cloud jobs dataset for distributed and cloud computing infrastructures. Data 2018, 3, 38. [Google Scholar] [CrossRef]
- Li, X.; Jiang, X.; Garraghan, P.; Wu, Z. Holistic energy and failure aware workload scheduling in Cloud datacenters. Future Gener. Comput. Syst. 2018, 78, 887–900. [Google Scholar]
S. No. | Reference | Fuzzy Logic-Based | Multipriority Tasks | SLA or QoS Constraint | Ability to Vary Number of VMs |
---|---|---|---|---|---|
1 | Kakumani et al. [9] | No | No | No | No |
2 | Nabi et al. [10] | No | No | No | No |
3 | Hussain et al. [11] | No | Yes | Yes | No |
4 | Yadav et al. [12] | No | No | No | No |
5 | Qamar et al. [13] | No | No | No | No |
6 | Pirozmand et al. [14] | No | Yes | No | No |
7 | Sahoo et al. [15] | No | No | Yes | No |
8 | Tarafdar et al. [16] | No | No | Yes | No |
9 | He et al. [17] | No | No | Yes | No |
10 | Chandrashekar et al. [18] | No | No | Yes | No |
11 | Beegom et al. [19] | No | No | No | No |
12 | Ben Alla et al. [20] | Yes | Yes | Yes | No |
13 | Abdel-Basset et al. [21] | No | No | No | No |
14 | Shojafar et al. [22] | Yes | Yes | Yes | No |
15 | Adami et al. [23] | Yes | No | No | No |
16 | Zavvar et al. [24] | Yes | Yes | No | No |
17 | Mansouri et al. [25] | Yes | Yes | No | No |
18 | Farid et al. [26] | Yes | No | Yes | No |
19 | Wang et al. [27] | Yes | No | Yes | No |
20 | Guo et al. [28] | Yes | No | Yes | No |
21 | Proposed FPD approach | Yes | Yes | Yes | Yes |
Parameter | Detail |
---|---|
Processor | Intel® Core™ i5-3337U |
Main memory | 8 GB |
Operating system | Debian 12.8 |
Integrated development environment | Eclipse 4.34.0 |
Parameter | Detail |
---|---|
No. of processing elements | 2 [34] |
Processor clock frequency | 2800 MHz [35,36] |
Main memory | 4 GB [34] |
VM cost per second (USD) | 0.07948 [37] |
Dataset | FCFS-EDF | SJF-EDF | Random-EDF | FPD |
---|---|---|---|---|
Synthetic | 3.50 | 4.08 | 2.67 | 5.00 |
GoCJ | 3.67 | 4.08 | 2.75 | 4.33 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Qamar, S.; Ahmad, N.; Khan, P.M. Task Scheduling for Public Clouds Using a Fuzzy Controller-Based Priority- and Deadline-Aware Approach. Future Internet 2025, 17, 148. https://doi.org/10.3390/fi17040148
Qamar S, Ahmad N, Khan PM. Task Scheduling for Public Clouds Using a Fuzzy Controller-Based Priority- and Deadline-Aware Approach. Future Internet. 2025; 17(4):148. https://doi.org/10.3390/fi17040148
Chicago/Turabian StyleQamar, Saad, Nesar Ahmad, and Parvez Mahmood Khan. 2025. "Task Scheduling for Public Clouds Using a Fuzzy Controller-Based Priority- and Deadline-Aware Approach" Future Internet 17, no. 4: 148. https://doi.org/10.3390/fi17040148
APA StyleQamar, S., Ahmad, N., & Khan, P. M. (2025). Task Scheduling for Public Clouds Using a Fuzzy Controller-Based Priority- and Deadline-Aware Approach. Future Internet, 17(4), 148. https://doi.org/10.3390/fi17040148