10,714 views
0 votes
0 votes
What happens to average Turn Around Time if time quantum increased?

2 Answers

Best answer
2 votes
2 votes

Turn around time (TAT) = Completion Time - Arrival Time

Round Robin = Process Burst Time / Time Quantum = Number of times a process is scheduled.

Which means, more the Time Quantum, lesser number of times the process would be scheduled

and less the Time Quantum, more number of times the process would be scheduled.

More the number of times the process is scheduled, more will be its Completion Time.

Keeping Arrival Time constant, more the Completion Time, more will be the Turn Around Time (TAT)

So, if a time Quantum is increased, 

  • Number of times a process is scheduled will increase
  • So, it Completion Time will increase
  • Thus its Turn Around Time would increase

** Please note: Keeping Arrival Time constant

selected by
3 votes
3 votes
Rewriting my comment as answer:

If we increase the time quantum alloted to each process, the number of times the process will be scheduled will either remain same or it will decrease, it will NEVER increase. However, the turn around time may increase of decrease given the scheduling pattern.

Its easy to see where this will decrease. Case where it will increase:
===============================
Initially time quanta 2

P1 needs 7 time quanta to finish and P2 and P3 needs 10. All arrives at 0

P1(2) P2(2) P3(2), P1(2) P2(2) P3(2), P1(2) P2(2) P3(2), P1(1), P2(2), P3(2), P2(2) P3(2)

TAT for P1= 19, P2 = 25, P3 = 27

Avg TAT = 23.6667
--------------------------------------------------
Increase the time quanta to 3

P1(3) P2(3) P3(3), P1(3) P2(3) P3(3), P1(1) P2(3) P3(3), P2(1), P3(1)

TAT for P1: 19, P2 = 26, P3 = 27

Avg TAT = 24

===================

Related questions

8 votes
8 votes
6 answers
3