Computers and Technology

Implement the following 3 cpu scheduling algorithms • simulate and evaluate each with the set of eight processes below. • use any programming language. the program listing should be submitted with the report. 1. fcfs non-preemptive (partial results provided) 2. sjf non-preemptive 3. mlfq multilevel feedback queue (absolute priority in higher queues) queue 1 uses rr scheduling with tq - 5 queue 2 uses rr scheduling with tq - 10 queue 3 uses fcfs all processes enter first queue 1. if time quantum (tq) expires before cpu burst is complete, the process is downgraded to next lower priority queue. processes are not downgraded when preempted by a higher queue level process. once a process has been downgraded, it will not be upgraded. assumptions: 1. all processes are activated at time 0 2. assume that no process waits on i/o devices. 3. after completing an i/o event, a process is transferred to the ready queue. 4. waiting time is accumulated while a process waits in the ready queue. 5. turnaround time is a total of (waiting time) + (cpu burst time) + (1/0 time) 6. response time is the first measure of waiting time from arrival at time 0 until the first time on the cpu. process data: process goes cpu burst, i/o time, cpu burst, 10 time, cpu burst, 10 last cpu burst p1 {5, 27, 3, 31, 5, 43, 4, 18, 6, 22, 4, 26, 3, 24,4} p2 {4, 48, 5, 44, 7, 42, 12, 37, 9, 76, 4, 41, 9, 31, 7, 43, 8} p3 (8, 33, 12, 41, 18, 65, 14, 21, 4, 61, 15, 18, 14, 26, 5, 31, 6} p4 (3, 35, 4, 41, 5, 45, 3, 51, 4, 61, 5, 54, 6, 82, 5, 77, 3} p5 (16, 24, 17, 21, 5, 36, 16, 26, 7, 31, 13, 28, 11, 21, 6, 13, 3, 11,4} p6 (11, 22, 4, 8, 5, 10, 6, 12, 7, 14, 9, 18, 12, 24, 15, 30, 8} p7 (14, 46, 17, 41, 11, 42, 15, 21, 4, 32, 7, 19, 16, 33, 10} p8 (4, 14, 5, 33, 6, 51, 14, 73, 16, 87, 6}

answer
Answers: 2

Similar questions

Do you know the correct answer?
Implement the following 3 cpu scheduling algorithms • simulate and evaluate each with the set of eig...

Questions in other subjects:

Konu
Mathematics, 20.11.2019 21:31
Konu
Mathematics, 20.11.2019 21:31