1,175 views
2 votes
2 votes
Is convoy effect possible in SJF and Priority (preemptive and non preemptive) scheduling ?

Please explain your answer.

1 Answer

1 votes
1 votes
SJF cannot be used for practical purposes as one doesn't know BT of process when process is created. If all jobs are available at first, then SJF cannot have convoy effect, but if new process comes and it is non pre-emptive SJF, then there can be convoy effect. We generally consider convoy effect, when we assume that all processes are available. Therefore only, FCFS will definitely have convoy effect. In priority scheduling also convoy effect is possible as longer process may be given higher priority.
edited by

Related questions

7 votes
7 votes
3 answers
2
Akriti sood asked Dec 6, 2016
10,420 views
Which of the following algorithm leads convoy effect?FCFS SJF Priority scheduling All of the above
2 votes
2 votes
2 answers
3
0 votes
0 votes
1 answer
4