0 votes 0 votes Which of the following ALWAYS gives MINIMUM average waiting time and minimum average Turn around time SJF (Non preemptive) SRTF (Preemptive) Operating System operating-system process-scheduling + – jatin khachane 1 asked Dec 11, 2018 jatin khachane 1 603 views answer comment Share Follow See all 7 Comments See all 7 7 Comments reply Gupta731 commented Dec 11, 2018 reply Follow Share SRTF 0 votes 0 votes jatin khachane 1 commented Dec 11, 2018 reply Follow Share is it possible that both SJF and SRTF gives same minimum WT and min TAT ? 0 votes 0 votes Gupta731 commented Dec 11, 2018 i edited by Gupta731 Dec 11, 2018 reply Follow Share when it comes to minimum average turnaround time and minimum average waiting time, SRTF performs better. Take a look at this question. https://gateoverflow.in/8492/gate2015-3-34 0 votes 0 votes Shivam Kasat commented Dec 11, 2018 reply Follow Share @Gupta731 The link you posted says SRTF gives minimum waiting time and also minimmal turn around time! 0 votes 0 votes jatin khachane 1 commented Dec 11, 2018 reply Follow Share @Gupta731 SRTF is optimal for both Min average WT as well as minimum avg TAT ..right ?? there will not be the case that SRTF gives avg wating time which is greater than SJF 0 votes 0 votes Gupta731 commented Dec 11, 2018 reply Follow Share yes 0 votes 0 votes jatin khachane 1 commented Dec 11, 2018 reply Follow Share if question is for min avg WT and min avg TAT given processes AT and BT in options A) both SRTF , SJF present B) SJF present but no SRTF C) SRTF present but no SJF D) All other than these two 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes SRTF better than SJF(non preemptive). In SRTF (SJF preemptive) we can preempt the process and execute a new process with smaller burst time. Devwritt answered Dec 11, 2018 Devwritt comment Share Follow See all 0 reply Please log in or register to add a comment.