* iodepth_batch default 1 or iodepth
@ 2014-02-25 20:45 Elliott, Robert (Server Storage)
2014-02-25 21:59 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Elliott, Robert (Server Storage) @ 2014-02-25 20:45 UTC (permalink / raw)
To: fio@vger.kernel.org
fio.1 says the default value for iodepth_batch is iodepth, but HOWTO says it defaults to 1 and options.c defaults to 1. Which is intended?
The value is not displayed in the fio output anywhere, so it's unclear what you're getting unless you specify a value.
fio.1:
iodepth_batch=int
Number of I/Os to submit at once. Default: iodepth.
HOWTO:
iodepth_batch_submit=int
iodepth_batch=int This defines how many pieces of IO to submit at once.
It defaults to 1 which means that we submit each IO
as soon as it is available, but can be raised to submit
bigger batches of IO at the time.
options.c:
{
.name = "iodepth_batch_complete",
.lname = "IO Depth batch complete",
.type = FIO_OPT_INT,
.off1 = td_var_offset(iodepth_batch_complete),
.help = "Number of IO buffers to retrieve in one go",
.parent = "iodepth",
.hide = 1,
.minval = 0,
.interval = 1,
.def = "1",
.category = FIO_OPT_C_IO,
.group = FIO_OPT_G_IO_BASIC,
},
---
Rob Elliott HP Server Storage
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: iodepth_batch default 1 or iodepth
2014-02-25 20:45 iodepth_batch default 1 or iodepth Elliott, Robert (Server Storage)
@ 2014-02-25 21:59 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2014-02-25 21:59 UTC (permalink / raw)
To: Elliott, Robert (Server Storage), fio@vger.kernel.org
On 2014-02-25 12:45, Elliott, Robert (Server Storage) wrote:
> fio.1 says the default value for iodepth_batch is iodepth, but HOWTO says it
> defaults to 1 and options.c defaults to 1. Which is intended?
>
> The value is not displayed in the fio output anywhere, so it's unclear
> what you're getting unless you specify a value.
The documentation is wrong (and illogical), it should default to 1 if
not given. Which it does. So we should probably just fix up the
documentation.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-25 21:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-25 20:45 iodepth_batch default 1 or iodepth Elliott, Robert (Server Storage)
2014-02-25 21:59 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox