zfs/cmd
Gregor Kopka 5f07d51751 Zpool iostat: remove latency/queue scaling
Bandwidth and iops are average per second while *_wait are averages
per request for latency or, for queue depths, an instantaneous
measurement at the end of an interval (according to man zpool).

When calculating the first two it makes sense to do
x/interval_duration (x being the increase in total bytes or number of
requests over the duration of the interval, interval_duration in
seconds) to 'scale' from amount/interval_duration to amount/second.

But applying the same math for the latter (*_wait latencies/queue) is
wrong as there is no interval_duration component in the values (these
are time/requests to get to average_time/request or already an
absulute number).

This bug leads to the only correct continuous *_wait figures for both
latencies and queue depths from 'zpool iostat -l/q' being with
duration=1 as then the wrong math cancels itself (x/1 is a nop).

This removes temporal scaling from latency and queue depth figures.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Gregor Kopka <gregor@kopka.net>
Closes #7945
Closes #7694
2018-11-08 14:38:28 -08:00
..
arc_summary Handle broken pipes in arc_summary 2018-01-30 10:27:31 -06:00
arcstat Fix arcstat.py handling of unsupported options 2018-07-06 02:46:51 -07:00
dbufstat Fix some typos 2018-03-14 16:10:38 -07:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Add MS_MANDLOCK mount failure message 2017-06-07 10:59:44 -07:00
raidz_test Add missing *_destroy/*_fini calls 2017-05-04 19:26:28 -04:00
vdev_id vdev_id: implement slot numbering by port id 2017-08-21 16:41:22 -07:00
zdb Skip import activity test in more zdb code paths 2018-11-08 14:38:28 -08:00
zed Allow to limit zed's syslog chattiness 2018-05-07 17:19:56 -07:00
zfs Don't modify argv[] in user tools 2018-07-06 02:46:51 -07:00
zgenhostid Add zgenhostid utility script 2017-07-25 13:22:03 -04:00
zhack zhack: fix getopt return type 2018-01-30 10:27:31 -06:00
zinject Inject zinject(8) a percentage amount of dev errs 2017-06-16 17:21:11 -07:00
zpios Fedora 28: Fix misc bounds check compiler warnings 2018-05-07 17:19:57 -07:00
zpool Zpool iostat: remove latency/queue scaling 2018-11-08 14:38:28 -08:00
zstreamdump Some additional send stream validity checking 2017-07-25 18:52:40 -07:00
ztest Fix problems receiving reallocated dnodes 2018-07-06 02:46:51 -07:00
zvol_id Fedora 28: Fix misc bounds check compiler warnings 2018-05-07 17:19:57 -07:00
Makefile.am Add zgenhostid utility script 2017-07-25 13:22:03 -04:00