Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Saeed <ionictea@gmail.com>
To: fio@vger.kernel.org
Subject: Re: fio jobs time_based & runtime scope
Date: Tue, 26 Jul 2016 11:53:58 -0500	[thread overview]
Message-ID: <nn84j6$5la$1@ger.gmane.org> (raw)
In-Reply-To: CALjAwxhCSTdi_EjvciC=-zy8=8G4rz-X6G4RiOgKwTeyumPPog@mail.gmail.com

But what about in the case of a verify job where we want verification 
done (do_verify)?  Should we exclude the runtime & time_based settings 
from the validation/verification job?

http://www.coderplay.org/filesysdev/FIO-Data-Integrity-Test.html

"However, if the job file specifies to run based on time rather than 
total number of bytes (setting runtime=int and time_based), then 
do_verify() is not performed. "

On 2016-07-26 06:15:34 +0000, Sitsofe Wheeler said:

> On 26 July 2016 at 00:15, Saeed 
> <ionictea@gmail.com> wrote:
>> Here's the example:
>> 
>> [global]
>> bs=4k
>> ioengine=libaio
>> iodepth=32
>> size=1g
>> direct=1
>> time_based=1
>> runtime=300
>> filename=/dev/sdb
>> group_reporting
>> numjobs=1
>> 
>> # validation
>> do_verify=1
>> verify_fatal=1
>> verify_dump=1
>> 
>> verify_pattern=0x00000001
>> 
>> [sequential]
>> rw=readwrite
>> stonewall
>> 
>> [random]
>> rw=randrw
>> stonewall
>> 
>> So with this job file there are two job declarations (sequential & random).
>> Does the time_based & runtime requirement apply to the entire job as a whole
>> or per job declaration?
> 
> time_based and runtime are per job (like nearly all fio options) so
> this job file above will take 600 seconds to complete. This is easy to
> check with a smaller and simpler job file:
> 
> [global]
> runtime=5
> time_based
> size=10M
> stonewall
> filename=/tmp/fiotmp
> [job1]
> [job2]
> 
> The stonewall forces the jobs to run one after the other and the
> results will show long each job ran for. If necessary we can easily
> use a program like time to see how long the total running time turned
> out to be.
> 
> Remember that runtime applies to all parts of a job. If a job is
> supposed to verify after it has finished writing but the runtime is
> exceeded during the writing part then no verification will occur.




  reply	other threads:[~2016-07-26 16:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-25 17:00 fio jobs time_based & runtime scope Saeed
2016-07-25 17:13 ` Sitsofe Wheeler
2016-07-25 23:15   ` Saeed
2016-07-26  6:15     ` Sitsofe Wheeler
2016-07-26 16:53       ` Saeed [this message]
2016-07-26 18:11         ` Sitsofe Wheeler
2016-07-27  1:36           ` Saeed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='nn84j6$5la$1@ger.gmane.org' \
    --to=ionictea@gmail.com \
    --cc=fio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox