The Gateway to Computer Science Excellence
0 votes
Let's say we have four processes as (P1, P2, P3, P4) and have Arrival time as (0,1,2,3) respectively, but all of them has same CPU Burst time as (10ms) then does SRTF will simply be behaving like FCFS?
in Operating System by Loyal (8.5k points) | 191 views

1 Answer

+2 votes
Best answer
Yes in such cases the SRTF will work as FCFS:

the main reason is ...SRTF will look out for the burst time which is small at every instance of PROCESS ARRIVAL ...but as per question the burst time for all is same so ..only one that will create difference is Arrival time ..

hence upto 2nd process will come the 1st process has already executed for 1 unit of time and will have less burst time than 2nd as well as any upcoming process ..hence "ITS TRUE"..
by Boss (11k points)
selected by
Thanks, bhai!


Also, what it, AT is also same and BT is also same, then how SRTF will behave?
@ iarnav than process will be executed according to their prcoess id...process with lower process id will be executed first if u have same burst and same arrival time.!
yes .. it will be mentioned in the question .. but most of times its as per id
Alright, thank you both of you! :)

Related questions

0 votes
1 answer
asked Jul 12, 2018 in Operating System by Na462 Loyal (7k points) | 152 views
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,365 answers
105,260 users