HOWTO/fio(1) mention defaults for many of the available options.
This commit adds defaults for the following options.
readwrite=
ioengine=
mem=
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
trimwrite Mixed trims and writes. Blocks will be
trimmed first, then written to.
trimwrite Mixed trims and writes. Blocks will be
trimmed first, then written to.
+ Fio defaults to read if the option is not specified.
For the mixed io types, the default is to split them 50/50.
For certain types of io the result may still be skewed a bit,
since the speed may be different. It is possible to specify
For the mixed io types, the default is to split them 50/50.
For certain types of io the result may still be skewed a bit,
since the speed may be different. It is possible to specify
sync Basic read(2) or write(2) io. lseek(2) is
used to position the io location.
sync Basic read(2) or write(2) io. lseek(2) is
used to position the io location.
- psync Basic pread(2) or pwrite(2) io.
+ psync Basic pread(2) or pwrite(2) io. Default on all
+ supported operating systems except for Windows.
vsync Basic readv(2) or writev(2) IO.
vsync Basic readv(2) or writev(2) IO.
solarisaio Solaris native asynchronous io.
windowsaio Windows native asynchronous io.
solarisaio Solaris native asynchronous io.
windowsaio Windows native asynchronous io.
mmap File is memory mapped and data copied
to/from using memcpy(3).
mmap File is memory mapped and data copied
to/from using memcpy(3).
The allowed values are:
malloc Use memory from malloc(3) as the buffers.
The allowed values are:
malloc Use memory from malloc(3) as the buffers.
shm Use shared memory as the buffers. Allocated
through shmget(2).
shm Use shared memory as the buffers. Allocated
through shmget(2).
blocks will be written to.
.RE
.P
blocks will be written to.
.RE
.P
+Fio defaults to read if the option is not specified.
For mixed I/O, the default split is 50/50. For certain types of io the result
may still be skewed a bit, since the speed may be different. It is possible to
specify a number of IO's to do before getting a new offset, this is done by
For mixed I/O, the default split is 50/50. For certain types of io the result
may still be skewed a bit, since the speed may be different. It is possible to
specify a number of IO's to do before getting a new offset, this is done by
.TP
.B psync
Basic \fBpread\fR\|(2) or \fBpwrite\fR\|(2) I/O.
.TP
.B psync
Basic \fBpread\fR\|(2) or \fBpwrite\fR\|(2) I/O.
+Default on all supported operating systems except for Windows.
.TP
.B vsync
Basic \fBreadv\fR\|(2) or \fBwritev\fR\|(2) I/O. Will emulate queuing by
.TP
.B vsync
Basic \fBreadv\fR\|(2) or \fBwritev\fR\|(2) I/O. Will emulate queuing by
Solaris native asynchronous I/O.
.TP
.B windowsaio
Solaris native asynchronous I/O.
.TP
.B windowsaio
-Windows native asynchronous I/O.
+Windows native asynchronous I/O. Default on Windows.
.TP
.B mmap
File is memory mapped with \fBmmap\fR\|(2) and data copied using
.TP
.B mmap
File is memory mapped with \fBmmap\fR\|(2) and data copied using
-Allocate memory with \fBmalloc\fR\|(3).
+Allocate memory with \fBmalloc\fR\|(3). Default memory type.
.TP
.B shm
Use shared memory buffers allocated through \fBshmget\fR\|(2).
.TP
.B shm
Use shared memory buffers allocated through \fBshmget\fR\|(2).