Professional Documents
Culture Documents
Task Performance Os Pre Final
Task Performance Os Pre Final
Task Performance Os Pre Final
Process Scheduling
BSIT 305
Process E F G H I J K
Arrival time 0 2 3 5 11 17 24
Bust time 4 9 3 7 5 6 12
Finish time 4 13 16 23 28 34 46
Turnaround 4 11 13 18 17 17 22
Time
Waiting 0 2 10 11 12 11 10
time
Grant Chart
E F G H I J K
0 4 13 16 23 28 34 46
Waiting time = 8
Finish time 4 34 14 19 25 7 46
Turnaround 4 32 9 8 8 4 22
Time
Waiting 0 23 2 3 2 1 10
time
Grant time
E G H I J F K
0 4 7 14 19 25 34 46
Turnaround time = 12.42
Finish time 10 25 9 31 30 37 46
Turnaround 10 23 6 26 19 20 22
Time
Waiting 6 14 3 19 14 14 10
Time
Grant Chart
G E F I H J K
0 9 10 25 30 31 37 46
Turnaround time = 18
a. Among the three (3) process scheduling algorithms that you have performed, which do
you think is the most efficient and why?
Because it processes jobs more quickly than the SJF algorithm and because its overhead costs
are not taken into account, Shortest Remaining Time First is effective.
b. Cite significant differences in the results of applying the First-Come First-Serve algorithm and
Round Robin algorithm. Elaborate on your answer.
As a non-preemptive scheduling mechanism, First Come First Served (FCFS) assigns the activity to
the CPU in accordance with the order of the fulfillment of the requests. Round Robin (RR), on the
other hand, is a preemptive scheduling method in contrast to FCFS.
c. What could possibly happen if the value of the Quantum in Round Robin is increased to
5? Elaborate on your answer.
Both the typical turnaround time and the typical waiting time will be cut down. This is because the
both structure gain of the scheduler is affected by the quantum size. Greater quantum sizes increase
the (temporary) unfairness between connections. Since more computations must be done before a
packet may be transported, smaller quantum sizes increase fairness but also increase the link
scheduler's computing requirements.
d. In your opinion, why does the average turnaround time and waiting time vary per algorithm?
Each scheduling algorithm has a certain objective and set of performance requirements, and
based on them, it may or may not be an efficient method for both with a range of typical
turnaround and waiting times that happening in the process.
E. Would you suggest the utilization of the Round Robin algorithm for process scheduling in a file
management system? Why or why not?
Naturally, the answer is yes, as it is straightforward, simple to implement, and CPU starvation-free as
each process receives an equal share of the CPU. It is also one of the fundamental CPU scheduling
strategies that is most frequently used.