400 views
1 votes
1 votes

With the use of SRTF the execution of three processes is as follows, the process A is scheduled first and A has been running for 6 units of time, the process B arrives runs for 2 units of time, later process C  arrives and completes its execution in 4 units of time. Find the minimum possible burst time of the process A and B.

1 Answer

1 votes
1 votes

A=14  units and B=7 units.

A=6 B=2 C=4

As in SRTF the new process is scheduled when its Remaining time is minimum.

B.T. of A= 6 + value greater than 2 + value greater than 4 (as B replaced it so its remaining time is lesser A than remaining time of B and after that C replaces B which means remaining time of B is greater than remaining time of C ) 

B.T. of A =6+3+5=14

B.T. of B=2+5=7

Related questions

0 votes
0 votes
1 answer
3
Nam14 asked Apr 5, 2023
536 views
Please read below passage from 10th edition Operating System Concepts, pg. 202:5.1.3 Preemptive and Nonpreemptive SchedulingCPU-scheduling decisions may take place under ...