FOR FREE CONTENT

Question:

 

Q. A Process has the following information while scheduling by Shortest Process Next/Shortest Job First. Last three runs of a process are 5, 6, 5 and last predicted burst time of a process is 7. Here α = 0.8. Now predict the next CPU burst time using exponential averaging. 

 

Answer:

 

Given

Actual Burst Time (t1, t2, t3) = (5, 6, 5)

Then we calculate (Predict) here t4 = ?

 

As per the formula of exponential averaging:

 

 

 

 

So, the next CPU burst time is predicted 5.296 using exponential averaging.

(Visit here for more details about exponential averaging of SJF)