Question: Exercise. Shown in the figure are the cpu and io bursts during the lifetime of three processes: P1, P2 and P3. The processes are run

 Exercise. Shown in the figure are the cpu and io bursts

Exercise. Shown in the figure are the cpu and io bursts during the lifetime of three processes: P1, P2 and P3. The processes are run in a batch system (ii) a multi-programmed system and (iii) a time- shared system with RR scheduling and time slice of 4ms. Assume the processes have arrived in the order P1, P2 and P3 at time equal to Oms. (a) Draw the Gantt chart and compute the CPU utilization in each of the three systems. (b) Compute the waiting time for the processes. (c) Compute the turnaround time for the processes. (d) Assume a command was typed in during the execution of process P1 in its first i/o burst (i.e. at 6ms) and the command takes Ims to execute. What is the response time when the process is run in each of the three systems? Process 1 cpu i/o opu VO cpu VO 0 2 6 7 11 12 15 16 Process 2 cpu i/o cpu 0 9 13 15 Process 3 cpu Vo cpu 0 3 9 10

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!