Re: running FIO w/ 2 parallel processes on the same disk

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

 



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

--
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