* Running Fio under AIX 7
[not found] <609024196.540203.1377760973880.JavaMail.root@thomas-krenn.com>
@ 2013-08-30 11:53 ` Georg Schönberger
2013-08-30 16:11 ` Jens Axboe
0 siblings, 1 reply; 3+ messages in thread
From: Georg Schönberger @ 2013-08-30 11:53 UTC (permalink / raw)
To: fio
Hi fio users,
I am trying to run Fio under AIX 7 - according to the documentation there shouldn't be any problem with it.
For now I am getting the following error, do you have any idea what's the problem here (filesystem jfs/jfs2)?
Thanks for you help, Georg
/tmp/fio-2.1.2/fio-2.1.2# fio --rw=write --name=test --size=10M
test: (g=0): rw=write, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=1
fio-2.1.2
Starting 1 process
test: Laying out IO file(s) (1 file(s) / 10MB)
fio: posix_fallocate fails: Invalid argument
fio: pid=0, err=22/file:filesetup.c:412, func=invalidate_cache, error=Invalid argument
Run status group 0 (all jobs):
With ''--debug'' on:
...
time 17105066 inv_cycles_per_usec=32768
mutex 17105066 wait on startup_mutex
mutex 17105066 done waiting on startup_mutex
Starting 1 process
file 17105066 setup files
process 17105066 pid=0: runstate 0 -> 4
file 17105066 get file size for b0002028/0/b0002148
test: Laying out IO file(s) (1 file(s) / 10MB)
file 17105066 layout unlink test.1.0
file 17105066 open file test.1.0, flags 101
file 17105066 posix_fallocate file test.1.0 size 10485760
fio: posix_fallocate fails: Invalid argument
io 17105066 invalidate cache test.1.0: 0/10485760
process 17105066 pid=0: runstate 4 -> 0
fio: pid=0, err=22/file:filesetup.c:412, func=invalidate_cache, error=Invalid argument
process 17105066 pid=0: runstate 0 -> 10
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Running Fio under AIX 7
2013-08-30 11:53 ` Running Fio under AIX 7 Georg Schönberger
@ 2013-08-30 16:11 ` Jens Axboe
2013-09-17 9:59 ` Georg Schönberger
0 siblings, 1 reply; 3+ messages in thread
From: Jens Axboe @ 2013-08-30 16:11 UTC (permalink / raw)
To: Georg Schönberger; +Cc: fio
On 08/30/2013 05:53 AM, Georg Schönberger wrote:
> Hi fio users,
>
> I am trying to run Fio under AIX 7 - according to the documentation there shouldn't be any problem with it.
> For now I am getting the following error, do you have any idea what's the problem here (filesystem jfs/jfs2)?
Odd, so it's posix_fadvise() getting EINVAL. Most likely reason for that
is that fio is not picking up the right values for it.
It finds them here, on this platform:
AIX aixbuild 3 5 00C1DC964C00
Does it need some other magic on AIX 7 to find them? You can bypass the
error by setting invalidate_cache=0, but it would be great if you could
dig around a bit in /usr/include and see what is up. Alternatively, if I
can log into the machine, I can definitely fix it up.
--
Jens Axboe
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Running Fio under AIX 7
2013-08-30 16:11 ` Jens Axboe
@ 2013-09-17 9:59 ` Georg Schönberger
0 siblings, 0 replies; 3+ messages in thread
From: Georg Schönberger @ 2013-09-17 9:59 UTC (permalink / raw)
To: Jens Axboe; +Cc: fio
Hi Jens,
----- Original Message -----
> From: "Jens Axboe" <axboe@kernel.dk>
> To: "Georg Schönberger" <gschoenberger@thomas-krenn.com>
> Cc: fio@vger.kernel.org
> Sent: Friday, 30 August, 2013 6:11:19 PM
> Subject: Re: Running Fio under AIX 7
>
> On 08/30/2013 05:53 AM, Georg Schönberger wrote:
> > Hi fio users,
> >
> > I am trying to run Fio under AIX 7 - according to the documentation
> > there shouldn't be any problem with it.
> > For now I am getting the following error, do you have any idea
> > what's the problem here (filesystem jfs/jfs2)?
>
> Odd, so it's posix_fadvise() getting EINVAL. Most likely reason for
> that
> is that fio is not picking up the right values for it.
>
> It finds them here, on this platform:
>
> AIX aixbuild 3 5 00C1DC964C00
>
> Does it need some other magic on AIX 7 to find them? You can bypass
> the
> error by setting invalidate_cache=0, but it would be great if you
> could
> dig around a bit in /usr/include and see what is up. Alternatively,
> if I
> can log into the machine, I can definitely fix it up.
Setting invalidate=0 did not fix the error. Or do I have to set it an other option?
# fio --rw=write --name=test --size=10M --invalidate=0
test: (g=0): rw=write, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=1
fio-2.1.2
Starting 1 process
test: Laying out IO file(s) (1 file(s) / 10MB)
fio: posix_fallocate fails: Invalid argument
fio: pid=0, err=22/file:filesetup.c:412, func=invalidate_cache, error=Invalid argument
What did you mean with digging around in /usr/include? I expect you mean to look at posix_fadvise, but what information do you exactly need?
Thanks a lot, Georg
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-09-17 9:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <609024196.540203.1377760973880.JavaMail.root@thomas-krenn.com>
2013-08-30 11:53 ` Running Fio under AIX 7 Georg Schönberger
2013-08-30 16:11 ` Jens Axboe
2013-09-17 9:59 ` Georg Schönberger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox