X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=fio.1;h=91c307482e1588cec985afb398ffc7f2fa074ee0;hp=b5ff3ccbc4633dd0cf92ad42a59efe660d64e848;hb=323255cc22693c927067a1bd5219c09b3ee4dd10;hpb=1b10477b21157800f030c3ec91511a810e75e4c7 diff --git a/fio.1 b/fio.1 index b5ff3ccb..91c30748 100644 --- a/fio.1 +++ b/fio.1 @@ -115,7 +115,29 @@ and there may be any number of global sections. Specific job definitions may override any parameter set in global sections. .SH "JOB PARAMETERS" .SS Types -Some parameters may take arguments of a specific type. The types used are: +Some parameters may take arguments of a specific type. +Anywhere a numeric value is required, an arithmetic expression may be used, +provided it is surrounded by parentheses. Supported operators are: +.RS +.RS +.TP +.B addition (+) +.TP +.B subtraction (-) +.TP +.B multiplication (*) +.TP +.B division (/) +.TP +.B modulus (%) +.TP +.B exponentiation (^) +.RE +.RE +.P +For time values in expressions, units are microseconds by default. This is +different than for time values not in expressions (not enclosed in +parentheses). The types used are: .TP .I str String: a sequence of alphanumeric characters. @@ -478,7 +500,15 @@ size, fio can alternate random and zeroed data throughout the IO buffer. If set, fio will fill the IO buffers with this pattern. If not set, the contents of IO buffers is defined by the other options related to buffer contents. The setting can be any pattern of bytes, and can be prefixed with 0x for hex -values. +values. It may also be a string, where the string must then be wrapped with +"". +.TP +.BI dedupe_percentage \fR=\fPint +If set, fio will generate this percentage of identical buffers when writing. +These buffers will be naturally dedupable. The contents of the buffers depend +on what other buffer compression settings have been set. It's possible to have +the individual buffers either fully compressible, or not at all. This option +only controls the distribution of unique buffers. .TP .BI nrfiles \fR=\fPint Number of files to use for this job. Default: 1. @@ -613,8 +643,16 @@ Using Glusterfs libgfapi async interface to direct access to Glusterfs volumes w having to go through FUSE. This ioengine defines engine specific options. .TP -.B hdfs -Read and write through Hadoop (HDFS) +.B libhdfs +Read and write through Hadoop (HDFS). The \fBfilename\fR option is used to +specify host,port of the hdfs name-node to connect. This engine interprets +offsets a little differently. In HDFS, files once created cannot be modified. +So random writes are not possible. To imitate this, libhdfs engine expects +bunch of small files to be created over HDFS, and engine will randomly pick a +file out of those files based on the offset generated by fio backend. (see the +example job file to create such files, use rw=write option). Please note, you +might want to set necessary environment variables to work with hdfs/libhdfs +properly. .RE .P .RE @@ -671,7 +709,9 @@ Fio will normally perform IOs until it has exhausted the size of the region set by \fBsize\fR, or if it exhaust the allocated time (or hits an error condition). With this setting, the range/size can be set independently of the number of IOs to perform. When fio reaches this number, it will exit -normally and report status. +normally and report status. Note that this does not extend the amount +of IO that will be done, it will only stop fio if this condition is met +before other end-of-job criteria. .TP .BI fsync \fR=\fPint How many I/Os to perform before issuing an \fBfsync\fR\|(2) of dirty data. If @@ -1808,6 +1848,14 @@ does on the server side, to allow IP/hostname/socket and port strings. You can connect to multiple clients as well, to do that you could run: fio \-\-client=server2 \-\-client=server2 + +If the job file is located on the fio server, then you can tell the server +to load a local file as well. This is done by using \-\-remote-config: + +fio \-\-client=server \-\-remote-config /path/to/file.fio + +Then the fio serer will open this local (to the server) job file instead +of being passed one from the client. .SH AUTHORS .B fio