All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vincent Fu <vincentfu@gmail.com>
To: "fio@vger.kernel.org" <fio@vger.kernel.org>
Subject: Re: JSON versus terse : latency_us : "2"
Date: Mon, 15 Oct 2018 15:09:23 -0400	[thread overview]
Message-ID: <18e69925-71ad-c735-e65a-80dcb1728af1@gmail.com> (raw)
In-Reply-To: <CA+zhgFRC+POb+WouXuMRmVq9+RU9iA7aeoPowZGpHskijdmWmg@mail.gmail.com>

On 10/11/2018 01:51 PM, smitha sunder wrote:
>>>From the JSON output :
>        "latency_us" : {
>          "2" : 11.500203, <----
>          "4" : 40.336987,
>          "10" : 2.821762,
>          "20" : 0.121803,
>          "50" : 0.020300,
>          "100" : 0.000000,
>          "250" : 0.000000,
>          "500" : 0.000000,
>          "750" : 0.000000,
>          "1000" : 0.000000
>        },
> 
> Terse output :
> lat_2us 56.70% <---
> lat_4us 40.34%
> lat_10us 2.82%
> lat_20us 0.12%
> lat_50us 0.02%
> lat_100us 0.00%
> lat_250us 0.00%
> lat_500us 0.00%
> lat_750us 0.00%
> lat_1000us 0.00% 

This is because the terse output has no nanosecond latency values. So 
the terse lat_2us bucket includes everything below 2us.

The JSON latency_us 2 bucket includes only the percentage from 1-2us. 
There should also be a "latency_ns" JSON object with the percentage 
distribution for latencies under 1us. If you add up all those along with 
the latency_us 2 value of 11.5, you should get 56.7%.


  reply	other threads:[~2018-10-16  2:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-11 17:51 JSON versus terse : latency_us : "2" smitha sunder
2018-10-15 19:09 ` Vincent Fu [this message]
2018-10-15 20:35   ` smitha sunder
2018-10-16  0:31     ` Vincent Fu

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=18e69925-71ad-c735-e65a-80dcb1728af1@gmail.com \
    --to=vincentfu@gmail.com \
    --cc=fio@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.