All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: "Ricardo M. Correia" <Ricardo.M.Correia@Sun.COM>
Cc: fio@vger.kernel.org
Subject: Re: Verification failures with mixed read/write case
Date: Tue, 23 Feb 2010 10:28:49 +0100	[thread overview]
Message-ID: <20100223092849.GP1025@kernel.dk> (raw)
In-Reply-To: <1266456009.19149.72.camel@cfslap.wizy.org>

On Thu, Feb 18 2010, Ricardo M. Correia wrote:
> (Please CC me in the reply, I'm not subscribed)
> 
> Hi,
> 
> I've been observing verification failures with the following
> configuration file:
> 
> -----------
> [global]
> ioengine=libaio
> iodepth=30
> rw=randrw
> bs=512-128k
> direct=1
> rwmixcycle=40
> verify=sha256
> verify_async=8
> 
> [/dev/sda2]
> --------------------
> 
> This happens on both RHEL5.4 and Ubuntu 9.10.
> 
> I was observing that with fio-1.36, but I just tried cloning fio from
> the git repo and I'm experiencing the same problem.
> 
> Any ideas of what might be wrong?
> 
> I found this email of a few months ago:
> http://www.spinics.net/lists/fio/msg00205.html
> 
> And I just verified that this patch is in my just-cloned git tree.

Mixed read-write workloads generally don't work well with verify. The
reason being that if you do verify && read, then fio will assume that
you want to verify previously written data. That should not happen for a
generated read as part of a mixed workload, I'll check what happens
here.

> Also, an unrelated issue is that fio complains about 'rwmixcycle' being
> deprecated but the man page doesn't specify what parameter I should be
> using instead.

The time based approach didn't work well for buffered writes, so it was
switched to an issue based count instead only. So you use
rwmixread/rwmixwrite to set the percentages.

-- 
Jens Axboe


  parent reply	other threads:[~2010-02-23  9:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-18  1:20 Verification failures with mixed read/write case Ricardo M. Correia
2010-02-18  1:35 ` Ricardo M. Correia
2010-02-23  9:28 ` Jens Axboe [this message]
2010-02-23  9:36   ` Jens Axboe
2010-02-23 13:48     ` Ricardo M. Correia
2010-02-23 13:59       ` Jens Axboe

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=20100223092849.GP1025@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=Ricardo.M.Correia@Sun.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.