Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 2. A Multilevel feedback queues are shown in the diagram below. The scheduler a) Show the status of each queue along the time line

image text in transcribed

Question 2. A Multilevel feedback queues are shown in the diagram below. The scheduler a) Show the status of each queue along the time line during the running of the system. You first executes all processes in Qo. Only when Qo is empty will it execute processes in Qi, only need to show the status of the system when either 1) a new process arrives, or 2) a and only when Qo and Qi are empty will it execute processes in Q2. A process arriving for process is preempted, or 3) a process terminates. The status includes time stamp, the name Qo will preempt a process in Qi or Q2, and a process arriving for Qi will preempt a process of the process and its remaining time in each queue. For example, at time 0, process A is in in Q; a process preempted in this case is put back to the head of the same queue; when this Qo and it has 25 time units toward finishing. Qi and Q are empty. You are asked to com process is scheduled to run next time twl execute for the remaining of its allocated time plete the table with time moment and status of each queue. Moreover, B(x) A(y) shows A quantum. A new process entering the system is put in Qo and is given a time quantum of 8 is at the lead of the queue with x remaining time and B is at the tail of the queue with milliseconds. If it does not finish within this time, i is preempted and moved to the tail of remaining time ofy. You can add new rows to the table if you think the table is not enough Qi. If Qo is empty, the process at the head of Qi is scheduled to run with a time quantum of to accommodate al the events. 16 milliseconds. If it does not finish within this time, it is preempted and moved to the tail of Q2. Processes in Q are run on an FCFS basis. B(28)A(20 quer!turn = 8 Q, quartum = 16 FCFS Given the following arrival time and CPU burst of processes A, B, C, D, and E as shown in table below End of document Task Arnival Time Senvice Tune A 0 25 28 19 D 25 36

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

Spomenik Monument Database

Authors: Donald Niebyl, FUEL, Damon Murray, Stephen Sorrell

1st Edition

0995745536, 978-0995745537

More Books

Students also viewed these Databases questions