Open Access iconOpen Access

ARTICLE

crossmark

ATS: A Novel Time-Sharing CPU Scheduling Algorithm Based on Features Similarities

Samih M. Mostafa1,*, Sahar Ahmed Idris2, Manjit Kaur3

1 Faculty of Computers and Information, South Valley University, Qena, 83523, Egypt
2 College of Industrial Engineering, King Khalid University, Abha, Saudi Arabia
3 School of Engineering and Applied Sciences, Bennett University, Greater Noida, India

* Corresponding Author: Samih M. Mostafa. Email: email.e.g.

(This article belongs to the Special Issue: Recent Advances in Metaheuristic Techniques and Their Real-World Applications)

Computers, Materials & Continua 2022, 70(3), 6271-6288. https://doi.org/10.32604/cmc.2022.021978

Abstract

Minimizing time cost in time-shared operating systems is considered basic and essential task, and it is the most significant goal for the researchers who interested in CPU scheduling algorithms. Waiting time, turnaround time, and number of context switches are the most time cost criteria used to compare between CPU scheduling algorithms. CPU scheduling algorithms are divided into non-preemptive and preemptive. Round Robin (RR) algorithm is the most famous as it is the basis for all the algorithms used in time-sharing. In this paper, the authors proposed a novel CPU scheduling algorithm based on RR. The proposed algorithm is called Adjustable Time Slice (ATS). It reduces the time cost by taking the advantage of the low overhead of RR algorithm. In addition, ATS favors short processes allowing them to run longer time than given to long processes. The specific characteristics of each process are; its CPU execution time, weight, time slice, and number of context switches. ATS clusters the processes in groups depending on these characteristics. The traditional RR assigns fixed time slice for each process. On the other hand, dynamic variants of RR assign time slice for each process differs from other processes. The essential difference between ATS and the other methods is that it gives a set of processes a specific time based on their similarities within the same cluster. The authors compared between ATS with five popular scheduling algorithms on nine datasets of processes. The datasets used in the comparison vary in their features. The evaluation was measured in term of time cost and the experiments showed that the proposed algorithm reduces the time cost.

Keywords


Cite This Article

APA Style
Mostafa, S.M., Idris, S.A., Kaur, M. (2022). ATS: A novel time-sharing CPU scheduling algorithm based on features similarities. Computers, Materials & Continua, 70(3), 6271-6288. https://doi.org/10.32604/cmc.2022.021978
Vancouver Style
Mostafa SM, Idris SA, Kaur M. ATS: A novel time-sharing CPU scheduling algorithm based on features similarities. Comput Mater Contin. 2022;70(3):6271-6288 https://doi.org/10.32604/cmc.2022.021978
IEEE Style
S.M. Mostafa, S.A. Idris, and M. Kaur, “ATS: A Novel Time-Sharing CPU Scheduling Algorithm Based on Features Similarities,” Comput. Mater. Contin., vol. 70, no. 3, pp. 6271-6288, 2022. https://doi.org/10.32604/cmc.2022.021978



cc Copyright © 2022 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 4028

    View

  • 1696

    Download

  • 0

    Like

Share Link