All of lore.kernel.org
 help / color / mirror / Atom feed
* latency percentiles labels in fio minimal output
@ 2018-06-06 18:40 Gruher, Joseph R
  2018-06-06 19:56 ` Sitsofe Wheeler
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Gruher, Joseph R @ 2018-06-06 18:40 UTC (permalink / raw)
  To: fio

Hi folks-

When using FIO minimal output such as this output example (from FIO v3.6):

3;fio-3.6;1m-sr-01-01-32;0;0;150288384;2503763;2444;60025;0;17189;114.724224;942.095768;0;33799;12973.415812;9008.249487;1.000000%=0;5.000000%=0;10.000000%=173;20.000000%=3358;30.000000%=6586;40.000000%=9764;50.000000%=12648;60.000000%=16187;70.000000%=19267;80.000000%=22675;90.000000%=25821;95.000000%=27394;99.000000%=28704;99.500000%=28966;99.900000%=29229;99.950000%=29491;99.990000%=32112;0%=0;0%=0;0%=0;0;33799;13088.507365;9021.958807;671744;1828428;49.297242%;1234286.100000;498063.813528;0;0;0;0;0;0;0.000000;0.000000;0;0;0.000000;0.000000;1.000000%=0;5.000000%=0;10.000000%=0;20.000000%=0;30.000000%=0;40.000000%=0;50.000000%=0;60.000000%=0;70.000000%=0;80.000000%=0;90.000000%=0;95.000000%=0;99.000000%=0;99.500000%=0;99.900000%=0;99.950000%=0;99.990000%=0;0%=0;0%=0;0%=0;0;0;0.000000;0.000000;0;0;0.000000%;0.000000;0.000000;2.967146%;23.249034%;175862;0;8208;0.1%;0.1%;0.1%;0.1%;0.1%;199.9%;0.0%;9.45%;0.01%;0.02%;0.03%;0.10%;0.16%;0.49%;0.77%;0.78%;0.79%;3.11%;6.25%;18.77%;31.26%;28.03%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%

What's the point of having the latency percentiles labeled in the output data, such as:

99.000000%=28704;99.500000%=28966;99.900000%=29229;99.950000%=29491;99.990000%=32112

The fields in the comma separated output are already defined so I'm not sure why we need the part in front of and including the '=' sign.  I suppose it is more human readable, but that isn't the point of the minimal mode... right?  For example, for IOPS in this example, we just print '2444', we don't print 'IOPS=2444' in the minimal output.

The reason this is problematic is when doing something like pasting the minimal output into a spreadsheet and then charting the output data I now don't have numerical values for the latency percentiles, I have these text strings instead.  Instead of:

99.000000%=28704;99.500000%=28966;99.900000%=29229;99.950000%=29491;99.990000%=32112

It seems it would be much more useful if it just printed like this:

28704,28966,29229,29491,32112

Does that make sense?  Is there a reason for the way it is currently done, am I missing something?  Would it make sense to change it?

Thanks!

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

* Re: latency percentiles labels in fio minimal output
  2018-06-06 18:40 latency percentiles labels in fio minimal output Gruher, Joseph R
@ 2018-06-06 19:56 ` Sitsofe Wheeler
  2018-06-08  2:24 ` Jens Axboe
  2018-06-14  3:36 ` Matthew Eaton
  2 siblings, 0 replies; 5+ messages in thread
From: Sitsofe Wheeler @ 2018-06-06 19:56 UTC (permalink / raw)
  To: Gruher, Joseph R; +Cc: fio

Hi Joseph,

