Modification of Traditional Bully Algorithm using Priority Queuing Technique Applied in CPU Memory Allocation

  • Richelle Rose R. Alcaide Computer Science Department, Pamantasan ng Lungsod ng Maynila, Philippines
  • Saimon C. Rumol Computer Science Department, Pamantasan ng Lungsod ng Maynila, Philippines
  • Vivien A. Agustin Computer Science Department, Pamantasan ng Lungsod ng Maynila, Philippines
  • Mark Christopher R. Blanco Computer Science Department, Pamantasan ng Lungsod ng Maynila, Philippines
  • Jonathan C. Morano Computer Science Department, Pamantasan ng Lungsod ng Maynila, Philippines
  • Leisyl M. Mahusay Computer Science Department, Pamantasan ng Lungsod ng Maynila, Philippines
  • Jamillah S. Guialil Computer Science Department, Pamantasan ng Lungsod ng Maynila, Philippines

Abstract

Purpose – This study aims to modify the Bully Algorithm, a leader-election algorithm, by introducing Priority Queuing to optimize its steps, and evaluate its efficiency based on message count, election time, and instances of communicating with inactive nodes.

Method – Priority Queuing will organize active nodes in descending order based on their active status, with the election message sent only to the highest-ranked node in the queue. The study intends to compare the performances of three variations of the Bully Algorithm (the Traditional Bully Algorithm, the latest enhancement, and the proposed modification) using a simulator that ensures the algorithms share the same data set.

Result – The findings show that the proposed modification trumps the latest enhancement only during an increased presence of inactive nodes in the distributed system. In return, the newest enhancement trumps the proposed modification when there is little to no presence of inactive nodes.

Conclusion – The proposed modification has successfully reduced the time consumed, communication costs, and the instance of data transmission with failed nodes compared to the traditional method. However, it is not completely better or worse than the latest enhancement.


Recommendation – While conducting the findings for the study, the researchers recommend looking into achieving the same objectives while also considering the reactivation of nodes during the election process. The researchers also recommend fine-tuning the timeout interval and exploring other strategies for enabling multiple nodes to initiate the election process.

Research Implications – This improved algorithm can efficiently coordinate resource management in cloud computing environments, facilitate data replication, and coordinate consensus mechanisms in blockchain networks. These enhancements optimize coordination, fault tolerance, and scalability in distributed systems, ultimately improving performance and user experience.

Practical Implication – The findings of this study have several implications, one of which is enhanced failure tolerance in distributed systems. Moreover, the waiting time-based bully algorithm is an attractive solution for modern distributed systems due to its ability to quickly adapt to network dynamic changes without significant performance degradation.

Author Biographies

Richelle Rose R. Alcaide, Computer Science Department, Pamantasan ng Lungsod ng Maynila, Philippines

Ms. Richelle Rose R. Alcaide, the primary author of this paper, is a student at Pamantasan ng Lungsod ng Maynila (University of the City of Manila), Philippines. She graduated from high school with honors at Manila Science High School and is in the process of completing her bachelor’s degree in computer science. She aims to focus her research on enhancing algorithms and studies related to Machine Learning, Natural Language Processing, and Data Analytics.

Saimon C. Rumol, Computer Science Department, Pamantasan ng Lungsod ng Maynila, Philippines

Mr. Saimon C. Rumol, the primary author of this paper, is also a student at the Pamantasan Lungsod ng Maynila, He graduated from National Teacher's College with honors and is in the process of completing his Bachelor's Degree in Computer Science at the University of Pamantasan Lungsod ng Maynila.

Vivien A. Agustin, Computer Science Department, Pamantasan ng Lungsod ng Maynila, Philippines

Ms. Vivien A. Agustin is an Assistant Professor at Pamantasan ng Lungsod ng Maynila, serving as Program Chairperson of the Information Technology Department. With 22 years of experience, she previously worked as a professor and program coordinator at Universidad de Manila. She holds a Bachelor's degree in Information Technology from St. Paul University in Tuguegarao, Cagayan, and a Master's degree in Information Technology and Public Management Governance. Currently pursuing a Doctorate in Information Technology at La Consolacion University Philippines, she is actively involved in professional organizations such as PSITE-NCR and Institute of Industry and Academic Research Incorporated, while also contributing research publications to the global Information Technology field.

Mark Christopher R. Blanco, Computer Science Department, Pamantasan ng Lungsod ng Maynila, Philippines

Mr. Mark Christopher R. Blanco is an instructor 3 at Pamantasan ng Lungsod ng Maynila and is designated as the Chief of the Information and Communications Technology Office of the same University. Mr. Blanco is currently taking his Masters in Information Technology at Pamantasan ng Lungsod ng Maynila. Currently, Mr. Blanco focuses on research and studies related to Natural Language Processing, Machine Learning, Image Processing, Neural Networks, Algorithms, Data Analytics, and Data Mining.

Jonathan C. Morano, Computer Science Department, Pamantasan ng Lungsod ng Maynila, Philippines

Mr. Jonathan C. Morano is a full-time Instructor and Capstone Coordinator at Baliwag Polytechnic College, concurrently serving as a part-time Lecturer and Thesis Writing Coordinator at Pamantasan Ng Lungsod Ng Maynila. He holds a Bachelor of Science degree in Computer Science from the Technological University of the Philippines - Manila and is currently pursuing a Master of Science in Information Technology at La Consolacion University Philippines – Malolos Bulacan. His research interests encompass algorithm enhancement, with a focus on Beaufort Cipher, K-Nearest Neighbors (KNN), and Vigenère Cipher.

Leisyl M. Mahusay, Computer Science Department, Pamantasan ng Lungsod ng Maynila, Philippines

Ms. Leisyl M. Mahusay is a graduate of Master of Engineering Management major in Systems Management and currently taking up a Doctor of Philosophy in Computer Science (PHdCS) at Technological Institute of the Philippines (TIP), Manila. A Licensed Examination for Teacher (LET) passer. She graduated from the Pamantasan ng Lungsod ng Maynila (PLM) with a degree Bachelor of Science in Computer Science in 1993. Ms. Mahusay is a career-oriented woman. She works as a permanent IT Officer and a part-time faculty member at the College of Information System and Technology Management (CISTM. She became an Assistant Vice President of the Information and Communication Technology Office (ICTO). She dedicated her life to education. Over the course of her more than twenty (20) years as a full-time faculty member, she held many positions within the College of Engineering and Technology, including lead, chair, and college secretary.

Jamillah S. Guialil, Computer Science Department, Pamantasan ng Lungsod ng Maynila, Philippines

Ms. Jamillah S. Guialil is a dedicated computer scientist and educator. She earned her Computer Science degree from Pamantasan ng Lungsod ng Maynila (PLM). Currently serving as a Computer Programmer II at PLM, Jamillah plays a vital role in developing and maintaining essential software systems for the university. Alongside her professional role, she serves as a part-time faculty member in the Computer Department, inspiring students and fostering a dynamic learning environment. Actively engaged in the tech community, Jamillah's dedication to lifelong learning reflects her unwavering passion for technology and education.

Published
2024-08-24
How to Cite
ALCAIDE, Richelle Rose R. et al. Modification of Traditional Bully Algorithm using Priority Queuing Technique Applied in CPU Memory Allocation. International Journal of Computing Sciences Research, [S.l.], v. 8, p. 3217-3234, aug. 2024. ISSN 2546-115X. Available at: <//stepacademic.net/ijcsr/article/view/614>. Date accessed: 22 dec. 2024.
Section
Articles

Most read articles by the same author(s)