Flexible I/O Tester development
 help / color / mirror / Atom feed
* Disk utilization statistics in terse format
@ 2014-07-09 14:21 Vasily Tarasov
  2014-07-10  8:48 ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Vasily Tarasov @ 2014-07-09 14:21 UTC (permalink / raw)
  To: fio

Hi All,

When I run fio as a standalone application (without using a
server-client model) and use terse output format, disk utilization is
never printed. Here are the results of my analysis:

1) show_thread_status_terse_v2() does not call show_disk_util() at all.

2) show_thread_status_terse_v3_v4() does call show_disk_util(), but
only if is_backend variable is true (which is not, in case of a
standalone run).

3) __show_run_stats() call show_disk_util() only in case of
FIO_OUTPUT_JSON or FIO_OUTPUT_NORMAL formats.

There are several ways to fix this issue. I think the best way is to
call show_disk_util() from __show_run_stats() in case of terse format.
This will break the current terse format: disk utilization fields will
be printed in the end of the lines (after thread statistics), which is
not how the HOWTO defines it. But, it seems like the v2 format is
already inconsistent with HOWTO. And for v3 format, if client-server
model is used, disk utilization fields will be printed in the end of
the terse line anyway (at least this is my current understanding of
the code). So, what I suggest will bring consistency accross
client-server and standalone runs. We will also need to fix HOWTO.

Let me know what is the best way to fix this, and I'll be happy to send a patch.

Thanks,
Vasily

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

end of thread, other threads:[~2014-07-12  9:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-09 14:21 Disk utilization statistics in terse format Vasily Tarasov
2014-07-10  8:48 ` Jens Axboe
2014-07-11 23:25   ` Vasily Tarasov
2014-07-12  9:01     ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox