Introduction About SRTF Algorithm
- It is a pre-emptive version of SIF.
- Every process get CPU for some amount of time and then the process which have shortest remaining
time gets CPU.
- Initially it is pre-emptive, after some time it becomes non pre-emptive.
Advantage of SRTF Algorithm
- This Algorithm makes processing of jobs faster than SIF, because overhead charges are not counted.
- Note : Here overhead means amount of time taken for contaxt switch.
Disadvantage of SRTF Algorithm
- Contaxt switch done more time hence, Consumes valuable time of CPU.