TY - GEN
T1 - Multilevel Feedback Queue
T2 - 8th International Conference and Workshop on Basic and Applied Science, ICOWOBAS 2021
AU - Kashif, Muhammad
AU - Nawaz, Rab
AU - Rulaningtyas, Riries
AU - Iqbal, Shuaib
AU - Zulfiqar, Aisha
N1 - Publisher Copyright:
© 2022 American Institute of Physics Inc.. All rights reserved.
PY - 2022/1/25
Y1 - 2022/1/25
N2 - A multitasking operating system allows many programs to run at the same time. We need to schedule our Central Processing Units (CPUs) efficiently to handle these services. CPU scheduling algorithms come in a score of forms and any strategy has advantages and disadvantages. We implemented a Multi-Level Feedback Queue (MLFQ) algorithm with static time quantum for the first queue, making an efficient scheduling algorithm of MLFQ dynamic time quantum used in the second queue. Other than that, we compared both results and observed which dynamic time quantum delivers the best result. In the first queue, we used the Round Robin (RR) algorithm with less quantum time for processes that have a short burst time. The process that had more burst time than the defined quantum in the first queue was allowed to move into the second queue. Here, we calculated the average burst time of all remaining processes and defined that burst time as a quantum for the second queue after the Shortest Job First (SJF) scheme was applied in this queue. As a result, 70% of the processes in the second queue was received CPU. Other processes moved into the lower queue (the last queue). Hence, this technique prevented the starvation problem for those processes which have large burst times.
AB - A multitasking operating system allows many programs to run at the same time. We need to schedule our Central Processing Units (CPUs) efficiently to handle these services. CPU scheduling algorithms come in a score of forms and any strategy has advantages and disadvantages. We implemented a Multi-Level Feedback Queue (MLFQ) algorithm with static time quantum for the first queue, making an efficient scheduling algorithm of MLFQ dynamic time quantum used in the second queue. Other than that, we compared both results and observed which dynamic time quantum delivers the best result. In the first queue, we used the Round Robin (RR) algorithm with less quantum time for processes that have a short burst time. The process that had more burst time than the defined quantum in the first queue was allowed to move into the second queue. Here, we calculated the average burst time of all remaining processes and defined that burst time as a quantum for the second queue after the Shortest Job First (SJF) scheme was applied in this queue. As a result, 70% of the processes in the second queue was received CPU. Other processes moved into the lower queue (the last queue). Hence, this technique prevented the starvation problem for those processes which have large burst times.
UR - http://www.scopus.com/inward/record.url?scp=85147290665&partnerID=8YFLogxK
U2 - 10.1063/5.0106240
DO - 10.1063/5.0106240
M3 - Conference contribution
AN - SCOPUS:85147290665
T3 - AIP Conference Proceedings
BT - 8th International Conference and Workshop on Basic and Applied Science, ICOWOBAS 2021
A2 - Wibowo, Anjar Tri
A2 - Mardianto, M. Fariz Fadillah
A2 - Rulaningtyas, Riries
A2 - Sakti, Satya Candra Wibawa
A2 - Imron, Muhammad Fauzul
A2 - Ramadhan, Rico
PB - American Institute of Physics Inc.
Y2 - 25 August 2021 through 26 August 2021
ER -