Re: Running Fio to Particular LBA's

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux