Question: Consider a system having the following characteristics: 2 parallel CPUs 1 ready queue that is shared by both CPUs. Round-robin scheduling is used with a

 Consider a system having the following characteristics: 2 parallel CPUs 1

Consider a system having the following characteristics: 2 parallel CPUs 1 ready queue that is shared by both CPUs. Round-robin scheduling is used with a time quantum of 5 units. Context switching time is infinitely small (i.e. 0). No I/O operations. A load of 4 processes as described in table 1. (i) Draw a Gantt chart. Show the 2 CPUs and the ready queue. (ii) Calculate the average turnaround time. (iii) Calculate the average waiting time. (iv) Calculate the CPU utilization percentage for the total time period. (v) Calculate the throughput for the total time period. (vi) Suppose we had a single CPU, would the overall performance be worst, same, or better? Explain for each case (ii through v) above

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!