Question: Version: 0 . 9 StartHTML: 0 0 0 0 0 0 0 1 0 5 EndHTML: 0 0 0 0 0 0 4 5 5
Version: StartHTML: EndHTML: StartFragment: EndFragment:
Part : Scheduling points
a A FIFO scheduler receives three jobs A B C each with arrival time of second. Process A has run time of
second, whereas Process B and C have runtime of second. What is the average turnaround time? points
Average Turnaround time in seconds: sec assuming A started first
If you made an assumption that B or C started first, and the calculation was
correct, you were given full points.
b Now consider, Job A has second run time and arrives at time second. Process B and C has second runtime,
and arrive at time second. For STCF shortest time to completion what is average turnaround time? points
Average Turnaround time in seconds: sec
Part : Scheduling Again! points
The multilevel feedback queue policy periodically moves all jobs back to the topmost queue lets call this MLFQ reset
Lets assume that in our system this happes once every seconds. Once could shorten the MLFQ reset to second. List
one positive and negative effffect of reducing MLFQ reset frequency points
Pros
Reduces response time and wait time for processes in the lower levels and schedules them more frequently.
Cons
Incurs significant context switch cost and also requires frequently moving jobs across the queues.
You were given full points if you stated the correct behavior and the impact.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
