X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=fio.1;h=82868a8e75af5451888cbce2f2e6d7813e6c8a0b;hp=d64fbb7ab5e0832f61f167d7fe2b20872f9ec2c1;hb=8049adc18dc90aa5f798834d04281c9f1cb5d523;hpb=be3fec7d9305c62a7cd2354b535e9a6b89a58a94 diff --git a/fio.1 b/fio.1 index d64fbb7a..82868a8e 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. @@ -325,12 +347,6 @@ Seed the random number generators based on this seed value, to be able to control what sequence of output is being generated. If not set, the random sequence depends on the \fBrandrepeat\fR setting. .TP -.BI use_os_rand \fR=\fPbool -Fio can either use the random generator supplied by the OS to generate random -offsets, or it can use its own internal generator (based on Tausworthe). -Default is to use the internal generator, which is often of better quality and -faster. Default: false. -.TP .BI fallocate \fR=\fPstr Whether pre-allocation is performed when laying down files. Accepted values are: @@ -1449,7 +1465,9 @@ If the job is a TCP listener or UDP reader, the hostname is not used and must be omitted unless it is a valid UDP multicast address. .TP .BI (net,netsplice)port \fR=\fPint -The TCP or UDP port to bind to or connect to. +The TCP or UDP port to bind to or connect to. If this is used with +\fBnumjobs\fR to spawn multiple instances of the same job type, then +this will be the starting port number since fio will use a range of ports. .TP .BI (net,netsplice)interface \fR=\fPstr The IP address of the network interface used to send or receive UDP multicast @@ -1503,6 +1521,12 @@ completion latency measures how long it took for the other end to receive and send back. For UDP multicast traffic pingpong=1 should only be set for a single reader when multiple readers are listening to the same address. .TP +.BI (net, window_size) \fR=\fPint +Set the desired socket buffer size for the connection. +.TP +.BI (net, mss) \fR=\fPint +Set the TCP maximum segment size (TCP_MAXSEG). +.TP .BI (e4defrag,donorname) \fR=\fPstr File will be used as a block donor (swap extents between files) .TP @@ -1826,6 +1850,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