Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Databases A Tour

Authors: Shashi Shekhar, Sanjay Chawla

1st Edition

0130174807, 978-0130174802

More Books

Students also viewed these Databases questions

Question

differentiate the function ( x + 1 ) / ( x ^ 3 + x - 6 )

Answered: 1 week ago