in Operating System
690 views
0 votes
0 votes
Is CONVOY Effect possible in "Longest job first" non preemptive scheduling policy ?
in Operating System
690 views

2 Answers

2 votes
2 votes
Convoy effect can be seen in non preemptive scheduling(FCFS).

If there are two processes P1 with burst time 2, P2 with 20 and if P2 is with CPU, when P2 doing I/O P1 cannot execute whereas in any type of preemptive scheduling we can immediately schedule other process.

Longest job first (Non preemptive) suffer from convoy.

Longest remaining time first will not suffer from convoy as CPU will be utilized efficiently.

1 comment

@tusharp FCFS - yes

SJF - Yes

SRTF - No

LJF - Yes

LRTF - No

Prio (non pre) - Yes

Prio(pre) - Yes

0
0
0 votes
0 votes

It is possible.

When a process with high burst time arrives it will keep the cpu busy leading to convoy effect.

https://gateoverflow.in/237015/operating-systems-conceptz

Can LRTF lead to it? Yes

Good read: https://gateoverflow.in/89982/which-of-the-following-algorithm-leads-convoy-effect

edited by

Related questions