The following changes since commit 37946bed31b688fe55e2003b6d59ff0c964165bb: engines/rdma: remove dead code (2023-05-10 09:16:55 -0600) are available in the Git repository at: git://git.kernel.dk/fio.git master for you to fetch changes up to f6f80750f75810bdaf56dd9362982055de1d7232: docs: expand description for interval-based bw and iops statistics (2023-05-10 20:28:49 -0400) ---------------------------------------------------------------- Vincent Fu (2): t/run-fio-test: fix comment docs: expand description for interval-based bw and iops statistics HOWTO.rst | 22 +++++++++++++++------- fio.1 | 19 ++++++++++++------- t/run-fio-tests.py | 2 +- 3 files changed, 28 insertions(+), 15 deletions(-) --- Diff of recent changes: diff --git a/HOWTO.rst b/HOWTO.rst index 0a6e60c7..80c08f7e 100644 --- a/HOWTO.rst +++ b/HOWTO.rst @@ -4417,15 +4417,23 @@ writes in the example above). In the order listed, they denote: It is the sum of submission and completion latency. **bw** - Bandwidth statistics based on samples. Same names as the xlat stats, - but also includes the number of samples taken (**samples**) and an - approximate percentage of total aggregate bandwidth this thread - received in its group (**per**). This last value is only really - useful if the threads in this group are on the same disk, since they - are then competing for disk access. + Bandwidth statistics based on measurements from discrete + intervals. Fio continuously monitors bytes transferred and I/O + operations completed. By default fio calculates bandwidth in + each half-second interval (see :option:`bwavgtime`) and reports + descriptive statistics for the measurements here. Same names as + the xlat stats, but also includes the number of samples taken + (**samples**) and an approximate percentage of total aggregate + bandwidth this thread received in its group (**per**). This + last value is only really useful if the threads in this group + are on the same disk, since they are then competing for disk + access. **iops** - IOPS statistics based on samples. Same names as bw. + IOPS statistics based on measurements from discrete intervals. + For details see the description for bw above. See + :option:`iopsavgtime` to control the duration of the intervals. + Same values reported here as for bw except for percentage. **lat (nsec/usec/msec)** The distribution of I/O completion latencies. This is the time from when diff --git a/fio.1 b/fio.1 index 4207814b..e577e2e0 100644 --- a/fio.1 +++ b/fio.1 @@ -4073,15 +4073,20 @@ Total latency. Same names as slat and clat, this denotes the time from when fio created the I/O unit to completion of the I/O operation. .TP .B bw -Bandwidth statistics based on samples. Same names as the xlat stats, -but also includes the number of samples taken (\fIsamples\fR) and an -approximate percentage of total aggregate bandwidth this thread -received in its group (\fIper\fR). This last value is only really -useful if the threads in this group are on the same disk, since they -are then competing for disk access. +Bandwidth statistics based on measurements from discrete intervals. Fio +continuosly monitors bytes transferred and I/O operations completed. By default +fio calculates bandwidth in each half-second interval (see \fBbwavgtime\fR) +and reports descriptive statistics for the measurements here. Same names as the +xlat stats, but also includes the number of samples taken (\fIsamples\fR) and an +approximate percentage of total aggregate bandwidth this thread received in its +group (\fIper\fR). This last value is only really useful if the threads in this +group are on the same disk, since they are then competing for disk access. .TP .B iops -IOPS statistics based on samples. Same names as \fBbw\fR. +IOPS statistics based on measurements from discrete intervals. +For details see the description for \fBbw\fR above. See +\fBiopsavgtime\fR to control the duration of the intervals. +Same values reported here as for \fBbw\fR except for percentage. .TP .B lat (nsec/usec/msec) The distribution of I/O completion latencies. This is the time from when diff --git a/t/run-fio-tests.py b/t/run-fio-tests.py index 4fe6fe46..71e3e5a6 100755 --- a/t/run-fio-tests.py +++ b/t/run-fio-tests.py @@ -822,7 +822,7 @@ class FioJobTest_t0027(FioJobTest): self.passed = False class FioJobTest_iops_rate(FioJobTest): - """Test consists of fio test job t0009 + """Test consists of fio test job t0011 Confirm that job0 iops == 1000 and that job1_iops / job0_iops ~ 8 With two runs of fio-3.16 I observed a ratio of 8.3"""