* Make threads access the same files?
@ 2013-06-27 18:18 Andrew Davidoff
2013-06-28 14:08 ` Jens Axboe
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Davidoff @ 2013-06-27 18:18 UTC (permalink / raw)
To: fio
Hi,
If I understand fio's threaded operation, mrfiles are generated for
each thread (jobs=N), and each thread operates on its own files. Is
there a way to tell fio to spawn multiple threads, but for each to
access a single set of files?
So:
nrfiles=2048
jobs=12
Would produce 12 threads working against the same 2048 files.
Thanks.
Andy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Make threads access the same files?
2013-06-27 18:18 Make threads access the same files? Andrew Davidoff
@ 2013-06-28 14:08 ` Jens Axboe
2013-06-28 20:41 ` Andrew Davidoff
0 siblings, 1 reply; 3+ messages in thread
From: Jens Axboe @ 2013-06-28 14:08 UTC (permalink / raw)
To: Andrew Davidoff; +Cc: fio
On Thu, Jun 27 2013, Andrew Davidoff wrote:
> Hi,
>
> If I understand fio's threaded operation, mrfiles are generated for
> each thread (jobs=N), and each thread operates on its own files. Is
> there a way to tell fio to spawn multiple threads, but for each to
> access a single set of files?
>
> So:
>
> nrfiles=2048
> jobs=12
>
> Would produce 12 threads working against the same 2048 files.
See the 'filename_format' option.
--
Jens Axboe
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Make threads access the same files?
2013-06-28 14:08 ` Jens Axboe
@ 2013-06-28 20:41 ` Andrew Davidoff
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Davidoff @ 2013-06-28 20:41 UTC (permalink / raw)
To: Jens Axboe; +Cc: fio
Thank you. Sorry I overlooked this. I do appreciate the detailed
documentation you provide!
Andy
On Fri, Jun 28, 2013 at 10:08 AM, Jens Axboe <axboe@kernel.dk> wrote:
> On Thu, Jun 27 2013, Andrew Davidoff wrote:
>> Hi,
>>
>> If I understand fio's threaded operation, mrfiles are generated for
>> each thread (jobs=N), and each thread operates on its own files. Is
>> there a way to tell fio to spawn multiple threads, but for each to
>> access a single set of files?
>>
>> So:
>>
>> nrfiles=2048
>> jobs=12
>>
>> Would produce 12 threads working against the same 2048 files.
>
> See the 'filename_format' option.
>
> --
> Jens Axboe
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-06-28 20:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-27 18:18 Make threads access the same files? Andrew Davidoff
2013-06-28 14:08 ` Jens Axboe
2013-06-28 20:41 ` Andrew Davidoff
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.