More cpu engine fixes
[fio.git] / fio.1
1 .TH fio 1 "September 2007" "User Manual"
2 .SH NAME
3 fio \- flexible I/O tester
4 .SH SYNOPSIS
5 .B fio
6 [\fIoptions\fR] [\fIjobfile\fR]...
7 .SH DESCRIPTION
8 .B fio
9 is a tool that will spawn a number of threads or processes doing a
10 particular type of I/O action as specified by the user.
11 The typical use of fio is to write a job file matching the I/O load
12 one wants to simulate.
13 .SH OPTIONS
14 .TP
15 .BI \-\-output \fR=\fPfilename
16 Write output to \fIfilename\fR.
17 .TP
18 .BI \-\-timeout \fR=\fPtimeout
19 Limit run time to \fItimeout\fR seconds.
20 .TP
21 .B \-\-latency\-log
22 Generate per-job latency logs.
23 .TP
24 .B \-\-bandwidth\-log
25 Generate per-job bandwidth logs.
26 .TP
27 .B \-\-minimal
28 Print statistics in a terse, semicolon-delimited format.
29 .TP
30 .BI \-\-showcmd \fR=\fPjobfile
31 Convert \fIjobfile\fR to a set of command-line options.
32 .TP
33 .B \-\-readonly
34 Enable read-only safety checks.
35 .TP
36 .BI \-\-eta \fR=\fPwhen
37 Specifies when real-time ETA estimate should be printed.  \fIwhen\fR may
38 be one of `always', `never' or `auto'.
39 .TP
40 .BI \-\-cmdhelp \fR=\fPcommand
41 Print help information for \fIcommand\fR.  May be `all' for all commands.
42 .TP
43 .B \-\-help
44 Display usage information and exit.
45 .TP
46 .B \-\-version
47 Display version information and exit.
48 .SH "JOB FILE FORMAT"
49 Job files are in `ini' format. They consist of one or more
50 job definitions, which begin with a job name in square brackets and
51 extend to the next job name.  The job name can be any ASCII string
52 except `global', which has a special meaning.  Following the job name is
53 a sequence of zero or more parameters, one per line, that define the
54 behavior of the job.  Any line starting with a `;' or `#' character is
55 considered a comment and ignored.
56 job files.
57 .SS "Global Section"
58 The global section contains default parameters for jobs specified in the
59 job file.  A job is only affected by global sections residing above it,
60 and there may be any number of global sections.  Specific job definitions
61 may override any parameter set in global sections.
62 .SH "JOB PARAMETERS"
63 .SS Types
64 Some parameters may take arguments of a specific type.  The types used are:
65 .TP
66 .I str
67 String: a sequence of alphanumeric characters.
68 .TP
69 .I int
70 Integer: a whole number, possibly negative.  If prefixed with `0x', the value
71 is assumed to be base 16 (hexadecimal).
72 .TP
73 .I siint
74 SI integer: a whole number, possibly containing a suffix denoting the base unit
75 of the value.  Accepted suffixes are `k', 'M' and 'G', denoting kilo (1024),
76 mega (1024*1024) and giga (1024*1024*1024) respectively.
77 .TP
78 .I bool
79 Boolean: a true or false value. `0' denotes false, `1' denotes true.
80 .TP
81 .I irange
82 Integer range: a range of integers specified in the format
83 \fIlower\fR:\fIupper\fR or \fIlower\fR\-\fIupper\fR. \fIlower\fR and
84 \fIupper\fR may contain a suffix as described above.  If an option allows two
85 sets of ranges, they are separated with a `,' or `/' character. For example:
86 `8\-8k/8M\-4G'.
87 .SS "Parameter List"
88 .TP
89 .BI name \fR=\fPstr
90 May be used to override the job name.  On the command line, this paramter
91 has the special purpose of signalling the start of a new job.
92 .TP
93 .BI description \fR=\fPstr
94 Human-readable description of the job. It is printed when the job is run, but
95 otherwise has no special purpose.
96 .TP
97 .BI directory \fR=\fPstr
98 Prefix filenames with this directory.  Used to place files in a location other
99 than `./'.
100 .TP
101 .BI filename \fR=\fPstr
102 .B fio
103 normally makes up a file name based on the job name, thread number, and file
104 number. If you want to share files between threads in a job or several jobs,
105 specify a \fIfilename\fR for each of them to override the default. If the I/O
106 engine used is `net', \fIfilename\fR is the host and port to connect to in the
107 format \fIhost\fR/\fIport\fR. If the I/O engine is file-based, you can specify
108 a number of files by separating the names with a `:' character. `\-' is a
109 reserved name, meaning stdin or stdout, depending on the read/write direction
110 set.
111 .TP
112 .BI opendir \fR=\fPstr
113 Recursively open any files below directory \fIstr\fR.
114 .TP
115 .BI readwrite \fR=\fPstr "\fR,\fP rw" \fR=\fPstr
116 Type of I/O pattern.  Accepted values are:
117 .RS
118 .RS
119 .TP
120 .B read
121 Sequential reads.
122 .TP
123 .B write
124 Sequential writes.
125 .TP
126 .B randread
127 Random reads.
128 .TP
129 .B randwrite
130 Random writes.
131 .TP
132 .B rw
133 Mixed sequential reads and writes.
134 .TP
135 .B randrw 
136 Mixed random reads and writes.
137 .RE
138 .P
139 For mixed I/O, the default split is 50/50.  For random I/O, the number of I/Os
140 to perform before getting a new offset can be specified by appending
141 `:\fIint\fR' to the pattern type.  The default is 1.
142 .RE
143 .TP
144 .BI randrepeat \fR=\fPbool
145 Seed the random number generator in a predictable way so results are repeatable
146 across runs.  Default: true.
147 .TP
148 .BI fadvise_hint \fR=\fPbool
149 Disable use of \fIposix_fadvise\fR\|(2) to advise the kernel what I/O patterns
150 are likely to be issued. Default: true.
151 .TP
152 .BI size \fR=\fPsiint
153 Total size of I/O for this job.  \fBfio\fR will run until this many bytes have
154 been transfered, unless limited by other options (\fBruntime\fR, for instance).
155 Unless \fBnr_files\fR and \fBfilesize\fR options are given, this amount will be
156 divided between the available files for the job.
157 .TP
158 .BI filesize \fR=\fPirange
159 Individual file sizes. May be a range, in which case \fBfio\fR will select sizes
160 for files at random within the given range, limited to \fBsize\fR in total (if
161 that is given). If \fBfilesize\fR is not specified, each created file is the
162 same size.
163 .TP
164 .BI blocksize \fR=\fPsiint "\fR,\fB bs" \fR=\fPsiint
165 Block size for I/O units.  Default: 4k.  Values for reads and writes can be
166 specified seperately in the format \fIread\fR,\fIwrite\fR, either of
167 which may be empty to leave that value at its default.
168 .TP
169 .BI blocksize_range \fR=\fPirange "\fR,\fB bsrange" \fR=\fPirange
170 Specify a range of I/O block sizes.  The issued I/O unit will always be a
171 multiple of the minimum size, unless \fBblocksize_unaligned\fR is set.  Applies
172 to both reads and writes, but can be specified seperately (see \fBblocksize\fR).
173 .TP
174 .B blocksize_unaligned\fR,\fP bs_unaligned
175 If set, any size in \fBblocksize_range\fR may be used.  This typically won't
176 work with direct I/O, as that normally requires sector alignment.
177 .TP
178 .B zero_buffers
179 Initialise buffers with all zeros. Default: fill buffers with random data.
180 .TP
181 .BI nrfiles \fR=\fPint
182 Number of files to use for this job.  Default: 1.
183 .TP
184 .BI openfiles \fR=\fPint
185 Number of files to keep open at the same time.  Default: \fBnrfiles\fR.
186 .TP
187 .BI file_service_type \fR=\fPstr
188 Defines how files to service are selected.  The following types are defined:
189 .RS
190 .RS
191 .TP
192 .B random
193 Choose a file at random
194 .TP
195 .B roundrobin
196 Round robin over open files (default).
197 .RE
198 .P
199 The number of I/Os to issue before switching a new file can be specified by
200 appending `:\fIint\fR' to the service type.
201 .RE
202 .TP
203 .BI ioengine \fR=\fPstr
204 Defines how the job issues I/O.  The following types are defined:
205 .RS
206 .RS
207 .TP
208 .B sync
209 Basic \fIread\fR\|(2) or \fIwrite\fR\|(2) I/O.  \fIfseek\fR\|(2) is used to
210 position the I/O location.
211 .TP
212 .B psync
213 Basic \fIpread\fR\|(2) or \fIpwrite\fR\|(2) I/O.
214 .TP
215 .B libaio
216 Linux native asynchronous I/O.
217 .TP
218 .B posixaio
219 glibc POSIX asynchronous I/O using \fIaio_read\fR\|(3) and \fIaio_write\fR\|(3).
220 .TP
221 .B mmap
222 File is memory mapped with \fImmap\fR\|(2) and data copied using
223 \fImemcpy\fR\|(3).
224 .TP
225 .B splice
226 \fIsplice\fR\|(2) is used to transfer the data and \fIvmsplice\fR\|(2) to
227 transfer data from user-space to the kernel.
228 .TP
229 .B syslet-rw
230 Use the syslet system calls to make regular read/write asynchronous.
231 .TP
232 .B sg
233 SCSI generic sg v3 I/O. May be either synchronous using the SG_IO ioctl, or if
234 the target is an sg character device, we use \fIread\fR\|(2) and
235 \fIwrite\fR\|(2) for asynchronous I/O.
236 .TP
237 .B null
238 Doesn't transfer any data, just pretends to.  Mainly used to exercise \fBfio\fR
239 itself and for debugging and testing purposes.
240 .TP
241 .B net
242 Transfer over the network.  \fBfilename\fR must be set appropriately to
243 `\fIhost\fR/\fIport\fR' regardless of data direction.  If receiving, only the
244 \fIport\fR argument is used.
245 .TP
246 .B netsplice
247 Like \fBnet\fR, but uses \fIsplice\fR\|(2) and \fIvmsplice\fR\|(2) to map data
248 and send/receive.
249 .TP
250 .B cpuio
251 Doesn't transfer any data, but burns CPU cycles according to \fBcpuload\fR and
252 \fBcpucycles\fR parameters.
253 .TP
254 .B guasi
255 The GUASI I/O engine is the Generic Userspace Asynchronous Syscall Interface
256 approach to asycnronous I/O.
257 .br
258 See <http://www.xmailserver.org/guasi\-lib.html>.
259 .TP
260 .B external
261 Loads an external I/O engine object file.  Append the engine filename as
262 `:\fIenginepath\fR'.
263 .RE
264 .RE
265 .TP
266 .BI iodepth \fR=\fPint
267 Number of I/O units to keep in flight against the file.  Default: 1.
268 .TP
269 .BI iodepth_batch \fR=\fPint
270 Number of I/Os to submit at once.  Default: \fBiodepth\fR.
271 .TP
272 .BI iodepth_low \fR=\fPint
273 Low watermark indicating when to start filling the queue again.  Default:
274 \fBiodepth\fR. 
275 .TP
276 .BI direct \fR=\fPbool
277 If true, use non-buffered I/O (usually O_DIRECT).  Default: false.
278 .TP
279 .BI buffered \fR=\fPbool
280 If true, use buffered I/O.  This is the opposite of the \fBdirect\fR parameter.
281 Default: true.
282 .TP
283 .BI offset \fR=\fPsiint
284 Offset in the file to start I/O. Data before the offset will not be touched.
285 .TP
286 .BI fsync \fR=\fPint
287 How many I/Os to perform before issuing an \fBfsync\fR\|(2) of dirty data.  If
288 0, don't sync.  Default: 0.
289 .TP
290 .BI overwrite \fR=\fPbool
291 If writing, setup the file first and do overwrites.  Default: false.
292 .TP
293 .BI end_fsync \fR=\fPbool
294 Sync file contents when job exits.  Default: false.
295 .TP
296 .BI fsync_on_close \fR=\fPbool
297 If true, sync file contents on close.  This differs from \fBend_fsync\fR in that
298 it will happen on every close, not just at the end of the job.  Default: false.
299 .TP
300 .BI rwmixcycle \fR=\fPint
301 How many milliseconds before switching between reads and writes for a mixed
302 workload. Default: 500ms.
303 .TP
304 .BI rwmixread \fR=\fPint
305 Percentage of a mixed workload that should be reads. Default: 50.
306 .TP
307 .BI rwmixwrite \fR=\fPint
308 Percentage of a mixed workload that should be writes.  If \fBrwmixread\fR and
309 \fBwrmixwrite\fR are given and do not sum to 100%, the latter of the two
310 overrides the first.  Default: 50.
311 .TP
312 .B norandommap
313 Normally \fBfio\fR will cover every block of the file when doing random I/O. If
314 this parameter is given, a new offset will be chosen without looking at past
315 I/O history.  This parameter is mutually exclusive with \fBverify\fR.
316 .TP
317 .BI nice \fR=\fPint
318 Run job with given nice value.  See \fInice\fR\|(2).
319 .TP
320 .BI prio \fR=\fPint
321 Set I/O priority value of this job between 0 (highest) and 7 (lowest).  See
322 \fIionice\fR\|(1).
323 .TP
324 .BI prioclass \fR=\fPint
325 Set I/O priority class.  See \fIionice\fR\|(1).
326 .TP
327 .BI thinktime \fR=\fPint
328 Stall job for given number of microseconds between issuing I/Os.
329 .TP
330 .BI thinktime_spin \fR=\fPint
331 Pretend to spend CPU time for given number of microseconds, sleeping the rest
332 of the time specified by \fBthinktime\fR.  Only valid if \fBthinktime\fR is set.
333 .TP
334 .BI thinktime_blocks \fR=\fPint
335 Number of blocks to issue before waiting \fBthinktime\fR microseconds.
336 Default: 1.
337 .TP
338 .BI rate \fR=\fPint
339 Cap bandwidth used by this job to this number of KiB/s.
340 .TP
341 .BI ratemin \fR=\fPint
342 Tell \fBfio\fR to do whatever it can to maintain at least the given bandwidth.
343 Failing to meet this requirement will cause the job to exit.
344 .TP
345 .BI rate_iops \fR=\fPint
346 Cap the bandwidth to this number of IOPS.  If \fBblocksize\fR is a range, the
347 smallest block size is used as the metric.
348 .TP
349 .BI rate_iops_min \fR=\fPint
350 If this rate of I/O is not met, the job will exit.
351 .TP
352 .BI ratecycle \fR=\fPint
353 Average bandwidth for \fBrate\fR and \fBratemin\fR over this number of
354 milliseconds.  Default: 1000ms.
355 .TP
356 .BI cpumask \fR=\fPint
357 Set CPU affinity for this job. \fIint\fR is a bitmask of allowed CPUs the job
358 may run on.  See \fBsched_setaffinity\fR\|(2).
359 .TP
360 .BI cpus_allowed \fR=\fPstr
361 Same as \fBcpumask\fR, but allows a comma-delimited list of CPU numbers.
362 .TP
363 .BI startdelay \fR=\fPint
364 Delay start of job for the specified number of seconds.
365 .TP
366 .BI runtime \fR=\fPint
367 Terminate processing after the specified number of seconds.
368 .TP
369 .B time_based
370 If given, run for the specified \fBruntime\fR duration even if the files are
371 completely read or written. The same workload will be repeated as many times
372 as \fBruntime\fR allows.
373 .TP
374 .BI invalidate \fR=\fPbool
375 Invalidate buffer-cache for the file prior to starting I/O.  Default: true.
376 .TP
377 .BI sync \fR=\fPbool
378 Use synchronous I/O for buffered writes.  For the majority of I/O engines,
379 this means using O_SYNC.  Default: false.
380 .TP
381 .BI iomem \fR=\fPstr "\fR,\fP mem" \fR=\fPstr
382 Allocation method for I/O unit buffer.  Allowed values are:
383 .RS
384 .RS
385 .TP
386 .B malloc
387 Allocate memory with \fImalloc\fR\|(3).
388 .TP
389 .B shm
390 Use shared memory buffers allocated through \fIshmget\fR\|(2).
391 .TP
392 .B shmhuge
393 Same as \fBshm\fR, but use huge pages as backing.
394 .TP
395 .B mmap
396 Use \fImmap\fR\|(2) for allocation.  Uses anonymous memory unless a filename
397 is given after the option in the format `:\fIfile\fR'.
398 .TP
399 .B mmaphuge
400 Same as \fBmmap\fR, but use huge files as backing.
401 .RE
402 .P
403 The amount of memory allocated is the maximum allowed \fBblocksize\fR for the
404 job multiplied by \fBiodepth\fR.  For \fBshmhuge\fR or \fBmmaphuge\fR to work,
405 the system must have free huge pages allocated.  \fBmmaphuge\fR also needs to
406 have hugetlbfs mounted, and \fIfile\fR must point there.
407 .RE
408 .TP
409 .BI hugepage\-size \fR=\fPsiint
410 Defines the size of a huge page.  Must be at least equal to the system setting.
411 Should be a multiple of 1MiB. Default: 4MiB.
412 .TP
413 .B exitall
414 Terminate all jobs when one finishes.  Default: wait for each job to finish.
415 .TP
416 .BI bwavgtime \fR=\fPint
417 Average bandwidth calculations over the given time in milliseconds.  Default:
418 500ms.
419 .TP
420 .BI create_serialize \fR=\fPbool
421 If true, serialize file creation for the jobs.  Default: true.
422 .TP
423 .BI create_fsync \fR=\fPbool
424 \fIfsync\fR\|(2) data file after creation.  Default: true.
425 .TP
426 .BI unlink \fR=\fPbool
427 Unlink job files when done.  Default: false.
428 .TP
429 .BI loops \fR=\fPint
430 Specifies the number of iterations (runs of the same workload) of this job.
431 Default: 1.
432 .TP
433 .BI do_verify \fR=\fPbool
434 Run the verify phase after a write phase.  Only valid if \fBverify\fR is set.
435 Default: true.
436 .TP
437 .BI verify \fR=\fPstr
438 Method of verifying file contents after each iteration of the job.  Allowed
439 values are:
440 .RS
441 .RS
442 .TP
443 .B md5 crc16 crc32 crc64 crc7 sha256 sha512
444 Store appropriate checksum in the header of each block.
445 .TP
446 .B meta
447 Write extra information about each I/O (timestamp, block number, etc.). The
448 block number is verified.
449 .TP
450 .B pattern
451 Fill I/O buffers with a specific pattern that is used to verify.  The pattern is
452 specified by appending `:\fIint\fR' to the parameter. \fIint\fR cannot be larger
453 than 32-bits. 
454 .TP
455 .B null
456 Pretend to verify.  Used for testing internals.
457 .RE
458 .RE
459 .TP
460 .BI verify_sort \fR=\fPbool
461 If true, written verify blocks are sorted if \fBfio\fR deems it to be faster to
462 read them back in a sorted manner.  Default: true.
463 .TP
464 .BI verify_offset \fR=\fPsiint
465 Swap the verification header with data somewhere else in the block before
466 writing.  It is swapped back before verifying.
467 .TP
468 .BI verify_interval \fR=\fPsiint
469 Write the verification header for this number of bytes, which should divide
470 \fBblocksize\fR.  Default: \fBblocksize\fR.
471 .TP
472 .BI verify_fatal \fR=\fPbool
473 If true, exit the job on the first observed verification failure.  Default:
474 false.
475 .TP
476 .B stonewall
477 Wait for preceeding jobs in the job file to exit before starting this one.
478 \fBstonewall\fR implies \fBnew_group\fR.
479 .TP
480 .B new_group
481 Start a new reporting group.  If not given, all jobs in a file will be part
482 of the same reporting group, unless separated by a stonewall.
483 .TP
484 .BI numjobs \fR=\fPint
485 Number of clones (processes/threads performing the same workload) of this job.  
486 Default: 1.
487 .TP
488 .B group_reporting
489 If set, display per-group reports instead of per-job when \fBnumjobs\fR is
490 specified.
491 .TP
492 .B thread
493 Use threads created with \fBpthread_create\fR\|(3) instead of processes created
494 with \fBfork\fR\|(2).
495 .TP
496 .BI zonesize \fR=\fPsiint
497 Divide file into zones of the specified size in bytes.  See \fBzoneskip\fR.
498 .TP
499 .BI zoneskip \fR=\fPsiint
500 Skip the specified number of bytes when \fBzonesize\fR bytes of data have been
501 read.
502 .TP
503 .BI write_iolog \fR=\fPstr
504 Write the issued I/O patterns to the specified file.
505 .TP
506 .BI read_iolog \fR=\fPstr
507 Replay the I/O patterns contained in the specified file generated by
508 \fBwrite_iolog\fR, or may be a \fBblktrace\fR binary file.
509 .TP
510 .B write_bw_log
511 If given, write bandwidth logs of the jobs in this file.
512 .TP
513 .B write_lat_log
514 Same as \fBwrite_bw_log\fR, but writes I/O completion latencies.
515 .TP
516 .BI lockmem \fR=\fPsiint
517 Pin the specified amount of memory with \fBmlock\fR\|(2).  Can be used to
518 simulate a smaller amount of memory.
519 .TP
520 .BI exec_prerun \fR=\fPstr
521 Before running the job, execute the specified command with \fBsystem\fR\|(3).
522 .TP
523 .BI exec_postrun \fR=\fPstr
524 Same as \fBexec_prerun\fR, but the command is executed after the job completes.
525 .TP
526 .BI ioscheduler \fR=\fPstr
527 Attempt to switch the device hosting the file to the specified I/O scheduler.
528 .TP
529 .BI cpuload \fR=\fPint
530 If the job is a CPU cycle-eater, attempt to use the specified percentage of
531 CPU cycles.
532 .TP
533 .BI cpuchunks \fR=\fPint
534 If the job is a CPU cycle-eater, split the load into cycles of the
535 given time in milliseconds.
536 .TP
537 .BI disk_util \fR=\fPbool
538 Generate disk utilization statistics if the platform supports it. Default: true.
539 .SH OUTPUT
540 While running, \fBfio\fR will display the status of the created jobs.  For
541 example:
542 .RS
543 .P
544 Threads: 1: [_r] [24.8% done] [ 13509/  8334 kb/s] [eta 00h:01m:31s]
545 .RE
546 .P
547 The characters in the first set of brackets denote the current status of each
548 threads.  The possible values are:
549 .P
550 .PD 0
551 .RS
552 .TP
553 .B P
554 Setup but not started.
555 .TP
556 .B C
557 Thread created.
558 .TP
559 .B I
560 Initialized, waiting.
561 .TP
562 .B R
563 Running, doing sequential reads.
564 .TP
565 .B r
566 Running, doing random reads.
567 .TP
568 .B W
569 Running, doing sequential writes.
570 .TP
571 .B w
572 Running, doing random writes.
573 .TP
574 .B M
575 Running, doing mixed sequential reads/writes.
576 .TP
577 .B m
578 Running, doing mixed random reads/writes.
579 .TP
580 .B F
581 Running, currently waiting for \fBfsync\fR\|(2).
582 .TP
583 .B V
584 Running, verifying written data.
585 .TP
586 .B E
587 Exited, not reaped by main thread.
588 .TP
589 .B \-
590 Exited, thread reaped.
591 .RE
592 .PD
593 .P
594 The second set of brackets shows the estimated completion percentage of
595 the current group.  The third set shows the read and write I/O rate,
596 respectively. Finally, the estimated run time of the job is displayed.
597 .P
598 When \fBfio\fR completes (or is interrupted by Ctrl-C), it will show data
599 for each thread, each group of threads, and each disk, in that order.
600 .P
601 Per-thread statistics first show the threads client number, group-id, and
602 error code.  The remaining figures are as follows:
603 .RS
604 .TP
605 .B io
606 Number of megabytes of I/O performed.
607 .TP
608 .B bw
609 Average data rate (bandwidth).
610 .TP
611 .B runt
612 Threads run time.
613 .TP
614 .B slat
615 Submission latency minimum, maximum, average and standard deviation. This is
616 the time it took to submit the I/O.
617 .TP
618 .B clat
619 Completion latency minimum, maximum, average and standard deviation.  This
620 is the time between submission and completion.
621 .TP
622 .B bw
623 Bandwidth minimum, maximum, percentage of aggregate bandwidth received, average
624 and standard deviation.
625 .TP
626 .B cpu
627 CPU usage statistics. Includes user and system time, number of context switches
628 this thread went through and number of major and minor page faults.
629 .TP
630 .B IO depths
631 Distribution of I/O depths.  Each depth includes everything less than (or equal)
632 to it, but greater than the previous depth.
633 .TP
634 .B IO issued
635 Number of read/write requests issued, and number of short read/write requests.
636 .TP
637 .B IO latencies
638 Distribution of I/O completion latencies.  The numbers follow the same pattern
639 as \fBIO depths\fR.
640 .RE
641 .P
642 The group statistics show:
643 .PD 0
644 .RS
645 .TP
646 .B io
647 Number of megabytes I/O performed.
648 .TP
649 .B aggrb
650 Aggregate bandwidth of threads in the group.
651 .TP
652 .B minb
653 Minimum average bandwidth a thread saw.
654 .TP
655 .B maxb
656 Maximum average bandwidth a thread saw.
657 .TP
658 .B mint
659 Shortest runtime of threads in the group.
660 .TP
661 .B maxt
662 Longest runtime of threads in the group.
663 .RE
664 .PD
665 .P
666 Finally, disk statistics are printed with reads first:
667 .PD 0
668 .RS
669 .TP
670 .B ios
671 Number of I/Os performed by all groups.
672 .TP
673 .B merge
674 Number of merges in the I/O scheduler.
675 .TP
676 .B ticks
677 Number of ticks we kept the disk busy.
678 .TP
679 .B io_queue
680 Total time spent in the disk queue.
681 .TP
682 .B util
683 Disk utilization.
684 .RE
685 .PD
686 .SH TERSE OUTPUT
687 If the \fB\-\-minimal\fR option is given, the results will be printed in a
688 semicolon-delimited format suitable for scripted use.  The fields are:
689 .P
690 .RS
691 .B jobname, groupid, error
692 .P
693 Read status:
694 .RS
695 .B KiB I/O, bandwidth \fR(KiB/s)\fP, runtime \fR(ms)\fP
696 .P
697 Submission latency:
698 .RS
699 .B min, max, mean, standard deviation
700 .RE
701 Completion latency:
702 .RS
703 .B min, max, mean, standard deviation
704 .RE
705 Bandwidth:
706 .RS
707 .B min, max, aggregate percentage of total, mean, standard deviation
708 .RE
709 .RE
710 .P
711 Write status:
712 .RS
713 .B KiB I/O, bandwidth \fR(KiB/s)\fP, runtime \fR(ms)\fP
714 .P
715 Submission latency:
716 .RS
717 .B min, max, mean, standard deviation
718 .RE
719 Completion latency:
720 .RS
721 .B min, max, mean, standard deviation
722 .RE
723 Bandwidth:
724 .RS
725 .B min, max, aggregate percentage of total, mean, standard deviation
726 .RE
727 .RE
728 .P
729 CPU usage:
730 .RS
731 .B user, system, context switches
732 .RE
733 .P
734 IO depth distribution:
735 .RS
736 .B <=1, 2, 4, 8, 16, 32, >=64
737 .RE
738 .P
739 IO latency distribution (ms):
740 .RS
741 .B <=2, 4, 10, 20, 50, 100, 250, 500, 750, 1000, >=2000
742 .RE
743 .P
744 .B text description
745 .RE
746 .SH AUTHORS
747 .B fio
748 was written by Jens Axboe <jens.axboe@oracle.com>.
749 .br
750 This man page was written by Aaron Carroll <aaronc@cse.unsw.edu.au> based
751 on documentation by Jens Axboe.
752 .SH "REPORTING BUGS"
753 Report bugs to the \fBfio\fR mailing list <fio-devel@kernel.dk>.
754 See \fBREADME\fR.
755 .SH "SEE ALSO"
756 For further documentation see \fBHOWTO\fR and \fBREADME\fR.
757 .br
758 Sample jobfiles are available in the \fBexamples\fR directory.
759