Disk utilization statistics in terse format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux