All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Andrew Davidoff <davidoff@qedmf.net>
Cc: fio@vger.kernel.org
Subject: Re: Make threads access the same files?
Date: Fri, 28 Jun 2013 16:08:56 +0200	[thread overview]
Message-ID: <20130628140856.GO24293@kernel.dk> (raw)
In-Reply-To: <CAJLXCZTeqg6DTeRcMK0asRoZ7EShD8Od+Y05R-Tgi7OEcS2Fuw@mail.gmail.com>

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


  reply	other threads:[~2013-06-28 14:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-27 18:18 Make threads access the same files? Andrew Davidoff
2013-06-28 14:08 ` Jens Axboe [this message]
2013-06-28 20:41   ` Andrew Davidoff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130628140856.GO24293@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=davidoff@qedmf.net \
    --cc=fio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.