Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: John Williams <jwilliams4200@gmail.com>
Cc: Brian Carey <brian@careydrive.com>, fio@vger.kernel.org
Subject: Re: Random IO pattern ratios
Date: Fri, 26 Apr 2013 08:57:54 -0600	[thread overview]
Message-ID: <20130426145754.GR9563@kernel.dk> (raw)
In-Reply-To: <20130426144736.GQ9563@kernel.dk>

On Fri, Apr 26 2013, Jens Axboe wrote:
> On Fri, Apr 26 2013, Jens Axboe wrote:
> > On Thu, Apr 25 2013, John Williams wrote:
> > > Are there any plans to add %random / %sequential capability to fio?
> > > 
> > > That is the only feature IOMeter has that I miss in fio.
> > 
> > Sure, that'd be pretty easy to add. Let me take a look this morning.
> 
> Done. Did a few test runs to check it.
> 
> percentage_random=50
> Random: 16313 (50.036808), Seq: 16289 (49.963192)
> 
> percentage_random=10
> Random: 3239 (9.942292), Seq: 29339 (90.057708)
> 
> percentage_random=72
> Random: 23467 (71.993496), Seq: 9129 (28.006504)
> 
> percentage_random=100
> Random: 32596 (99.990797), Seq: 3 (0.009203)
> 
> percentage_random=0
> Random: 1 (0.003066), Seq: 32613 (99.996934)
> 
> Note that the first IO is always counted as random, which is why the =0
> test says only 99.996% sequential. In fact it is fully sequential.

Committed with documentation:

http://git.kernel.dk/?p=fio.git;a=commit;h=211c9b8948b43ed47aedf1227e0444a58db015e4

So you can just grab the latest generated snapshot, or git update.

-- 
Jens Axboe


  reply	other threads:[~2013-04-26 14:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-25 14:47 Random IO pattern ratios Brian Carey
2013-04-26  3:44 ` Jens Axboe
2013-04-26  4:32   ` John Williams
2013-04-26 11:49     ` Brian Carey
2013-04-26 11:53     ` Brian Carey
2013-04-26 13:42     ` Jens Axboe
2013-04-26 14:47       ` Jens Axboe
2013-04-26 14:57         ` Jens Axboe [this message]
2013-04-26 17:52         ` John Williams

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=20130426145754.GR9563@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=brian@careydrive.com \
    --cc=fio@vger.kernel.org \
    --cc=jwilliams4200@gmail.com \
    /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