Re: How to control the number of random I/O's acrossing the whole file/device?

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

 



On 08/07/2013 12:57 PM, Jiahua wrote:
> Sorry to bother you again! Can anyone shed some light here? Or can you
> give a pointer into the code where I should look at to implement the
> feature I want?
> 
> Thanks,
> Jiahua
> 
> On Tue, Aug 6, 2013 at 4:19 PM, Jiahua <jiahua@xxxxxxxxx> wrote:
>> Hi all,
>>
>> What I want is to touch a file/device randomly but up to a given
>> number of times. I tried the "size=" option but it also limits the
>> file size. Is there a way to do that instead of time_based, which is
>> approximate to my requirement?

Not sure what you as asking here. size= will generally specify the
region that fio will operate on. If you want to touch it multiple times,
you could do time_based and/or loops. The region will still be governed
by size= (or default to the existing total size of the file/device, if
not given).

-- 
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