0 votes 0 votes Operating System process-scheduling + – Smishra95 asked Aug 20, 2018 Smishra95 544 views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply gauravkc commented Aug 20, 2018 reply Follow Share A higher burst time process can face this issue in Shortest remaining time first scheduling while a very low priority process can face this issue in priority scheduling. 1 votes 1 votes Smishra95 commented Aug 20, 2018 reply Follow Share But it is possible in both situation . If a stream of shortest job arrived then long burst will wait indefinetly . same for priority scheduling. 0 votes 0 votes Shaik Masthan commented Aug 21, 2018 reply Follow Share what about FCFS? didn't it cause indefinite Blocking? 0 votes 0 votes Please log in or register to add a comment.
2 votes 2 votes SRTF and Priority scheduling both may lead to indefinite blocking. In the case of SRTF, jobs with longer BT may wait forever, and in case of priority scheduling, the low priority job may never get a chance to execute. manisha11 answered Aug 21, 2018 manisha11 comment Share Follow See all 5 Comments See all 5 5 Comments reply Smishra95 commented Aug 21, 2018 reply Follow Share yeah ... but the answer given is D. I think B should also be correct . 0 votes 0 votes Prince Sindhiya commented Aug 26, 2018 reply Follow Share @Manisha why not FIFO as if a process with large burst time if arrived first than it can block the other process with lower burst time And what is mean by indefinite block here ? 0 votes 0 votes manisha11 commented Aug 26, 2018 reply Follow Share In FIFO if a process is arriving early it is getting chance at least to stand in queue, while in case of Priority /SRTF no matter who arrived first who is waiting from time 0. 0 votes 0 votes Smishra95 commented Aug 31, 2018 reply Follow Share Indefinite block means we cant say, when the process get CPU . In SRTF/priority process get blocked unrelated to their Arrival time . but in FIFO we can calculated a fixed time after that a particular process get executed . 0 votes 0 votes Smishra95 commented Aug 31, 2018 reply Follow Share In FIFO when a process arrived its waiting time is fixed . That means how long it have to wait is defined as soon as it arrives . But in SRTF / priority their is uncertainity . 1 votes 1 votes Please log in or register to add a comment.
1 votes 1 votes Answer should be (D) Priority based scheduling because if there is continuous flow of higher priority processes then lower priority process may wait for indefine time. which is called "indefine blocking of a process". Dharmesh Gusai 1 answered Aug 20, 2018 Dharmesh Gusai 1 comment Share Follow See 1 comment See all 1 1 comment reply manisha11 commented Aug 21, 2018 reply Follow Share SRTF and Priority scheduling both may lead to indefinite blocking. In the case of SRTF, jobs with longer BT may wait forever, and in case of priority scheduling, the low priority job may never get a chance to execute 1 votes 1 votes Please log in or register to add a comment.
0 votes 0 votes SRTF and Priority scheduling both may lead to indefinite blocking. In the case of SRTF, jobs with longer BT may wait forever, and in case of priority scheduling, the low priority job may never get a chance to execute. manisha11 answered Aug 21, 2018 manisha11 comment Share Follow See all 0 reply Please log in or register to add a comment.