Abstract
Task scheduling is crucial for offering the users of an operating system the impression that the system’s response is direct and in real time. However, it is a complicated process that is characterized by vagueness and uncertainty. A solution to this problem is the usage of fuzzy logic. Therefore, in this paper a rule-based fuzzy scheduling method, which considers both the execution time and the waiting time for each task, is presented. Fuzzy sets are used to describe both criteria. The operation of the presented scheduling method is based on a rule-based reasoner that decides dynamically about the priority of the tasks that wait to be executed. This reasoner is triggered each time a change occurs (i.e. the execution of a task ends, a new task arrives etc.). It has been compared with Short Job First (SJF) and First Come First Served (FCFS) scheduling algorithms for a large number of different sets of tasks. The results showed that the presented fuzzy scheduling algorithm in all the cases has the same or almost the same average waiting time with SJF, which is considered as the scheduling algorithm with the best (minimum) average waiting time. However, the presented fuzzy scheduling algorithm ensures that priority is given not only to tasks with short execution time, but also to tasks that remain into the queue waiting to be executed for a long time. In this way, the starvation, which may be caused by SJF algorithm, is eliminated.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
J. Wang, Task scheduling, in Real-Time Embedded Systems (Wiley Inc., 2017, pp. 53–98)
L.A. Zadeh, Fuzzy logic = Computing with words. IEEE Trans. Fuzzy Syst. 4(2), 103–111 (1996)
N. Goel, R.B. Garg, A comparative study of CPU scheduling algorithms. Int. J. Graph. Image Process. 2(4), 245–251 (2012)
P. Singh, V. Singh, A. Pandey, Analysis and comparison of CPU scheduling algorithms. Int. J. Emerg. Technol. Adv. Eng. 4(1), 91–95 (2014)
A. Tanenbaum, Modern Operating Systems (Prentice Hall, 2001, pp. 184–185). ISBN 0-13-092641-8.
S. Zhang, Z. Qian, H. Wu, S. Lu, Efficient data center flow scheduling without starvation using expansion ratio. IEEE Trans. Parall. Distr. 28(11), 3157–3170 (2017)
S. Tyagi, S. Choudhary, A. Poonia, Enhanced priority scheduling algorithm to minimize process starvation. Int. J. Emerg. Technol. Adv. Eng. 2(10), 288–294 (2012)
P.K. Varshney, N. Akhtar, M.F.H. Siddiqui, Efficient CPU scheduling algorithm using fuzzy logic, in Proceedings of 2012 International Conference on Computer Technology and Science (ICCTS 2012) (2012)
H. Nirmala, H.A. Grammar, Priority based scheduling algorithm using fuzzy technique, in International Conference on Computational Systems and Information Systems for Sustainable Solutions, Karnataka, India (2016)
B. Alamo, M.N. Doja, R. Biswas, M. Alam, Fuzzy priority CPU scheduling algorithm. Int. J. Comput. Sci. Issues 8, 386–390 (2011)
S. Shanmugasundaram, B. Venkatesh, Fuzzy retrial queues with priority using DSW algorithm. Int. J. Comput. Eng. Res. (IJCER) 06, 18–23 (2016)
H.S. Behera, R. Pitahaya, P. Mallick, An improved fuzzy-based CPU scheduling (IFCS) algorithm for real time systems. Int. J. Soft Comput. Eng. 2, 326–331 (2012)
M.A. Butt, M. Akram, A new intuitionistic fuzzy rule-based decision-making system for an operating system process scheduler. SpringerPlus. 5, 1547 (2016). https://doi.org/10.1186/s40064-016-3216-z
S. Varshney, N. Akhtar, Efficient CPU scheduling algorithm using fuzzy logic, in Proceedings of International Conference on Computer Technology Science (2012)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Chrysafiadi, K. (2021). A Fuzzy Task Scheduling Method. In: Tsihrintzis, G., Virvou, M. (eds) Advances in Core Computer Science-Based Technologies. Learning and Analytics in Intelligent Systems, vol 14. Springer, Cham. https://doi.org/10.1007/978-3-030-41196-1_14
Download citation
DOI: https://doi.org/10.1007/978-3-030-41196-1_14
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-41195-4
Online ISBN: 978-3-030-41196-1
eBook Packages: EngineeringEngineering (R0)