Question: [ Exploring non-preemptive scheduling ] [Similar to [TAN] Q2.41] Five jobs are waiting to be run (thus, all jobs are available). The expected run times

[ Exploring non-preemptive scheduling ]

[Similar to [TAN] Q2.41] Five jobs are waiting to be run (thus, all jobs are available). The expected run times for jobs A to E are: A:9, B:6, C:3, D:5 and E:X minutes. (Note X is a variable). The first 2 jobs (A & B) arrive at time 0 and the rest arrive after the first minute. The machine can only run at most one job at the same time.

(a) Assuming a batch FCFS scheduler, what is the order made by the scheduler to run the jobs? You may need to make an assumption.

(b) Now a batch non-preemptive scheduler S which minimizes the average waiting time is used. What is the order of running the jobs A to E? What scheduling policy is S closest to?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!