From: Jens Axboe <axboe@kernel.dk>
To: "Brian L." <brianclam@gmail.com>
Cc: "fio@vger.kernel.org" <fio@vger.kernel.org>
Subject: Re: running FIO w/ 2 parallel processes on the same disk
Date: Mon, 21 Oct 2013 11:00:57 -0600 [thread overview]
Message-ID: <20131021170057.GB32366@kernel.dk> (raw)
In-Reply-To: <CAAAK+WU-XC-aqAU4iCPLnKLLgAwtKmXMe2NKzGjFRvL34PcsjQ@mail.gmail.com>
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
prev parent reply other threads:[~2013-10-21 17:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131021170057.GB32366@kernel.dk \
--to=axboe@kernel.dk \
--cc=brianclam@gmail.com \
--cc=fio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox