Question
Please help graph each of these Scheduling Algorithms with a line graph and Pie chart. Context Switch = 5 Round Robin 10: Total Time Units:
Please help graph each of these Scheduling Algorithms with a line graph and Pie chart.
Context Switch = 5
Round Robin 10:
Total Time Units: 989940
CPU utilization: 0.806891
Total Idle Time: 191166
Average Turn Around Time: 403.263
Average Wait Time: 351.485
------------------------------------------------
Round Robin 50:
Total Time Units: 989905
CPU utilization: 0.599289
Total Idle Time: 396666
Average Turn Around Time: 134.934
Average Wait Time: 83.1564
----------------------------------------------------
Round Robin 100:
Total Time Units: 989900
CPU utilization: 0.573572
Total Idle Time: 422121
Average Turn Around Time: 103.698
Average Wait Time: 51.92
--------------------------------------------------
Sjf:
Total Time Units: 989900
CPU utilization: 0.573572
Total Idle Time: 422121
Average Turn Around Time: 94.6849
Average Wait Time: 42.907
----------------------------------------------------
FCFS:
Total Time Units: 989900
CPU utilization: 0.573572
Total Idle Time: 422121
Average Turn Around Time: 103.977
Average Wait Time: 52.1989
-----------------------------------------------------------
Context Switch = 1
Round Robin 10:
Total Time Units: 989904
CPU utilization: 0.579832
Total Idle Time: 415926
Average Turn Around Time: 135.985
Average Wait Time: 84.2073
-----------------------------------------------------------
Round Robin 50:
Total Time Units: 989897
CPU utilization: 0.53831
Total Idle Time: 457026
Average Turn Around Time: 107.361
Average Wait Time: 55.5835
------------------------------------------------------
Round Robin 100:
Total Time Units: 989896
CPU utilization: 0.533166
Total Idle Time: 462117
Average Turn Around Time: 90.4894
Average Wait Time: 38.7115
---------------------------------------------------
Sjf:
Total Time Units: 989896
CPU utilization: 0.533166
Total Idle Time: 462117
Average Turn Around Time: 83.5674
Average Wait Time: 31.7895
---------------------------------------------------------
FCFS:
Total Time Units: 989896
CPU utilization: 0.533166
Total Idle Time: 462117
Average Turn Around Time: 90.8476
Average Wait Time: 39.0697
----------------------------------------------------------------
Context Switch = 10
Round Robin 10:
Total Time Units: 1.08119e+06
CPU utilization: 0.998686
Total Idle Time: 1421
Average Turn Around Time: 60104.7
Average Wait Time: 60053
--------------------------------------------------------------
Round Robin 50:
Total Time Units: 989915
CPU utilization: 0.675512
Total Idle Time: 321216
Average Turn Around Time: 183.326
Average Wait Time: 131.548
-------------------------------------------------------------
Round Robin 100:
Total Time Units: 989905
CPU utilization: 0.624079
Total Idle Time: 372126
Average Turn Around Time: 123.189
Average Wait Time: 71.4115
-------------------------------------------------------------
Sjf:
Total Time Units: 989905
CPU utilization: 0.624079
Total Idle Time: 372126
Average Turn Around Time: 111.019
Average Wait Time: 59.2407
----------------------------------------------------------------
FCFS:
Total Time Units: 989905
CPU utilization: 0.624079
Total Idle Time: 372126
Average Turn Around Time: 123.635
Average Wait Time: 71.8572
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started