Question: Solve this question Consider a multiprogramming system with 4 processes, A, B, C, and D that arrived at the same time. Processes A and B

Solve this question

Solve this question Consider a multiprogramming system with 4 processes, A, B,C, and D that arrived at the same time. Processes A and

Consider a multiprogramming system with 4 processes, A, B, C, and D that arrived at the same time. Processes A and B are CPU-bound ones, while processes C and D are I/O-bound ones. Their resources requirem ents are given in the table below. Assume that process A uses 80% of the CPU while running, process B uses 80% of the CPU while running, process C uses 10% of the CPU while executing I/O, and process D uses 10% of the CPU while executing I/O. Furthermore, assume processes C and D use their respective I/O devices 100% of the time while executing their I/O. The total memory available in the system to be used for all jobs is 250M (assume no virtual memory) Process A Process B Process C Process D Duratiorn Memory Need Dislk Need printer 5 min 150M Yes 15 min 50M 10 min 100M Yes Yes min 40M 0 Answer the following questions (a) How long would it take until all the processes are done?[4 pts] (b) Draw the utilization of the CPU, memory, Disk and printer over time?[4 pts] (c) What are the average utilizations of the CPU, memory, disk and printer?[4 pts] (d) What is the overall system throughput (in jobs/hr)?[4 pts] (e) What is the average turnaround time for all processes?[4 pts]

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!