Question: A system adopts a round-robin scheduling approach, where every process gets 6ms of execution time. Assume the dispatcher takes 2ms for a process switch. In

A system adopts a round-robin scheduling approach, where every process gets 6ms of execution time. Assume the dispatcher takes 2ms for a process switch. In a recorded timespan, the system has four processes P1, P2, P3 and P4, none of which perform any I/O. They are shown in the following table:

1) Draw a timing diagram that includes all processes including the dispatcher. You may assume that the rst process that runs has already been dispatched. Indicate the status of each process at every change.

2) Find the turnaround time for each process.


Table:

Processor IDArival time in msTotal CPU time in ms:
P1620
P2016
P3128
P41810

Step by Step Solution

3.30 Rating (144 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

o Solution Technique Round Robin Time slice 6MS Delay for Dispatch 2ms process id d Arr... View full answer

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 General Management Questions!