All of lore.kernel.org
 help / color / mirror / Atom feed
* Setting number of read threads
@ 2020-02-26 21:32 Elliott Balsley
  2020-02-27  2:52 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Elliott Balsley @ 2020-02-26 21:32 UTC (permalink / raw)
  To: fio

When I do a sequential read test with multiple threads, the initial
write only uses one thread.  Is there some way to adjust this?  For
example a command like this:

fio --name moe --rw read --directory /mnt/nv01/fio/local --size 40G
--bs 4M --numjobs 4 --group_reporting --direct 1

It lays out four files one at a time, then it reads them all back at
once.  I would like to lay out the four files simultaneously to save
time.  I hope this makes sense; I'm not sure if I'm phrasing this in
the right way.


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

* Re: Setting number of read threads
  2020-02-26 21:32 Setting number of read threads Elliott Balsley
@ 2020-02-27  2:52 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2020-02-27  2:52 UTC (permalink / raw)
  To: Elliott Balsley, fio

On 2/26/20 2:32 PM, Elliott Balsley wrote:
> When I do a sequential read test with multiple threads, the initial
> write only uses one thread.  Is there some way to adjust this?  For
> example a command like this:
> 
> fio --name moe --rw read --directory /mnt/nv01/fio/local --size 40G
> --bs 4M --numjobs 4 --group_reporting --direct 1
> 
> It lays out four files one at a time, then it reads them all back at
> once.  I would like to lay out the four files simultaneously to save
> time.  I hope this makes sense; I'm not sure if I'm phrasing this in
> the right way.

create_serialize=false would do that. It defaults to sequentially
since otherwise the fs layout tends to suffer.

-- 
Jens Axboe



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

end of thread, other threads:[~2020-02-27  2:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-26 21:32 Setting number of read threads Elliott Balsley
2020-02-27  2:52 ` Jens Axboe

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.