All of lore.kernel.org
 help / color / mirror / Atom feed
* Running for a specific number of IOs
@ 2017-11-22 22:46 Prabhakaran
  2017-11-22 23:06 ` Jeff Furlong
  0 siblings, 1 reply; 6+ messages in thread
From: Prabhakaran @ 2017-11-22 22:46 UTC (permalink / raw)
  To: fio

Hi,

Is there a parameter in FIO that can be used to run for a specific
number of IOs? I thought 'number_ios' might to this, but actually it
does fill 1x of the drive usable space and exits.

Thanks,
Prabhu

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

* RE: Running for a specific number of IOs
  2017-11-22 22:46 Running for a specific number of IOs Prabhakaran
@ 2017-11-22 23:06 ` Jeff Furlong
  2017-11-22 23:35   ` Prabhakaran
  2017-11-22 23:36   ` Sitsofe Wheeler
  0 siblings, 2 replies; 6+ messages in thread
From: Jeff Furlong @ 2017-11-22 23:06 UTC (permalink / raw)
  To: Prabhakaran, fio

What parameters are you using?  Here is a counterexample from a previous post that shows number_ios running and then the job terminating:

fio --name=test_job --ioengine=libaio --direct=1 --rw=read --iodepth=1 --size=100% --bs=4k --filename=/dev/nvme1n1 --number_ios=8

Regards,
Jeff

-----Original Message-----
From: fio-owner@vger.kernel.org [mailto:fio-owner@vger.kernel.org] On Behalf Of Prabhakaran
Sent: Wednesday, November 22, 2017 2:47 PM
To: fio@vger.kernel.org
Subject: Running for a specific number of IOs

Hi,

Is there a parameter in FIO that can be used to run for a specific number of IOs? I thought 'number_ios' might to this, but actually it does fill 1x of the drive usable space and exits.

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

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

* Re: Running for a specific number of IOs
  2017-11-22 23:06 ` Jeff Furlong
@ 2017-11-22 23:35   ` Prabhakaran
  2017-11-22 23:45     ` Sitsofe Wheeler
  2017-11-22 23:36   ` Sitsofe Wheeler
  1 sibling, 1 reply; 6+ messages in thread
From: Prabhakaran @ 2017-11-22 23:35 UTC (permalink / raw)
  To: Jeff Furlong; +Cc: fio

Hi Jeff,

I wanted to generate ~1 billion IOs irrespective of runtime/size. I
think with your example, fio would break, if it reaches 'number_ios',
before it comes to end of first fill. With my example shown below, fio
exits after reaching size=100%, which I have not specified in my job
file.

[global]
ioengine=libaio
clat_percentiles=1
percentile_list=50.0:95.0:99.0:99.5:99.9:99.99:99.999:99.9999:99.99999:99.999999:99.9999999
disable_slat=1
disable_lat=1
disable_clat=1
thread
cpus_allowed=0-7
cpus_allowed_policy=split
direct=1


[4k-4k_100_rd_qd32]
stonewall
bs=4k
ba=4k
iodepth=32
number_ios=10000000000
rw=randread
log_avg_msec=1000
randrepeat=0
norandommap
refill_buffers
write_bw_log=4k-4k_100_rd_qd32
write_iops_log=4k-4k_100_rd_qd32

Thanks,
Prabhu

On 22 November 2017 at 16:06, Jeff Furlong <jeff.furlong@wdc.com> wrote:
> What parameters are you using?  Here is a counterexample from a previous post that shows number_ios running and then the job terminating:
>
> fio --name=test_job --ioengine=libaio --direct=1 --rw=read --iodepth=1 --size=100% --bs=4k --filename=/dev/nvme1n1 --number_ios=8
>
> Regards,
> Jeff
>
> -----Original Message-----
> From: fio-owner@vger.kernel.org [mailto:fio-owner@vger.kernel.org] On Behalf Of Prabhakaran
> Sent: Wednesday, November 22, 2017 2:47 PM
> To: fio@vger.kernel.org
> Subject: Running for a specific number of IOs
>
> Hi,
>
> Is there a parameter in FIO that can be used to run for a specific number of IOs? I thought 'number_ios' might to this, but actually it does fill 1x of the drive usable space and exits.
>
> Thanks,
> Prabhu
> --
> To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@vger.kernel.org More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Thanks,
Prabhakaran

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

* Re: Running for a specific number of IOs
  2017-11-22 23:06 ` Jeff Furlong
  2017-11-22 23:35   ` Prabhakaran
@ 2017-11-22 23:36   ` Sitsofe Wheeler
  1 sibling, 0 replies; 6+ messages in thread
From: Sitsofe Wheeler @ 2017-11-22 23:36 UTC (permalink / raw)
  To: Prabhakaran; +Cc: Jeff Furlong, fio

Prabhu,

As Jeff mentioned you weren't specific as to exactly what went wrong.
Additionally - did you read all the text for the number_ios option
over on http://fio.readthedocs.io/en/latest/fio_doc.html#cmdoption-arg-number-ios
especially the following: "Note that this does not extend the amount
of I/O that will be done".

On 22 November 2017 at 23:06, Jeff Furlong <jeff.furlong@wdc.com> wrote:
> What parameters are you using?  Here is a counterexample from a previous post that shows number_ios running and then the job terminating:
>
> fio --name=test_job --ioengine=libaio --direct=1 --rw=read --iodepth=1 --size=100% --bs=4k --filename=/dev/nvme1n1 --number_ios=8
>
> Regards,
> Jeff
>
> -----Original Message-----
> From: fio-owner@vger.kernel.org [mailto:fio-owner@vger.kernel.org] On Behalf Of Prabhakaran
> Sent: Wednesday, November 22, 2017 2:47 PM
> To: fio@vger.kernel.org
> Subject: Running for a specific number of IOs
>
> Hi,
>
> Is there a parameter in FIO that can be used to run for a specific number of IOs? I thought 'number_ios' might to this, but actually it does fill 1x of the drive usable space and exits.
>
> Thanks,
> Prabhu

-- 
Sitsofe | http://sucs.org/~sits/

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

* Re: Running for a specific number of IOs
  2017-11-22 23:35   ` Prabhakaran
@ 2017-11-22 23:45     ` Sitsofe Wheeler
  2017-11-24 18:41       ` Prabhakaran
  0 siblings, 1 reply; 6+ messages in thread
From: Sitsofe Wheeler @ 2017-11-22 23:45 UTC (permalink / raw)
  To: Prabhakaran; +Cc: Jeff Furlong, fio

Hi,

Try setting a large io_size (e.g. 1p) or a large number of loops
alongside. See http://fio.readthedocs.io/en/latest/fio_doc.html#cmdoption-arg-io-size
and http://fio.readthedocs.io/en/latest/fio_doc.html#cmdoption-arg-loops
for documentation of those options.

On 22 November 2017 at 23:35, Prabhakaran <prabhugce@gmail.com> wrote:
> Hi Jeff,
>
> I wanted to generate ~1 billion IOs irrespective of runtime/size. I
> think with your example, fio would break, if it reaches 'number_ios',
> before it comes to end of first fill. With my example shown below, fio
> exits after reaching size=100%, which I have not specified in my job
> file.

-- 
Sitsofe | http://sucs.org/~sits/

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

* Re: Running for a specific number of IOs
  2017-11-22 23:45     ` Sitsofe Wheeler
@ 2017-11-24 18:41       ` Prabhakaran
  0 siblings, 0 replies; 6+ messages in thread
From: Prabhakaran @ 2017-11-24 18:41 UTC (permalink / raw)
  To: Sitsofe Wheeler; +Cc: Jeff Furlong, fio

Hi Sitsofe,

Your idea did work!!

Thanks,
Prabhu

On 22 November 2017 at 16:45, Sitsofe Wheeler <sitsofe@gmail.com> wrote:
> Hi,
>
> Try setting a large io_size (e.g. 1p) or a large number of loops
> alongside. See http://fio.readthedocs.io/en/latest/fio_doc.html#cmdoption-arg-io-size
> and http://fio.readthedocs.io/en/latest/fio_doc.html#cmdoption-arg-loops
> for documentation of those options.
>
> On 22 November 2017 at 23:35, Prabhakaran <prabhugce@gmail.com> wrote:
>> Hi Jeff,
>>
>> I wanted to generate ~1 billion IOs irrespective of runtime/size. I
>> think with your example, fio would break, if it reaches 'number_ios',
>> before it comes to end of first fill. With my example shown below, fio
>> exits after reaching size=100%, which I have not specified in my job
>> file.
>
> --
> Sitsofe | http://sucs.org/~sits/



-- 
Thanks,
Prabhakaran

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

end of thread, other threads:[~2017-11-24 18:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-22 22:46 Running for a specific number of IOs Prabhakaran
2017-11-22 23:06 ` Jeff Furlong
2017-11-22 23:35   ` Prabhakaran
2017-11-22 23:45     ` Sitsofe Wheeler
2017-11-24 18:41       ` Prabhakaran
2017-11-22 23:36   ` Sitsofe Wheeler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.