On 6 June 2018 at 19:40, Gruher, Joseph R <joseph.r.gruher@intel.com> wrote:
> Hi folks-
>
> When using FIO minimal output such as this output example (from FIO v3.6):
>
> 3;fio-3.6;1m-sr-01-01-32;0;0;150288384;2503763;2444;60025;0;17189;114.724224;942.095768;0;33799;12973.415812;9008.249487;1.000000%=0;5.000000%=0;10.000000%=173;20.000000%=3358;30.000000%=6586;40.000000%=9764;50.000000%=12648;60.000000%=16187;70.000000%=19267;80.000000%=22675;90.000000%=25821;95.000000%=27394;99.000000%=28704;99.500000%=28966;99.900000%=29229;99.950000%=29491;99.990000%=32112;0%=0;0%=0;0%=0;0;33799;13088.507365;9021.958807;671744;1828428;49.297242%;1234286.100000;498063.813528;0;0;0;0;0;0;0.000000;0.000000;0;0;0.000000;0.000000;1.000000%=0;5.000000%=0;10.000000%=0;20.000000%=0;30.000000%=0;40.000000%=0;50.000000%=0;60.000000%=0;70.000000%=0;80.000000%=0;90.000000%=0;95.000000%=0;99.000000%=0;99.500000%=0;99.900000%=0;99.950000%=0;99.990000%=0;0%=0;0%=0;0%=0;0;0;0.000000;0.000000;0;0;0.000000%;0.000000;0.000000;2.967146%;23.249034%;175862;0;8208;0.1%;0.1%;0.1%;0.1%;0.1%;199.9%;0.0%;9.45%;0.01%;0.02%;0.03%;0.10%;0.16%;0.49%;0.77%;0.78%;0.79%;3.11%;6.25%;18.77%;31.26%;28.03%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%
>
> What's the point of having the latency percentiles labeled in the output data, such as:
>
> 99.000000%=28704;99.500000%=28966;99.900000%=29229;99.950000%=29491;99.990000%=32112

If memory serves those boundaries are actually user definable (see
http://fio.readthedocs.io/en/latest/fio_doc.html#cmdoption-arg-percentile-list
) so I would guess they appear in the header to ensure you know what
they were set to...

-- 
Sitsofe | http://sucs.org/~sits/

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

* Re: latency percentiles labels in fio minimal output
  2018-06-06 18:40 latency percentiles labels in fio minimal output Gruher, Joseph R
  2018-06-06 19:56 ` Sitsofe Wheeler
@ 2018-06-08  2:24 ` Jens Axboe
  2018-06-14  3:36 ` Matthew Eaton
  2 siblings, 0 replies; 5+ messages in thread
From: Jens Axboe @ 2018-06-08  2:24 UTC (permalink / raw)
  To: Gruher, Joseph R, fio

On 6/6/18 12:40 PM, Gruher, Joseph R wrote:
> Hi folks-
> 
> When using FIO minimal output such as this output example (from FIO v3.6):
> 
> 3;fio-3.6;1m-sr-01-01-32;0;0;150288384;2503763;2444;60025;0;17189;114.724224;942.095768;0;33799;12973.415812;9008.249487;1.000000%=0;5.000000%=0;10.000000%=173;20.000000%=3358;30.000000%=6586;40.000000%=9764;50.000000%=12648;60.000000%=16187;70.000000%=19267;80.000000%=22675;90.000000%=25821;95.000000%=27394;99.000000%=28704;99.500000%=28966;99.900000%=29229;99.950000%=29491;99.990000%=32112;0%=0;0%=0;0%=0;0;33799;13088.507365;9021.958807;671744;1828428;49.297242%;1234286.100000;498063.813528;0;0;0;0;0;0;0.000000;0.000000;0;0;0.000000;0.000000;1.000000%=0;5.000000%=0;10.000000%=0;20.000000%=0;30.000000%=0;40.000000%=0;50.000000%=0;60.000000%=0;70.000000%=0;80.000000%=0;90.000000%=0;95.000000%=0;99.000000%=0;99.500000%=0;99.900000%=0;99.950000%=0;99.990000%=0;0%=0;0%=0;0%=0;0;0;0.000000;0.000000;0;0;0.000000%;0.000000;0.000000;2.967146%;23.249034%;175862;0;8208;0.1%;0.1%;0.1%;0.1%;0.1%;199.9%;0.0%;9.45%;0.01%;0.02%;0.03%;0.10%;0.16%;0.49%;0.77%;0.78%;0.79%;3.11%;6.25%;18.77%;31.26%;28.03%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%
> 
> What's the point of having the latency percentiles labeled in the output data, such as:
> 
> 99.000000%=28704;99.500000%=28966;99.900000%=29229;99.950000%=29491;99.990000%=32112
> 
> The fields in the comma separated output are already defined so I'm not sure why we need the part in front of and including the '=' sign.  I suppose it is more human readable, but that isn't the point of the minimal mode... right?  For example, for IOPS in this example, we just print '2444', we don't print 'IOPS=2444' in the minimal output.
> 
> The reason this is problematic is when doing something like pasting the minimal output into a spreadsheet and then charting the output data I now don't have numerical values for the latency percentiles, I have these text strings instead.  Instead of:
> 
> 99.000000%=28704;99.500000%=28966;99.900000%=29229;99.950000%=29491;99.990000%=32112
> 
> It seems it would be much more useful if it just printed like this:
> 
> 28704,28966,29229,29491,32112
> 
> Does that make sense?  Is there a reason for the way it is currently done, am I missing something?  Would it make sense to change it?

tldr; don't use the terse output if you care about reading it... json is way
better for both parsing AND is humanly readable.

As Sitsofe also says, the percentiles are configurable, which is why the
buckets are in the output.

-- 
Jens Axboe


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

* Re: latency percentiles labels in fio minimal output
  2018-06-06 18:40 latency percentiles labels in fio minimal output Gruher, Joseph R
  2018-06-06 19:56 ` Sitsofe Wheeler
  2018-06-08  2:24 ` Jens Axboe
@ 2018-06-14  3:36 ` Matthew Eaton
  2018-06-14 15:26   ` Gruher, Joseph R
  2 siblings, 1 reply; 5+ messages in thread
From: Matthew Eaton @ 2018-06-14  3:36 UTC (permalink / raw)
  To: joseph.r.gruher; +Cc: fio

> The reason this is problematic is when doing something like pasting the minimal output into a spreadsheet and then charting the output data I now don't have numerical values for the latency percentiles, I have these text strings instead.  Instead of:
>
> 99.000000%=28704;99.500000%=28966;99.900000%=29229;99.950000%=29491;99.990000%=32112
>
> It seems it would be much more useful if it just printed like this:
>
> 28704,28966,29229,29491,32112

If you must use terse output there is a messy solution:
sed -i 's/;/,/g;s/=/,/g' output.csv

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

* RE: latency percentiles labels in fio minimal output
  2018-06-14  3:36 ` Matthew Eaton
@ 2018-06-14 15:26   ` Gruher, Joseph R
  0 siblings, 0 replies; 5+ messages in thread
From: Gruher, Joseph R @ 2018-06-14 15:26 UTC (permalink / raw)
  To: Matthew Eaton; +Cc: fio

> > The reason this is problematic is when doing something like pasting the
> minimal output into a spreadsheet and then charting the output data I now
> don't have numerical values for the latency percentiles, I have these text
> strings instead.  Instead of:
> >
> >
> 99.000000%=28704;99.500000%=28966;99.900000%=29229;99.950000%=2
> 9491;99
> > .990000%=32112
> >
> > It seems it would be much more useful if it just printed like this:
> >
> > 28704,28966,29229,29491,32112
> 
> If you must use terse output there is a messy solution:
> sed -i 's/;/,/g;s/=/,/g' output.csv

This is essentially what I ended up doing.  On import into Excel you can have it use multiple separators, so I have it break the columns on both ';' and '='.  Works fine.  Thanks!

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

end of thread, other threads:[~2018-06-14 15:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-06 18:40 latency percentiles labels in fio minimal output Gruher, Joseph R
2018-06-06 19:56 ` Sitsofe Wheeler
2018-06-08  2:24 ` Jens Axboe
2018-06-14  3:36 ` Matthew Eaton
2018-06-14 15:26   ` Gruher, Joseph R

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.