Clarify documentation for runtime parameter
authorHorshack <horshack@live.com>
Fri, 10 Feb 2023 19:00:11 +0000 (14:00 -0500)
committerHorshack <horshack@live.com>
Tue, 28 Feb 2023 16:04:13 +0000 (11:04 -0500)
I realize this is highly subjective but I think the description of the
runtime parameter could be made a bit more precise. I misinterpreted its
meaning after reading the doc and only learned of my mistake by trial and
error using fio.  Either I'm just slow or the description could use
just a little more precision :)

Signed-off-by: Adam Horshack (horshack@live.com)
HOWTO.rst
fio.1

index 17caaf5d38f2972d5abe997b0ddb2e3a3649740f..0ccf03e267e4cdc4610a18f7a591c863a4f34d68 100644 (file)
--- a/HOWTO.rst
+++ b/HOWTO.rst
@@ -686,10 +686,12 @@ Time related parameters
 
 .. option:: runtime=time
 
-       Tell fio to terminate processing after the specified period of time.  It
-       can be quite hard to determine for how long a specified job will run, so
-       this parameter is handy to cap the total runtime to a given time.  When
-       the unit is omitted, the value is interpreted in seconds.
+       Limit runtime. The test will run until it completes the configured I/O
+       workload or until it has run for this specified amount of time, whichever
+       occurs first. It can be quite hard to determine for how long a specified
+       job will run, so this parameter is handy to cap the total runtime to a
+       given time.  When the unit is omitted, the value is interpreted in
+       seconds.
 
 .. option:: time_based
 
diff --git a/fio.1 b/fio.1
index 527b3d4605d261b75bd868280e59bd21f81cf0a1..614ad9024a3fbe656ea402ef93038fcd6a50cda2 100644 (file)
--- a/fio.1
+++ b/fio.1
@@ -471,10 +471,12 @@ See \fB\-\-max\-jobs\fR. Default: 1.
 .SS "Time related parameters"
 .TP
 .BI runtime \fR=\fPtime
-Tell fio to terminate processing after the specified period of time. It
-can be quite hard to determine for how long a specified job will run, so
-this parameter is handy to cap the total runtime to a given time. When
-the unit is omitted, the value is interpreted in seconds.
+Limit runtime. The test will run until it completes the configured I/O
+workload or until it has run for this specified amount of time, whichever
+occurs first. It can be quite hard to determine for how long a specified
+job will run, so this parameter is handy to cap the total runtime to a
+given time.  When the unit is omitted, the value is interpreted in
+seconds.
 .TP
 .BI time_based
 If set, fio will run for the duration of the \fBruntime\fR specified