Consider a system with 14 dedicated devices of the same type. All jobs currently
ID: 3680955 • Letter: C
Question
Consider a system with 14 dedicated devices of the same type. All jobs currently running on this system require a maximum of five devices to complete their execution but they each run for long periods of time with just three devices and request the remaining two only at the very end of the run. Assume that the job stream is endless and that your operating system’s device allocation policy is a very conservative one: No job will be started unless all the required drives have been allocated to it for the entire duration of its run. Using banker's algorithm,
a. What is the maximum number of jobs that can be in progress at once? Explain your answer.
b. What are the minimum and maximum number of devices that may be idle as a result of this policy? Under what circumstances would an additional job be started?
Explanation / Answer
here in this question there must be difference between devices and drives.
consider three devices each require five drives to complete the task.
a) maimum of two jobs can be processed at once. since each device require five drives , there given 14 drives
so 2*5=10, the third device require five but there are only four remaining so this does not process.
b) Only one drive will remain idle after completion of first one the processes will be released and moved to next . so maximum and minimum will be one.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.