Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Gavin Martin <gavin_martin@xyratex.com>
Cc: fio@vger.kernel.org
Subject: Re: Running Fio to Particular LBA's
Date: Fri, 11 Jan 2013 10:11:46 +0100	[thread overview]
Message-ID: <20130111091146.GB32674@kernel.dk> (raw)
In-Reply-To: <CANUChTws0KGNRVQ=N_WH70LeoN-Kv2V6wjFbnf_VCA4OU9D8wQ@mail.gmail.com>

On Fri, Jan 11 2013, Gavin Martin wrote:
> I'm using Fio to run to raw devices in both Linux & Windows, one thing
> that I am unable to do is to specify an LBA range to run to.
> 
> I know that there are the 'zonesize' and 'zoneskip' arguments, but I'm
> struggling to see how they work. In essence I would like to have a
> number of jobs running to different parts of the disk.
> 
> In a basic example:  from LBA 0 to 1/2 of MaxLBA I would like to run a
> sequential workload and from 1/2 MaxLBA+1 to MaxLBA I would like to
> run a random workload.
> 
> Can this be done with existing arguments?

If maxlba is 10G, then you would do:

[global]
size=5G

[seq]
offset=0
rw=write

[rand]
offset=5G
rw=randwrite

Fill in other parameters as needed

-- 
Jens Axboe


      reply	other threads:[~2013-01-11  9:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-11  8:58 Running Fio to Particular LBA's Gavin Martin
2013-01-11  9:11 ` Jens Axboe [this message]

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=20130111091146.GB32674@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=fio@vger.kernel.org \
    --cc=gavin_martin@xyratex.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox