X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=HOWTO;h=b0d0a1fc6ca7831e30f603d3614398764ca7a61a;hp=025443be406669ece150b28858c67ed9cb2f56d9;hb=e65a950ab73d7d91f267ad7f7b084d94e266fcb0;hpb=e2ea5c7407e37c9ea986df75fbf74fd60874b87b diff --git a/HOWTO b/HOWTO index 025443be..b0d0a1fc 100644 --- a/HOWTO +++ b/HOWTO @@ -602,6 +602,16 @@ ioengine=str Defines how the job issues io to the file. The following channel semantics (Send/Recv) for the InfiniBand, RoCE and iWARP protocols. + falloc IO engine that does regular fallocate to + simulate data transfer as fio ioengine. + DDIR_READ does fallocate(,mode = keep_size,) + DDIR_WRITE does fallocate(,mode = 0) + DDIR_TRIM does fallocate(,mode = punch_hole) + + e4defrag IO engine that does regular EXT4_IOC_MOVE_EXT + ioctls to simulate defragment activity in + request to DDIR_WRITE event + external Prefix to specify loading an external IO engine object file. Append the engine filename, eg ioengine=external:/tmp/foo.o @@ -1155,12 +1165,6 @@ exec_postrun=str After the job completes, issue the command specified ioscheduler=str Attempt to switch the device hosting the file to the specified io scheduler before running. -cpuload=int If the job is a CPU cycle eater, attempt to use the specified - percentage of CPU cycles. - -cpuchunks=int If the job is a CPU cycle eater, split the load into - cycles of the given time. In microseconds. - disk_util=bool Generate disk utilization statistics, if the platform supports it. Defaults to on. @@ -1238,6 +1242,19 @@ continue_on_error=str Normally fio will exit the job on the first observed 1 Backward-compatible alias for 'all'. +ignore_error=str Sometimes you want to ignore some errors during test + in that case you can specify error list for each error type. + ignore_error=READ_ERR_LIST,WRITE_ERR_LIST,VERIFY_ERR_LIST + errors for given error type is separated with ':'. Error + may be symbol ('ENOSPC', 'ENOMEM') or integer. + Example: + ignore_error=EAGAIN,ENOSPC:122 + This option will ignore EAGAIN from READ, and ENOSPC and + 122(EDQUOT) from WRITE. + +error_dump=bool If set dump every error even if it is non fatal, true + by default. If disabled only fatal error will be dumped + cgroup=str Add job to this control group. If it doesn't exist, it will be created. The system must have a mounted cgroup blkio mount point for this to work. If your system doesn't have it @@ -1291,6 +1308,11 @@ that defines them is selected. enabled when polling for a minimum of 0 events (eg when iodepth_batch_complete=0). +[cpu] cpuload=int Attempt to use the specified percentage of CPU cycles. + +[cpu] cpuchunks=int Split the load into cycles of the given time. In + microseconds. + [netsplice] hostname=str [net] hostname=str The host name or IP address to use for TCP or UDP based IO. If the job is a TCP listener or UDP reader, the hostname is not @@ -1316,6 +1338,14 @@ that defines them is selected. [net] listen For TCP network connections, tell fio to listen for incoming connections rather than initiating an outgoing connection. The hostname must be omitted if this option is used. +[e4defrag] donorname=str + File will be used as a block donor(swap extents between files) +[e4defrag] inplace=int + Configure donor file blocks allocation strategy + 0(default): Preallocate donor's file on init + 1 : allocate space immidietly inside defragment event, + and free right after event + 6.0 Interpreting the output