All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: "Baur, Eric" <Eric.Baur@gs.com>
Cc: Daniel Buggie <danielabuggie@gmail.com>, fio@vger.kernel.org
Subject: Re: terse output for IO latencies
Date: Tue, 9 Dec 2008 09:03:03 +0100	[thread overview]
Message-ID: <20081209080303.GR23742@kernel.dk> (raw)
In-Reply-To: <4DCBAA39733E8048992FB7737126041910FFD9BE@gsmbnbp23es.firmwide.corp.gs.com>


Anyone care to send a proposed fix for this? Even a pseudo patch of
HOWTO addition would be appreciated, then I can take care of the rest.


On Wed, Dec 03 2008, Baur, Eric wrote:
> In my haste, I overlooked the character preceding "sec" when reading the
> source. Nonetheless, it seems preferable to maintain consistency in
> reporting of latency stats in <=us rather than jumping to <=ms after
> 1000us.
> 
> Thanks for clarifying.
> 
> -Eric
> 
> -----Original Message-----
> From: Daniel Buggie [mailto:danielabuggie@gmail.com] 
> Sent: Tuesday, December 02, 2008 6:37 PM
> To: Baur, Eric
> Cc: fio@vger.kernel.org
> Subject: Re: terse output for IO latencies
> 
> On Mon, Dec 1, 2008 at 11:45 AM, Baur, Eric <Eric.Baur@gs.com> wrote:
> > In the HOWTO for fio, the terse output for IO latencies is described
> as:
> >
> > "IO latencies: <=2, 4, 10, 20, 50, 100, 250, 500, 750, 1000, >=2000"
> >
> > Output from certain test runs have been observed to have more than 11
> > values for IO latencies, For example:
> >
> > 0.01%, 0.00%, 0.01%, 0.01%, 0.06%, 0.73%, 35.42%, 7.19%, 3.03%, 0.52%,
> > 2.79%, 13.67%, 32.84%, 2.86%, 0.84%, 0.02%, 0.01%, 0.00%, 0.00%,
> 0.00%,
> > 0.00%, 0.00%
> >
> > What are the proper labels for this output?
> >
> > Thanks,
> > Eric
> > --
> > To unsubscribe from this list: send the line "unsubscribe fio" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
> 
> I had a similar question last week (not sure if the message got eaten
> by the server or by the holiday here in the states).  From what my
> very rusty C skills and the source tell me, it appears the terse
> output gives the same values as the regular output.  The only
> difference being that the terse output cannot skip the brackets that
> have no hits.  So I believe the values can be derived from this block
> of code from the source:
> 
> static void show_lat_u(double *io_u_lat_u)
> {
>         const char *ranges[] = { "2=", "4=", "10=", "20=", "50=",
> "100=",
>                                  "250=", "500=", "750=", "1000=", };
> 
>         show_lat(io_u_lat_u, FIO_IO_U_LAT_U_NR, ranges, "usec");
> }
> 
> static void show_lat_m(double *io_u_lat_m)
> {
>         const char *ranges[] = { "2=", "4=", "10=", "20=", "50=",
> "100=",
>                                  "250=", "500=", "750=", "1000=",
> "2000=",
>                                  ">=2000=", };
> 
> In which case, the documentation should probably be updated to reflect
> that. Can anyone familiar with the code confirm this?
> 
> Daniel
> --
> To unsubscribe from this list: send the line "unsubscribe fio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Jens Axboe


      reply	other threads:[~2008-12-09  8:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-01 18:45 terse output for IO latencies Baur, Eric
2008-12-02 23:37 ` Daniel Buggie
2008-12-03  5:04   ` Baur, Eric
2008-12-09  8: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=20081209080303.GR23742@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=Eric.Baur@gs.com \
    --cc=danielabuggie@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.