From: Jens Axboe <jaxboe@fusionio.com>
To: "Georg Schönberger" <gschoenberger@thomas-krenn.com>
Cc: "fio@vger.kernel.org" <fio@vger.kernel.org>
Subject: Re: Error running Fio SSD example
Date: Fri, 8 Jun 2012 20:44:23 +0200 [thread overview]
Message-ID: <4FD24807.8080700@fusionio.com> (raw)
In-Reply-To: <4FD23443.6020705@thomas-krenn.com>
On 2012-06-08 19:20, Georg Schᅵnberger wrote:
> Am 2012-06-08 14:47, schrieb Jens Axboe:
>> On 06/01/2012 12:06 PM, Georg Schᅵnberger wrote:
>>> Hello again,
>>>
>>> I am having some troubles with running the fio example "ssd-test". I
>>> changed the global section to decrease the size:
>>> [global]
>>> bs=4k
>>> ioengine=libaio
>>> iodepth=4
>>> size=100M
>>> direct=1
>>> runtime=60
>>> filename=ssd.test.file
>>>
>>> If I am running Fio I get the following error:
>>> ----------------------------------------
>>> fio.git/examples$ fio ssd-test
>>> seq-read: (g=0): rw=read, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=4
>>> rand-read: (g=1): rw=randread, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=4
>>> seq-write: (g=2): rw=write, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=4
>>> rand-write: (g=3): rw=randwrite, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=4
>>> fio-2.0.8
>>> Starting 4 processes
>>> fio: pid=17997, err=22/file:filesetup.c:529, func=open(ssd.test.file),
>>> error=Invalid argument
>>> fio: pid=17998, err=22/file:filesetup.c:529, func=open(ssd.test.file),
>>> error=Invalid argument
>>> fio: pid=17999, err=22/file:filesetup.c:529, func=open(ssd.test.file),
>>> error=Invalid argument
>>> fio: pid=18000, err=22/file:filesetup.c:529, func=open(ssd.test.file),
>>> error=Invalid argument
>> Looks like the file system hosting the test file does not support
>> O_DIRECT.
>>
> The file system is ext4.
> Kernel Version 3.2.0-24-generic
And you aren't running the job file in some other location? ext4 would
definitely work. Please do:
# strace -o strace.out -f fio ssd-test
and send me strace.out (gzip'ed). Also include a pwd from where you are
running it, and output of the 'mount' command.
--
Jens Axboe
next prev parent reply other threads:[~2012-06-08 18:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-01 10:06 Error running Fio SSD example Georg Schönberger
2012-06-08 12:47 ` Jens Axboe
2012-06-08 17:20 ` Georg Schönberger
2012-06-08 18:44 ` Jens Axboe [this message]
2012-06-11 7:00 ` Georg Schönberger
2012-06-11 7:04 ` Georg Schönberger
2012-06-11 7:24 ` Georg Schönberger
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=4FD24807.8080700@fusionio.com \
--to=jaxboe@fusionio.com \
--cc=fio@vger.kernel.org \
--cc=gschoenberger@thomas-krenn.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 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.