Flexible I/O Tester development
 help / color / mirror / Atom feed
* Qn on setting ioengine on Replay job
@ 2014-04-08 16:39 Lakshmi
  2014-04-08 19:14 ` Jens Axboe
  0 siblings, 1 reply; 3+ messages in thread
From: Lakshmi @ 2014-04-08 16:39 UTC (permalink / raw)
  To: fio, Jens Axboe

Hi Jens,

  Is it possible to set the ioengine and iodepth on a replay job?
Would it have any effect on the replay jobs? I tried setting as below,
but didnt see any change. So wanted to make sure if what I am doing is
valid.

[global]
replay_no_stall=1
ioengine=posixaio
buffered=0
iodepth=6

[job1]
read_iolog=/home/file_3080658.bin

==============================
Please let me know

Thanks,
Lakshmi


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Qn on setting ioengine on Replay job
  2014-04-08 16:39 Qn on setting ioengine on Replay job Lakshmi
@ 2014-04-08 19:14 ` Jens Axboe
  2014-04-08 19:44   ` Jens Axboe
  0 siblings, 1 reply; 3+ messages in thread
From: Jens Axboe @ 2014-04-08 19:14 UTC (permalink / raw)
  To: Lakshmi, fio

On 04/08/2014 10:39 AM, Lakshmi wrote:
> Hi Jens,
>
>    Is it possible to set the ioengine and iodepth on a replay job?
> Would it have any effect on the replay jobs? I tried setting as below,
> but didnt see any change. So wanted to make sure if what I am doing is
> valid.
>
> [global]
> replay_no_stall=1
> ioengine=posixaio
> buffered=0
> iodepth=6
>
> [job1]
> read_iolog=/home/file_3080658.bin

The ioengine will always work, the iodepth should work as well. blktrace 
loading doesn't actually set the iodepth, so it should run at depth 1 
unless you tell it otherwise. That should be fixed up, actually.

That said, you wont see higher depth than the job itself has done. The 
depth will be naturally limited by the events in that trace. However, if 
a lower depth is set, then that should be enforced (since fio is forced 
to wait on IO if it runs out of IO buffers).

-- 
Jens Axboe



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Qn on setting ioengine on Replay job
  2014-04-08 19:14 ` Jens Axboe
@ 2014-04-08 19:44   ` Jens Axboe
  0 siblings, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2014-04-08 19:44 UTC (permalink / raw)
  To: Lakshmi, fio

On 04/08/2014 01:14 PM, Jens Axboe wrote:
> On 04/08/2014 10:39 AM, Lakshmi wrote:
>> Hi Jens,
>>
>>    Is it possible to set the ioengine and iodepth on a replay job?
>> Would it have any effect on the replay jobs? I tried setting as below,
>> but didnt see any change. So wanted to make sure if what I am doing is
>> valid.
>>
>> [global]
>> replay_no_stall=1
>> ioengine=posixaio
>> buffered=0
>> iodepth=6
>>
>> [job1]
>> read_iolog=/home/file_3080658.bin
>
> The ioengine will always work, the iodepth should work as well. blktrace
> loading doesn't actually set the iodepth, so it should run at depth 1
> unless you tell it otherwise. That should be fixed up, actually.
>
> That said, you wont see higher depth than the job itself has done. The
> depth will be naturally limited by the events in that trace. However, if
> a lower depth is set, then that should be enforced (since fio is forced
> to wait on IO if it runs out of IO buffers).

Added a patch to probe the depth from the blktrace file. So should now 
set the detected depth, if it can.

-- 
Jens Axboe



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-08 19:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08 16:39 Qn on setting ioengine on Replay job Lakshmi
2014-04-08 19:14 ` Jens Axboe
2014-04-08 19:44   ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox