X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=HOWTO;h=ac15fc800f150d61d82d5f278dc3078cc8b0b296;hb=079ad09b1ef22fa0d47c2cd2673908c5619aa41a;hp=f61b4c1daab6b54831d5195dc36000be502461ab;hpb=ec1183049478cfc03ec3cc513ae07b7ca9a48140;p=fio.git diff --git a/HOWTO b/HOWTO index f61b4c1d..ac15fc80 100644 --- a/HOWTO +++ b/HOWTO @@ -108,8 +108,8 @@ to use any ascii name you want, except 'global' which has special meaning. A global section sets defaults for the jobs described in that file. A job may override a global section parameter, and a job file may even have several global sections if so desired. A job is only affected by a global -section residing above it. If the first character in a line is a ';', the -entire line is discarded as a comment. +section residing above it. If the first character in a line is a ';' or a +'#', the entire line is discarded as a comment. So lets look at a really simple job file that define to threads, each randomly reading from a 128MiB file. @@ -343,7 +343,14 @@ prioclass=int Set the io priority class. See man ionice(1). thinktime=int Stall the job x microseconds after an io has completed before issuing the next. May be used to simulate processing being - done by an application. See thinktime_blocks. + done by an application. See thinktime_blocks and + thinktime_spin. + +thinktime_spin=int + Only valid if thinktime is set - pretend to spend CPU time + doing something with the data received, before falling back + to sleeping for the rest of the period specified by + thinktime. thinktime_blocks Only valid if thinktime is set - control how many blocks