Re: --thinktime seems not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux