Flexible I/O Tester development
 help / color / mirror / Atom feed
* test definition help needed
@ 2011-02-04 19:21 Steven Pratt
  2011-02-06 21:00 ` Jens Axboe
  0 siblings, 1 reply; 7+ messages in thread
From: Steven Pratt @ 2011-02-04 19:21 UTC (permalink / raw)
  To: fio

I am trying to create a job file that randomly select a file form an imported list and reads the entire file sequentially. Them moves to the next file. I also want multiple jobs(processe) running the same workload. I have this:

[global]
bs=4k
time_based=1
runtime=15m
iodepth=4
rw=read
ioengine=libaio
time_based=1
ramp_time=600s
norandommap

[job1]
opendir=/${FIO_MOUNT}/session1/small_file1
file_service_type=sequential
numjobs=8



I used file_service_type=sequential because tought without it it would only do a single read (block) from the file before switching to a different file, which is not what I want. The issue with this test as written is it seems like all the fio processes choose files in the same order so I get way more cache hits than I want. I want this to be more of a random file selection, but with reading whole file.  Any advice?

Steve

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

end of thread, other threads:[~2011-02-07 21:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-04 19:21 test definition help needed Steven Pratt
2011-02-06 21:00 ` Jens Axboe
2011-02-07 14:35   ` Jeff Moyer
2011-02-07 14:45     ` Jens Axboe
2011-02-07 14:56       ` Jeff Moyer
2011-02-07 20:51   ` Steven Pratt
2011-02-07 21:08     ` Jens Axboe

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