CoDel AQM discussions
 help / color / mirror / Atom feed
From: David Collier-Brown <davec-b@rogers.com>
To: "codel@lists.bufferbloat.net" <codel@lists.bufferbloat.net>
Subject: Re: [Codel] Latency vs Delay
Date: Sun, 15 Mar 2015 20:42:52 -0400	[thread overview]
Message-ID: <5506270C.2000005@rogers.com> (raw)
In-Reply-To: <5504E8F8.3050203@rogers.com>

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



  reply	other threads:[~2015-03-16  0:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2015-03-14 14:53 divya singla
2015-03-14 14:57 ` Jonathan Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/codel.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5506270C.2000005@rogers.com \
    --to=davec-b@rogers.com \
    --cc=codel@lists.bufferbloat.net \
    --cc=davecb@spamcop.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox