From: Jens Axboe <axboe@kernel.dk>
To: Rodrigo Ribeiro Gomes <rodrigorigomes@gmail.com>, fio@vger.kernel.org
Subject: Re: --thinktime seems not work
Date: Wed, 13 May 2015 10:33:34 -0400 [thread overview]
Message-ID: <555360BE.6010303@kernel.dk> (raw)
In-Reply-To: <CAD09ZYSOkoXdHmYPfiF+pQReU1U+UHKfPL=52p818wikTtJDEw@mail.gmail.com>
On 05/13/2015 10:23 AM, Rodrigo Ribeiro Gomes wrote:
> HI guys!
>
> I'm trying use the --thinktime parameter to sleep between each io
> request for ten seconds.
>
> But, it seems not working... I'm doing something incorrect?
>
> fio --name disktst ... --thinktime 10000000
>
> In HOWTO, this param is described as 'Stall the job x microseconds'...
> But fio dont stop between each request and continues issuing. This is
> complete command line that i used:
>
>
> fio --name IoRequestDelayTest --directory J\:\ --iodepth 1 --bs 4k
> --size 1G --io_size 1G --direct 1 --thread --runtime 1h --time_based
> --rw randread --thinktime 10000000
>
> The J: is mounted on a USB flash drive (Kingston SE9 32GB)
Works fine for me:
./fio --name=think --size=1g --bs=4k --rw=randread --direct=1
[...]
read : io=130244KB, bw=30114KB/s, iops=7528, runt= 4325msec
./fio --name=think --size=1g --bs=4k --rw=randread --direct=1
--thinktime=1000
[...]
read : io=17668KB, bw=3340.6KB/s, iops=835, runt= 5289msec
I tried your 10s as well, works too.
--
Jens Axboe
next prev parent reply other threads:[~2015-05-13 14:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-13 14:23 --thinktime seems not work Rodrigo Ribeiro Gomes
2015-05-13 14:33 ` Jens Axboe [this message]
2015-05-13 14:37 ` Rodrigo Ribeiro Gomes
2015-05-13 15:11 ` Jens Axboe
2015-05-13 15:33 ` Rodrigo Ribeiro Gomes
2015-05-13 17:28 ` Jens Axboe
2015-05-13 23:01 ` Bruce Cran
2015-05-14 15:33 ` Jens Axboe
-- strict thread matches above, loose matches on Subject: below --
2015-05-13 14:29 rodrigo
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=555360BE.6010303@kernel.dk \
--to=axboe@kernel.dk \
--cc=fio@vger.kernel.org \
--cc=rodrigorigomes@gmail.com \
/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