From: Jens Axboe <axboe@kernel.dk>
To: Sitsofe Wheeler <sitsofe@gmail.com>
Cc: fio@vger.kernel.org
Subject: Re: Spurious verification mismatch?
Date: Wed, 13 Aug 2014 14:15:27 -0600 [thread overview]
Message-ID: <53EBC75F.8070308@kernel.dk> (raw)
In-Reply-To: <20140812045621.GA26083@sucs.org>
On 08/11/2014 10:56 PM, Sitsofe Wheeler wrote:
> (Resending with list cc)
>
> On 7 August 2014 22:27, Jens Axboe <axboe@kernel.dk> wrote:
>> On 08/05/2014 09:22 AM, Sitsofe Wheeler wrote:
>>> When trying to use fio from git
>>> ae7e055f755e77dfa71ae9040250ce8eec238721 (commit dated July 25th) the
>>> following line always fails at the same point:
>>>
>>> ./fio --randseed=1 --ioengine=libaio --iodepth=1 --bs=64k
>>> --rw=randwrite --verify=meta --verify_backlog=50 --filename
>>> /dev/shm/foo --size=8M --time_based --runtime=1m --name=go
>>>
>>> Switching --loops=4 for --time_based --runtime=1m doesn't resulted in
>>> the same error.
>>>
>>> Is this fio job malformed?
>>
>> No, the job is fine, it's yet another case where the numberio
>> verification for meta fails miserably. Try current git, I committed a
>> one liner for it.
>
> Yup that fixes it. I've got one more mismatch query although with a
> different job file:
>
> fio --thread --direct=1 --ioengine=libaio --iodepth=128 --bs=64k
> --rw=randwrite --verify=xxhash --verify_backlog=50 --filename
> /dev/sdaw --name=go --time_based --runtime=2m --size=1M
>
> I've got a case where this generates verification error before the job
> completes. However on most of the other disks I have tried (virtual
> disks, RAM disks etc) this job runs without issues. Once again
> replacing --time_based --runtime with --loops makes the issue go
> aways. Further, switching the ioscheduler for this disk from cfq to
> noop also makes the problem go away (I've disabled merging by echoing
> 1 into nomerges)...
>
> Could it be this job submits different I/O to the same position in the
> same batch? If so isn't the result undefined? Why would using noop
> solve the issue?
It's most likely a bug that is timing dependent, which is why certain
changes to the IO path below fio will make a difference. I'll take a
look at this.
--
Jens Axboe
next prev parent reply other threads:[~2014-08-13 20:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-05 15:22 Spurious verification mismatch? Sitsofe Wheeler
2014-08-07 21:27 ` Jens Axboe
2014-08-12 4:56 ` Sitsofe Wheeler
2014-08-13 20:15 ` Jens Axboe [this message]
2014-08-28 22:03 ` Sitsofe Wheeler
2014-08-28 22:57 ` Elliott, Robert (Server Storage)
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=53EBC75F.8070308@kernel.dk \
--to=axboe@kernel.dk \
--cc=fio@vger.kernel.org \
--cc=sitsofe@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