Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: Joshua Aune <luken@omner.org>
Cc: Chris Worley <worleys@gmail.com>, fio@vger.kernel.org
Subject: Re: What's the right way to measure latency?
Date: Mon, 27 Apr 2009 08:03:57 +0200	[thread overview]
Message-ID: <20090427060356.GV4593@kernel.dk> (raw)
In-Reply-To: <530FE590-63A6-4EEE-81EF-1BE87EC6A707@omner.org>

On Sun, Apr 26 2009, Joshua Aune wrote:
>
> On Apr 26, 2009, at 7:44 AM, Chris Worley wrote:
>
>> The results show two latency numbers: clat and slat... what are these?
>
> slat is not there for the sync engines but exists for libaio, submit  
> latency.  clat sounds like completion latency.

It's in the HOWTO :-)

Basically slat is the time it too to enter the kernel and submit the IO
(submission latency) and clat is the time it took from submission to the
IO completed (completion latency). With the sync engines you cannot
separate the two, since when the submission syscall completes the IO has
also completed. Hence they have only clat numbers, where the async
engine has the ability to measure both.

-- 
Jens Axboe


      reply	other threads:[~2009-04-27  6:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-26 13:44 What's the right way to measure latency? Chris Worley
2009-04-26 13:49 ` Joshua Aune
2009-04-27  6:03   ` Jens Axboe [this message]

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

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

  git send-email \
    --in-reply-to=20090427060356.GV4593@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=fio@vger.kernel.org \
    --cc=luken@omner.org \
    --cc=worleys@gmail.com \
    /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