Flexible I/O Tester development
 help / color / mirror / Atom feed
* running FIO w/ 2 parallel processes on the same disk
@ 2013-10-17 18:35 Brian L.
  2013-10-21 17:00 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Brian L. @ 2013-10-17 18:35 UTC (permalink / raw)
  To: fio@vger.kernel.org

Hello there,

I would like to simulate the following workload - 2 process total that
is contenting for read / write IO on the same disk:

1 process is doing a sequential writes
1 process is down random reads

This is my FIO job file:

## job file start ##

[global]
filename=${mydisk}
size=5G
iodepth=${myiodepth}
bs=${myblocksize}
ioengine=libaio
ramp_time=10s
norandommap=1
randrepeat=0
refill_buffers
group_reporting=1
direct=1
end_fsync=0
invalidate=1
nice=0
prio=0
prioclass=1

[process_1_seq_write]
rw=write
write_bw_log=process_1_seq_write.${mydisksub}

[process_2_rand_read]
rw=randread
write_bw_log=process_2_rand_read.${mydiskzub}

## job file end ##

I have ran it and it looks right but just want to check with someone
else to valid that it is correct.

Brian L.

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

* Re: running FIO w/ 2 parallel processes on the same disk
  2013-10-17 18:35 running FIO w/ 2 parallel processes on the same disk Brian L.
@ 2013-10-21 17:00 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2013-10-21 17:00 UTC (permalink / raw)
  To: Brian L.; +Cc: fio@vger.kernel.org

On Thu, Oct 17 2013, Brian L. wrote:
> Hello there,
> 
> I would like to simulate the following workload - 2 process total that
> is contenting for read / write IO on the same disk:
> 
> 1 process is doing a sequential writes
> 1 process is down random reads
> 
> This is my FIO job file:
> 
> ## job file start ##
> 
> [global]
> filename=${mydisk}
> size=5G
> iodepth=${myiodepth}
> bs=${myblocksize}
> ioengine=libaio
> ramp_time=10s
> norandommap=1
> randrepeat=0
> refill_buffers
> group_reporting=1
> direct=1
> end_fsync=0
> invalidate=1
> nice=0
> prio=0
> prioclass=1
> 
> [process_1_seq_write]
> rw=write
> write_bw_log=process_1_seq_write.${mydisksub}
> 
> [process_2_rand_read]
> rw=randread
> write_bw_log=process_2_rand_read.${mydiskzub}
> 
> ## job file end ##
> 
> I have ran it and it looks right but just want to check with someone
> else to valid that it is correct.

Job file does what you describe, so you should be good.

-- 
Jens Axboe


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

end of thread, other threads:[~2013-10-21 17:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-17 18:35 running FIO w/ 2 parallel processes on the same disk Brian L.
2013-10-21 17:00 ` Jens Axboe

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