From: Jens Axboe <axboe@kernel.dk>
To: Yuyang Wang <yyalex.wang@gmail.com>, fio@vger.kernel.org
Subject: Re: fio laying out file question
Date: Wed, 16 Apr 2014 11:00:56 -0600 [thread overview]
Message-ID: <534EB748.70207@kernel.dk> (raw)
In-Reply-To: <CANyhEAtZQdnzCiQj77u+WbGkk1d6yXBnrHE0pKypbX0mDPNeeQ@mail.gmail.com>
On 04/16/2014 08:21 AM, Yuyang Wang wrote:
> hi all
>
> I am using fio (2.1.7) for a simple sequential write test (see command
> below). It seems the process will get stuck on "Laying out IO file" for a
> long long time ... Of course, smaller size take less time for layout, I
> am curious as to, is FIO trying to precreate the file before doing write,
> what's going on there?
>
> ./fio --rw=write --size=128g --bs=8m --filename=/test/$RANDOM
> --ioengine=posixaio --iodepth=16 --name=mytest
For a pure write, it wont layout the file completely first. I'm guessing
you are stuck in fallocate - depending on the file system, that will
fill out blocks. You can try and add fallocate=none, that should get rid
of it.
--
Jens Axboe
prev parent reply other threads:[~2014-04-16 17:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-16 14:21 fio laying out file question Yuyang Wang
2014-04-16 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=534EB748.70207@kernel.dk \
--to=axboe@kernel.dk \
--cc=fio@vger.kernel.org \
--cc=yyalex.wang@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