L-2.5: Shortest Remaining Time First (SJF With Preemption) Scheduling Algorithm with Example | OS
Gate Smashers・2 minutes read
Shortest Remaining Time First (SRTF) is a pre-emptive scheduling algorithm where processes are executed based on their burst time, with a focus on selecting the shortest process at each interval. Arrival times, burst times, completion times, and response times are crucial factors in determining the efficiency of the SRTF algorithm.
Insights
- SRTF (Shortest Remaining Time First) operates similarly to Shortest Job First with pre-emption, focusing on selecting processes with the shortest burst time at each interval, allowing for efficient execution.
- Arrival times and burst times play a critical role in determining the order of execution in SRTF, with calculations of completion times, waiting times, and response times providing insights into the algorithm's efficiency through metrics like average turnaround time and average waiting time.
Get key ideas from YouTube videos. It’s free
Recent questions
What is the difference between SRTF and SJF?
SRTF is SJF with pre-emption.
Related videos
Gate Smashers
L-6.3: Disk Scheduling Algorithm | Operating System
Gate Smashers
L-6.2: Disk Access Time with Example | Seek Time, Rotational Time and Transfer Time
Codex Community
Scrum in 20 mins... (with examples)
Education 4u
Process Synchronisation | Critical Section Problem | OS | Lec-54 | Bhanu Priya
IIT Madras - B.S. Degree Programme
Lec 75 - All-Pairs Shortest Paths