Download the BYJU'S Exam Prep App for free GATE/ESE preparation videos & tests - Download the BYJU'S Exam Prep App for free GATE/ESE preparation videos & tests -

Difference Between Turn Around Time (TAT) and Waiting Time (WT) in CPU Scheduling

Turn Around Time Vs. Waiting Time: Know the Difference Between Turn Around Time (TAT) and Waiting Time (WT) in CPU Scheduling

One needs to find the Waiting and Average Turn Around Time very often in the case of CPU scheduling. We do so by making use of the Completion, Arrival, and Burst Time. In this article, we will discuss the difference between Turn Around Time (TAT) and Waiting Time (WT) in CPU Scheduling. But let us first understand a bit more about these concepts.

What is Turn Around Time (TAT)?

  • TAT refers to the total time interval present between the time of process submission and the time of its completion.
  • The difference between the time of completion and the time of arrival is known as the Turn Around Time of the process.

CT (Completion Time) – It is the exact time when a process completes the execution part.

AT (Arrival Time) – It is the time of arrival of a process in its ready state (before its execution).

Thus, CT – AT = TAT

What is Waiting Time (WT)?

  • WT refers to the total time that a process spends while waiting in a ready queue before reaching the CPU.
  • The difference between (time) of the turn around and burst time is known as the waiting time of a process.

BT (Burst Time) – It is the total time that a process requires for its overall execution.

Thus, TAT – BT = WT

Now, we can also easily calculate the Turn Around Time using the Burst Time and the Waiting Time.

Here, BT + WT = TAT

Difference Between Turn Around Time (TAT) and Waiting Time (WT) in CPU Scheduling

Here is a list of the differences between Turn Around Time (TAT) and Waiting Time (WT) in CPU Scheduling.

Parameters Turn Around Time (TAT) Waiting Time (WT)
Meaning and Definition TAT refers to the time taken by a process since it enters a ready queue for the process of execution till the completion (of its execution). WT refers to the total time that a process spends while waiting in a ready queue until it gets the CPU (for the I/O completion).
Speed of Output The overall speed of the output device has an effect on the TATA. It gets limited. There is no such effect on WT by the speed of the output.
Effect of CPU Scheduling Algorithms Different sets of CPU algorithms have the capability of producing different TATs for the very same process set. The overall amount of time of process execution and I/O does not experience any alteration due to the CPU scheduling algorithm. It only affects the time that each process spends while waiting in a ready queue.

Keep learning and stay tuned to BYJU’S to get the latest updates on GATE Exam along with GATE Eligibility Criteria, GATE 2024, GATE Admit Card, GATE Application Form, GATE Syllabus, GATE Cutoff, GATE Previous Year Question Paper, and more.

Comments

Leave a Comment

Your Mobile number and Email id will not be published.

*

*