POT-AVL: A Novel CPU Scheduling Algorithm based on AVL Trees and Postorder Traversal

  • Don Harl C. Malabanan College of Information Technology and Computer Science, University of the Cordilleras, Philippines
  • Mishael M. Valdez College of Information Technology and Computer Science, University of the Cordilleras, Philippines
  • Dionisio R. Tandingan Jr. College of Engineering and Architecture, University of the Cordilleras, Philippines

Abstract

Purpose – This study aims to offer a new perspective on the development and optimization of CPU scheduling algorithms in the field of research utilizing the concept of an Adelson-Velsky and Landis (AVL) tree which has not been used before in related studies which signifies a departure from standard practices, seeking to offer fresh insights into scheduling challenges.

Method – A novel scheduling algorithm called POT-AVL encompasses the structure of an AVL tree while using the postorder traversal to identify and select which processes shall be chosen and executed by the scheduler. The proposed algorithm was tested against the more common FCFS and two optimized RR algorithms, AMRR and MMRRA in terms of their Average Turnaround Time, Average Waiting Time, and Context Switch metrics.

Results –The results show that POT-AVL consistently performs better than the other algorithms in instances when the burst times for the processes are long burst times. POT- AVL performs worse than the FCFS algorithm when there are long gaps between arrival times.

Conclusion – The novel approach of integrating an AVL tree wait queue leads to an improved efficiency in terms of searching and managing processes in the queue which may be useful as a new path in the development and optimization of CPU scheduling algorithms.

Recommendations – The inclusion and other factors such as quantum time, and priority level, among others, can identify the strengths and weaknesses of the proposed algorithms in different scenarios.

Research Implications – This study exhibits more possibilities for amalgamating data structures and CPU scheduling algorithms.

Practical Implications – This study could suggest exploring alternative balancing techniques or adapting AVL trees to leverage hardware features efficiently.

Author Biographies

Don Harl C. Malabanan, College of Information Technology and Computer Science, University of the Cordilleras, Philippines

Don Harl Malabanan is an instructor at the University of the Cordilleras College of Information Technology and Computer Science. He holds a Bachelor’s Degree in Information Technology from the same institution. His academic focus includes Machine Learning, Data Structures, and Programming. Currently, he is pursuing a Master of Science in Computer Science, further enhancing his expertise in these areas.

Mishael M. Valdez, College of Information Technology and Computer Science, University of the Cordilleras, Philippines

Mishael M. Valdez is an instructor at the University of the Cordilleras College of Information Technology and Computer Science. He holds a Bachelor of Science in Computer Science from the same institution. His research and academic interests include Machine Learning, Natural Language Processing, and Data Science. As an instructor, he utilizes his knowledge and skills to teach Computer Science and Multimedia Arts courses. Currently, he is pursuing his Master of Science in Computer Science to enhance his knowledge and expertise in this field of academics.

Dionisio R. Tandingan Jr., College of Engineering and Architecture, University of the Cordilleras, Philippines

Dionisio Tandingan Jr. is an instructor at the University of the Cordilleras College of Engineering and Architecture. He holds a Bachelor of Science in Computer Engineering, Master of Computer Science, and Master of Arts in Education, Major in Educational Management.

Published
2024-10-15
How to Cite
MALABANAN, Don Harl C.; VALDEZ, Mishael M.; TANDINGAN JR., Dionisio R.. POT-AVL: A Novel CPU Scheduling Algorithm based on AVL Trees and Postorder Traversal. International Journal of Computing Sciences Research, [S.l.], v. 8, p. 3298-3310, oct. 2024. ISSN 2546-115X. Available at: <//stepacademic.net/ijcsr/article/view/637>. Date accessed: 16 oct. 2024.
Section
Articles