Flexible I/O Tester development
 help / color / mirror / Atom feed
* How to re-use default sequential filenames?
@ 2013-04-04 16:28 Alan Hagge
  2013-04-04 18:19 ` Jens Axboe
  2013-04-04 18:33 ` Matt Hayward
  0 siblings, 2 replies; 14+ messages in thread
From: Alan Hagge @ 2013-04-04 16:28 UTC (permalink / raw)
  To: fio

I'm trying to put together a test of the write and read speed to some 
new SAN storage.  Our workflow involves writing large numbers of 12 MiB 
files (on the order of 20,000 or so) at a time.  I'd like to set up a 
config file section that will write all 20,000 files then read all 
20,000 files and report on the write performance and the read 
performance (separately).

I've tried something like this:

[global]
blocksize=4m
filesize=12m
nrfiles=20000
openfiles=1
file_service_type=sequential
create_on_open=1
ioengine=posixaio

[write]
rw=write

[read]
stonewall
rw=read

But the issue is that the files get created with default filenames 
(write.1.1, write.1.2, etc.), so that when the read job is run, it can't 
find any files (since it expects the files to be named read.1.1, 
read.1.2, etc.).  If I try to specify the "filename=" option in either 
section, fio no longer appends the ".<thread>.<sequence>" to the 
filename, but rather tries to do all I/O to a single file.

Is there a syntax for the "filename=" option that will allow me to 
specify a different root filename, but still use the 
".<thread>.<sequence>" naming convention?  Failing that, is there any 
other way to accomplish my goal?

Thanks for any tips, pointers, etc.


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

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

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-04 16:28 How to re-use default sequential filenames? Alan Hagge
2013-04-04 18:19 ` Jens Axboe
2013-04-04 18:41   ` Jens Axboe
2013-04-04 23:59     ` Michal Šmucr
2013-04-05  8:40       ` Jens Axboe
2013-04-05 19:24         ` Michal Šmucr
2013-04-05 19:31           ` Jens Axboe
2013-04-05  8:39     ` Jens Axboe
2013-04-07 23:28       ` Michal Šmucr
2013-04-08 11:17         ` Jens Axboe
2013-04-10 17:46           ` Alan Hagge
2013-04-11 11:18             ` Jens Axboe
2013-04-04 18:33 ` Matt Hayward
2013-04-04 19:02   ` Carl Zwanzig

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