Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the difference between waiting time and respond time in cpu scheduling

I've been looking online for a while, trying to find the difference on these two terms but I cannot seem to get a clear answer and I am simply getting confused. If waiting time is amount of time a process has been waiting in the ready queue waiting for cpu (CPU respond?) so what the difference with respond time?

Could someone explain the difference to me. A nice and descriptive article would help.

like image 446
eniac05 Avatar asked Aug 31 '25 01:08

eniac05


2 Answers

Response Time: Duration between job submission and getting the first time to be executed by CPU.

Waiting Time: Amount of time the job is present in the ready queue.

like image 127
Faizan Khan Avatar answered Sep 04 '25 22:09

Faizan Khan


When the process gets the CPU execution for the first time this is called response time and this is also called waiting time. But waiting time again can be increased because we are not sure that a process will be executed properly only at one time. It can be wait again in the ready queue for any kind of interruption or for I/O and then again will get the excess of CPU. Thus waiting time can be increased but response times remain the same.

like image 32
user15128468 Avatar answered Sep 04 '25 22:09

user15128468