Flexible I/O Tester development
 help / color / mirror / Atom feed
From: "Georg Schönberger" <gschoenberger@thomas-krenn.com>
To: Jens Axboe <axboe@kernel.dk>, fio@vger.kernel.org
Subject: Re: Tell fio to only lay out files
Date: Wed, 02 May 2012 14:25:43 +0200	[thread overview]
Message-ID: <4FA127C7.9040401@thomas-krenn.com> (raw)
In-Reply-To: <4FA1255F.9020301@kernel.dk>

Am 2012-05-02 14:15, schrieb Jens Axboe:
> On 05/02/2012 02:12 PM, Georg Schᅵnberger wrote:
>> Same error after a clean compilation.
>> $ fio --version
>> fio-2.0.7-13-g3b7f
>> $ fio --create_only --name=test-read-4k-4G-1-jobs --directory=./tests
>> --rw=read --size=10M --bs=4k --numjobs=4
>> max value out of range: 4 (1 max)
>> max value out of range: 4 (1 max)
> Please don't top post, reply beneath what you are replying to.
>
> Parser looks confused, because you forgot to add the value for the
> create_only option. If you use --create_only=1 instead, it should work.
>
> I wonder why that isn't caught in the command line variant, if you put
> it in a job file it does catch it:
>
> axboe@nelson:/home/axboe/git/fio $ ./fio seq-null 
> Option create_only requires an argument
> fio: failed parsing create_only
> fio: job global dropped
>
> I'll take a look at that separately.
>
That works now:
$ fio --create_only=1 --name=test --directory=./tests --rw=read
--size=10M --bs=4k --numjobs=4
test: (g=0): rw=read, bs=4K-4K/4K-4K, ioengine=sync, iodepth=1
...
test: (g=0): rw=read, bs=4K-4K/4K-4K, ioengine=sync, iodepth=1
fio-2.0.7-13-g3b7f
Starting 4 processes
test: Laying out IO file(s) (1 file(s) / 10MB)
test: Laying out IO file(s) (1 file(s) / 10MB)
test: Laying out IO file(s) (1 file(s) / 10MB)
test: Laying out IO file(s) (1 file(s) / 10MB)


Run status group 0 (all jobs):
$ ls tests/
test.1.0  test.2.0  test.3.0  test.4.0

Nice!
Thanks, Georg

P.S.: Sorry for top posting




  reply	other threads:[~2012-05-02 12:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-02  9:15 Tell fio to only lay out files Georg Schönberger
2012-05-02 10:35 ` Jens Axboe
2012-05-02 11:51   ` Georg Schönberger
2012-05-02 11:55     ` Jens Axboe
2012-05-02 12:06       ` Georg Schönberger
2012-05-02 12:08         ` Jens Axboe
2012-05-02 12:12           ` Georg Schönberger
2012-05-02 12:15             ` Jens Axboe
2012-05-02 12:25               ` Georg Schönberger [this message]
2012-05-09 20:52                 ` Vikram Seth
2012-05-09 20:53                   ` Jens Axboe
2012-05-09 22:10                     ` Vikram Seth
2012-05-09 23:49                       ` 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=4FA127C7.9040401@thomas-krenn.com \
    --to=gschoenberger@thomas-krenn.com \
    --cc=axboe@kernel.dk \
    --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