X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fio.1;h=e3c3feaebc42a4b06e3a5f823ad5d8a04873f924;hb=5711325cbb37d10c21a6975d1f1ebea11799c05e;hp=415a91bb25acaa8a594fb977286c5e4089938050;hpb=a48f0cc700a6fec0cda476dd3bd562348f7ca19a;p=fio.git diff --git a/fio.1 b/fio.1 index 415a91bb..e3c3feae 100644 --- a/fio.1 +++ b/fio.1 @@ -1965,8 +1965,7 @@ with the caveat that when used on the command line, they must come after the .BI (io_uring,libaio)cmdprio_percentage \fR=\fPint[,int] Set the percentage of I/O that will be issued with the highest priority. Default: 0. A single value applies to reads and writes. Comma-separated -values may be specified for reads and writes. This option cannot be used -with the `prio` or `prioclass` options. For this option to be effective, +values may be specified for reads and writes. For this option to be effective, NCQ priority must be supported and enabled, and `direct=1' option must be used. fio must also be run as the root user. .TP @@ -2499,7 +2498,7 @@ problem). Note that this option cannot reliably be used with async IO engines. Stall the job for the specified period of time after an I/O has completed before issuing the next. May be used to simulate processing being done by an application. When the unit is omitted, the value is interpreted in microseconds. See -\fBthinktime_blocks\fR and \fBthinktime_spin\fR. +\fBthinktime_blocks\fR, \fBthinktime_iotime\fR and \fBthinktime_spin\fR. .TP .BI thinktime_spin \fR=\fPtime Only valid if \fBthinktime\fR is set - pretend to spend CPU time doing @@ -2520,6 +2519,17 @@ Only valid if \fBthinktime\fR is set - control how \fBthinktime_blocks\fR trigge The default is `complete', which triggers \fBthinktime\fR when fio completes \fBthinktime_blocks\fR blocks. If this is set to `issue', then the trigger happens at the issue side. +.TP +.BI thinktime_iotime \fR=\fPtime +Only valid if \fBthinktime\fR is set - control \fBthinktime\fR interval by time. +The \fBthinktime\fR stall is repeated after IOs are executed for +\fBthinktime_iotime\fR. For example, `\-\-thinktime_iotime=9s \-\-thinktime=1s' +repeat 10-second cycle with IOs for 9 seconds and stall for 1 second. When the +unit is omitted, \fBthinktime_iotime\fR is interpreted as a number of seconds. +If this option is used together with \fBthinktime_blocks\fR, the \fBthinktime\fR +stall is repeated after \fBthinktime_iotime\fR or after \fBthinktime_blocks\fR +IOs, whichever happens first. + .TP .BI rate \fR=\fPint[,int][,int] Cap the bandwidth used by this job. The number is in bytes/sec, the normal @@ -3266,6 +3276,11 @@ If this is set, the iolog options will include the byte offset for the I/O entry as well as the other data values. Defaults to 0 meaning that offsets are not present in logs. Also see \fBLOG FILE FORMATS\fR section. .TP +.BI log_prio \fR=\fPbool +If this is set, the iolog options will include the I/O priority for the I/O +entry as well as the other data values. Defaults to 0 meaning that +I/O priorities are not present in logs. Also see \fBLOG FILE FORMATS\fR section. +.TP .BI log_compression \fR=\fPint If this is set, fio will compress the I/O logs as it goes, to keep the memory footprint lower. When a log reaches the specified size, that chunk is @@ -4199,8 +4214,14 @@ The entry's `block size' is always in bytes. The `offset' is the position in byt from the start of the file for that particular I/O. The logging of the offset can be toggled with \fBlog_offset\fR. .P -`Command priority` is 0 for normal priority and 1 for high priority. This is controlled -by the ioengine specific \fBcmdprio_percentage\fR. +If \fBlog_prio\fR is not set, the entry's `Command priority` is 1 for an IO executed +with the highest RT priority class (\fBprioclass\fR=1 or \fBcmdprio_class\fR=1) and 0 +otherwise. This is controlled by the \fBprioclass\fR option and the ioengine specific +\fBcmdprio_percentage\fR \fBcmdprio_class\fR options. If \fBlog_prio\fR is set, the +entry's `Command priority` is the priority set for the IO, as a 16-bits hexadecimal +number with the lowest 13 bits indicating the priority value (\fBprio\fR and +\fBcmdprio\fR options) and the highest 3 bits indicating the IO priority class +(\fBprioclass\fR and \fBcmdprio_class\fR options). .P Fio defaults to logging every individual I/O but when windowed logging is set through \fBlog_avg_msec\fR, either the average (by default) or the maximum