Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(2) (16 points) Given the arrival time and CPU-burst of 5 processes shown in the following diagram 41 Process Arrival Time (ms) Brst Ti 0

image text in transcribed

(2) (16 points) Given the arrival time and CPU-burst of 5 processes shown in the following diagram 41 Process Arrival Time (ms) Brst Ti 0 18 2 10 21 30 P2 P3 P4 P5 P6 25 10 42 35 12 Suppose the OS uses a 3-level feedback queue to schedule the above 6 processes. Round-Robin scheduling strategy is used for the queue with the highest priority and the queue with the second highest priority, but the time quantum used in these two queues is different. SJF scheduling strategy is used for the queue with the lowest priority. The scheduling is non-preemptive. Quantum 4 Quantum 8 Shortest-Job-First a) (10 points) Construct a Gantt chart depicting the schedule for the set of processes specified in the above diagram using this 3-level feedback queue. b) (6 points) Calculate the average waiting time for the schedule constructed in a)

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_2

Step: 3

blur-text-image_3

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

Big Data Concepts, Theories, And Applications

Authors: Shui Yu, Song Guo

1st Edition

3319277634, 9783319277639

More Books

Students also viewed these Databases questions