Introduction About RR Algorithm
- It is a pre-emptive, just like FCFS.
- It is the algorithm which is used by most of the operating system.
- Every process get CPU for fix amount of quantum, after the expire of quantum, there is contaxt
switch.
Advantage of RR Algorithm
- Every process gets an equal share of the CPU.
- RR is cyclic in nature, so there is no starvation.
Disadvantage of RR Algorithm
- Setting the time quantum too short increase the overhead and decrease hte CPU efficiency, but
setting it too long may cause poor response to short processes.
- Average waiting time is obtain long.