Skip to main content

A Fuzzy Task Scheduling Method

  • Chapter
  • First Online:
Advances in Core Computer Science-Based Technologies

Part of the book series: Learning and Analytics in Intelligent Systems ((LAIS,volume 14))

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.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. J. Wang, Task scheduling, in Real-Time Embedded Systems (Wiley Inc., 2017, pp. 53–98)

    Google Scholar 

  2. L.A. Zadeh, Fuzzy logic = Computing with words. IEEE Trans. Fuzzy Syst. 4(2), 103–111 (1996)

    Article  Google Scholar 

  3. N. Goel, R.B. Garg, A comparative study of CPU scheduling algorithms. Int. J. Graph. Image Process. 2(4), 245–251 (2012)

    Google Scholar 

  4. P. Singh, V. Singh, A. Pandey, Analysis and comparison of CPU scheduling algorithms. Int. J. Emerg. Technol. Adv. Eng. 4(1), 91–95 (2014)

    Google Scholar 

  5. A. Tanenbaum, Modern Operating Systems (Prentice Hall, 2001, pp. 184–185). ISBN 0-13-092641-8.

    Google Scholar 

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

    Article  Google Scholar 

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

    Google Scholar 

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

    Google Scholar 

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

    Google Scholar 

  10. B. Alamo, M.N. Doja, R. Biswas, M. Alam, Fuzzy priority CPU scheduling algorithm. Int. J. Comput. Sci. Issues 8, 386–390 (2011)

    Google Scholar 

  11. S. Shanmugasundaram, B. Venkatesh, Fuzzy retrial queues with priority using DSW algorithm. Int. J. Comput. Eng. Res. (IJCER) 06, 18–23 (2016)

    Google Scholar 

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

    Google Scholar 

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

    Article  Google Scholar 

  14. S. Varshney, N. Akhtar, Efficient CPU scheduling algorithm using fuzzy logic, in Proceedings of International Conference on Computer Technology Science (2012)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Konstantina Chrysafiadi .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics