Question: Please provide the pseudo code for Multilevel Feed Back Queue Scheduling(MLFQS) algorithm in C. I'm not expected the whole program to be written, just wanted

Please provide the pseudo code for Multilevel Feed Back Queue Scheduling(MLFQS) algorithm in C. I'm not expected the whole program to be written, just wanted to how you would structure this algorithm.

Here is a few things: There will be 3 queue, the ghighest priority queue will have a quantum of 10, 2nd queue will be 30, and 3rd queue will be 100. There should be a promotion and a demotion counter.

Input will be a text file with this format: Time PID runtime I/O repeat; the tricky part is that a process could have different i/o and run time even if it shares the same PID.

example:

time PID runtime I/O repeat 4000 120 40 15 3 4000 120 17 9 2 7000 150 40 1 1

all three queues will use Round Robin to schedule A and B

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!