CoDel AQM discussions
 help / color / mirror / Atom feed
* Re: [Codel] Latency vs Delay
       [not found] <mailman.1.1426359602.27522.codel@lists.bufferbloat.net>
@ 2015-03-15  2:05 ` David Collier-Brown
  2015-03-16  0:42   ` David Collier-Brown
  0 siblings, 1 reply; 4+ messages in thread
From: David Collier-Brown @ 2015-03-15  2:05 UTC (permalink / raw)
  To: codel

On 03/14/2015 03:00 PM, divya singla asked
> Hi Members,
> is there anybody who can explain me difference between latency and delay?
In queuing, latency is the time between the send and the first byte of 
the reply, and (total) response time is the time between the send and 
the last byte of the reply. The time between first and last byte is the 
transfer time. Both are stated as if they were being observed by a 
client, either nearby or remote.

Delay, on the other hand, is the time the job spends sitting in a queue 
waiting to start work. Service time is the time it takes to do the work. 
Both are specifically at the server, or "queuing center"

If you draw a diagram, they overlap inconveniently (;-))

--dave



-- 
David Collier-Brown,         | Always do right. This will gratify
System Programmer and Author | some people and astonish the rest
davecb@spamcop.net           |                      -- Mark Twain


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Codel] Latency vs Delay
  2015-03-15  2:05 ` [Codel] Latency vs Delay David Collier-Brown
@ 2015-03-16  0:42   ` David Collier-Brown
  0 siblings, 0 replies; 4+ messages in thread
From: David Collier-Brown @ 2015-03-16  0:42 UTC (permalink / raw)
  To: codel

On 03/14/2015 10:05 PM, David Collier-Brown wrote:
> On 03/14/2015 03:00 PM, divya singla asked
>> Hi Members,
>> is there anybody who can explain me difference between latency and
>> delay?
> In queuing, latency is the time between the send and the first byte of
> the reply, and (total) response time is the time between the send and
> the last byte of the reply. The time between first and last byte is
> the transfer time. Both are stated as if they were being observed by a
> client, either nearby or remote.
>
> Delay, on the other hand, is the time the job spends sitting in a
> queue waiting to start work. Service time is the time it takes to do
> the work. Both are specifically at the server, or "queuing center"
>
> If you draw a diagram, they overlap inconveniently (;-))
>
> --dave
>
>
>

For example, in

\
  |- queue delay
  |- service time
/|- more service time
  |
/

The latency is the time from \ to the first /, and it contains the 
network time, the queuing delay and all the service time required to get 
to the first byte of the reply.

The transfer time is from the \ to the last /, and includes and 
additional service time to get to the last byte of the reply

--dave


-- 
David Collier-Brown,         | Always do right. This will gratify
System Programmer and Author | some people and astonish the rest
davecb@spamcop.net           |                      -- Mark Twain



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Codel] Latency vs Delay
  2015-03-14 14:53 divya singla
@ 2015-03-14 14:57 ` Jonathan Morton
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Morton @ 2015-03-14 14:57 UTC (permalink / raw)
  To: divya singla; +Cc: codel

[-- Attachment #1: Type: text/plain, Size: 303 bytes --]

They mean the same thing, for most practical purposes. However, you could
(when writing your own papers) usefully define latency as the total RTT,
and delay as only the avoidable components of that. The speed of light,
etc, mean that some latency is unavoidable in any communication.

- Jonathan Morton

[-- Attachment #2: Type: text/html, Size: 345 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Codel] Latency vs Delay
@ 2015-03-14 14:53 divya singla
  2015-03-14 14:57 ` Jonathan Morton
  0 siblings, 1 reply; 4+ messages in thread
From: divya singla @ 2015-03-14 14:53 UTC (permalink / raw)
  To: codel

[-- Attachment #1: Type: text/plain, Size: 87 bytes --]

Hi Members,

is there anybody who can explain me difference between latency and delay?

[-- Attachment #2: Type: text/html, Size: 132 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-16  0:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1.1426359602.27522.codel@lists.bufferbloat.net>
2015-03-15  2:05 ` [Codel] Latency vs Delay David Collier-Brown
2015-03-16  0:42   ` David Collier-Brown
2015-03-14 14:53 divya singla
2015-03-14 14:57 ` Jonathan Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox