Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following two queue system Queue 0 CPU Queue 1 CPU scheduler used at Queue 0 is Shortest job first-Preemptive CPU scheduler used

Consider the following two queue system Queue 0 Queue 1 CPU CPU scheduler used at Queue 0 is Shortest job  


student submitted image, transcription available below  

Consider the following two queue system Queue 0 CPU Queue 1 CPU scheduler used at Queue 0 is Shortest job first-Preemptive CPU scheduler used at Queue 1 is Shortest job first-Non-Preemptive CPU is scheduled between Queue 0 and Queue 1 according to round robin scheduler. That is CPU is given to Queue 0 for 8 ms then switched to Queue 1 for 8 ms then switched back to Queue 0 for 8 ms then switched back to Queue 1 for 8 ms and so on until all processes completed CPU information for processes are defined as follows: Queue 0 PO P1 33339 P2 P3 Arrival time 6 18 20 24 CPU time 7 1 7 1 Queue 1 P4 P5 P6 P7 Arrival time 0 8 24 30 CPU time: 8 6 4 1 Calculate the average waiting time for all eight processes. Show all detailed scheduling events and your calculation. (20 points)

Step by Step Solution

3.45 Rating (158 Votes )

There are 3 Steps involved in it

Step: 1

To calculate the average waiting time for all eight processes we need to simulate the scheduling eve... 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

Industrial Relations in Canada

Authors: Fiona McQuarrie

4th Edition

978-1-118-8783, 1118878396, 9781119050599 , 978-1118878392

More Books

Students also viewed these Operating System questions