Flexible I/O Tester development
 help / color / mirror / Atom feed
* Running Fio to Particular LBA's
@ 2013-01-11  8:58 Gavin Martin
  2013-01-11  9:11 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Gavin Martin @ 2013-01-11  8:58 UTC (permalink / raw)
  To: fio

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?

Thanks,
Gavin

-- 


------------------------------
For additional information including the registered office and the treatment of Xyratex confidential information please visit www.xyratex.com

------------------------------

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

* Re: Running Fio to Particular LBA's
  2013-01-11  8:58 Running Fio to Particular LBA's Gavin Martin
@ 2013-01-11  9:11 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2013-01-11  9:11 UTC (permalink / raw)
  To: Gavin Martin; +Cc: fio

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


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

end of thread, other threads:[~2013-01-11  9:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-11  8:58 Running Fio to Particular LBA's Gavin Martin
2013-01-11  9:11 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox