Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: "Neto, Antonio Jose Rodrigues" <Antonio.Jose.Rodrigues.Neto@netapp.com>
Cc: "fio@vger.kernel.org" <fio@vger.kernel.org>
Subject: Re: Simulating Real Random I/O with FIO
Date: Wed, 6 Feb 2013 14:10:31 +0100	[thread overview]
Message-ID: <20130206131031.GT15092@kernel.dk> (raw)
In-Reply-To: <843E15216120C047928F6879B0E2D9240F6E5583@SACEXCMBX02-PRD.hq.netapp.com>

On Mon, Feb 04 2013, Neto, Antonio Jose Rodrigues wrote:
> Hi All,
> 
> This is neto from Brazil
> 
> How are you?
> 
> I am doing a performance POC and I need to simulate 100% true random workload. I am using Fibre Channel and Windows 2008R2.
> 
> I have 8 LUNs (125GB each) and my configuration file is:
> 
> [workload]
> bs=8k
> ioengine=windowsaio
> iodepth=3
> numjobs=35
> direct=1
> runtime=120
> size=1024g
> filename=\\.\PhysicalDrive1
> filename=\\.\PhysicalDrive2
> filename=\\.\PhysicalDrive3
> filename=\\.\PhysicalDrive4
> filename=\\.\PhysicalDrive5
> filename=\\.\PhysicalDrive6
> filename=\\.\PhysicalDrive7
> filename=\\.\PhysicalDrive8
> zonesize=1024m
> zoneskip=3g
> rw=randrw
> rwmixread=80
> rwmixwrite=20
> thread
> unified_rw_reporting=1
> group_reporting=1
> randrepeat=0
> norandommap
> 
> Questions:
> 
> 1) I am assuming the working set is the size parameter that is 1TB. Is
> that correct?

Correct

> 2) What is the correlaction of the zonesize and zoneskip with the
> randomness? Adding those will help with the randomness of the workload
> or not? 

Your setting of zonesize=1g, skip=3g, will do random read/write within a
1gb zone (so from 0-1G initially), then move to the next zone (3G-4G),
etc. For a rotating drive, this will mean shorter seeks, since while it
is doing one zone, it will only seek within that zone.

> 3) If I use zonesize=1024m and zoneskip=3g I have like 100K IOPS
> (coming from cache not disks) and if I use zonesize=10g and
> zoneskip=26g I have more realistic numbers. Could someone explain
> which is the a good example to use zonesize and zoneskip?

Depends on what you want, really. With zonesize=10g, you are now seeking
in a 10x wider area than you were before.

> 4) Is it possible with fio to specify per disk randomness area: For
> example: disk1 - start blocks 456 till blocks 3456, disk2 - start
> blocks 4567 to 103456

You'd have to use different jobs. You above example uses 8 disks and
accesses them from all 35 jobs. You could split it a bit, so that you
have 8 sections, each accessing one disk. You could have 4 jobs in each
section, giving you a total of 32 jobs. Then you can set offset/size for
each job separately.

-- 
Jens Axboe


  reply	other threads:[~2013-02-06 13:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-04 22:42 Simulating Real Random I/O with FIO Neto, Antonio Jose Rodrigues
2013-02-06 13:10 ` Jens Axboe [this message]
2013-02-06 13:19   ` Neto, Antonio Jose Rodrigues

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=20130206131031.GT15092@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=Antonio.Jose.Rodrigues.Neto@netapp.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