Flexible I/O Tester development
 help / color / mirror / Atom feed
* Reserved Keywords & Offset Percentage
@ 2013-03-07 13:59 Gavin Martin
  2013-03-08 18:05 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Gavin Martin @ 2013-03-07 13:59 UTC (permalink / raw)
  To: fio

Does Fio know the MaxLBA for devices it runs to?  If the size variable
has a percentage value, for example 50%, then it must have to read the
MaxLBA to know that on a 4TB drive the size of file we want is 2TB?
Is this correct or does it use another method?

If so would it be possible to have a reserved keyword for the MaxLBA,
much as you do currently for pagesize, memory & cpu's so that the size
& offset variable could make use of it, with the simple math
supported?

Not being a programmer and having very limited knowledge when it comes
to reading code, I have no idea if this is even possible within Fio?

If the above is not suitable, would it be possible for the offset
variable to accept percentages much like the size variable?

This comes from wanting to run Fio from dual hosts, I need to be able
to control which parts of the disk each host can access, so that they
do not interfere, on drives & ssds of many different sizes.

Basic example:

[Host 1]
size=50%
offset=0

[Host 2]
size=50%
offset 50%

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

end of thread, other threads:[~2013-03-08 18:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-07 13:59 Reserved Keywords & Offset Percentage Gavin Martin
2013-03-08 18:05 ` Jens Axboe

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