Round Robin Algorithm is a dominant algorithm in real time system. Improved round robin and average max round robin, which is also called AMRR are two types with a breakthrough. Improved round robin is an algorithm where if the remaining burst time of the process is less than the quantum, then the running process will continue to be executed. Afterwards the next iteration will be executed as its turn. So, each iteration will have a vary of quantum. It is called a dynamic time quantum. Different with improved round robin, in AMRR, in every iteration, the quantum will be calculated. So, for every iteration, the quantum might be different, depending upon the quantum calculation of the rest burst time. The first stage of this algorithm is to calculate the average of the existing burst times. Then this average is added with the maximum existing burst time. This addition then will be divided, then we get the quantum. This calculation will be executed again after the iteration finish. Based on our analysis, with quantum 10 in these two algorithms. It is can be shown that the improved round robin is less efficient than AMRR, because its average turnaround time and average waiting time is lower. The average turnaround time is 17.25 ms for AMRR compared to 23.25 ms in improved round robin. And the average turnaround time is 9 ms for AMRR compared to 15 ms in improved round robin.
Copyrights © 2024