RE: fio on AIX - fallocate error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Debug output attached

Mario Carino


-----Original Message-----
From: Jens Axboe [mailto:axboe@xxxxxxxxx] 
Sent: Thursday, April 10, 2014 12:35 PM
To: Carino, Mario; fio@xxxxxxxxxxxxxxx
Subject: Re: fio on AIX - fallocate error

On 04/10/2014 10:22 AM, Carino, Mario wrote:
> Here's the output. No need to break as it stopped immediately. All of the 4ktest files are zero length.
>
> Command line
> ./fio  --debug=file  examples/test1.fio
>
> fio: set debug option file
> file     48824354 dup files: 0
> file     48824354 add file 4ktest.0.0
> file     48824354 resize file array to 2 files
> file     48824354 file b0002028 "4ktest.0.0" added at 0
> 4ktest: (g=0): rw=randwrite, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=16
> file     48824354 dup files: 1
> file     48824354 add file 4ktest.15.0
> file     48824354 resize file array to 2 files
> file     48824354 file b00022a8 "4ktest.15.0" added at 0
> file     48824354 dup files: 1
> file     48824354 add file 4ktest.14.0
> file     48824354 resize file array to 2 files
> file     48824354 file b0002528 "4ktest.14.0" added at 0
> file     48824354 dup files: 1
> file     48824354 add file 4ktest.13.0
> file     48824354 resize file array to 2 files
> file     48824354 file b00027a8 "4ktest.13.0" added at 0
> file     48824354 dup files: 1
> file     48824354 add file 4ktest.12.0
> file     48824354 resize file array to 2 files
> file     48824354 file b0002a28 "4ktest.12.0" added at 0
> file     48824354 dup files: 1
> file     48824354 add file 4ktest.11.0
> file     48824354 resize file array to 2 files
> file     48824354 file b0002ca8 "4ktest.11.0" added at 0
> file     48824354 dup files: 1
> file     48824354 add file 4ktest.10.0
> file     48824354 resize file array to 2 files
> file     48824354 file b0002f28 "4ktest.10.0" added at 0
> file     48824354 dup files: 1
> file     48824354 add file 4ktest.9.0
> file     48824354 resize file array to 2 files
> file     48824354 file b00031a8 "4ktest.9.0" added at 0
> file     48824354 dup files: 1
> file     48824354 add file 4ktest.8.0
> file     48824354 resize file array to 2 files
> file     48824354 file b0003428 "4ktest.8.0" added at 0
> file     48824354 dup files: 1
> file     48824354 add file 4ktest.7.0
> file     48824354 resize file array to 2 files
> file     48824354 file b00036a8 "4ktest.7.0" added at 0
> file     48824354 dup files: 1
> file     48824354 add file 4ktest.6.0
> file     48824354 resize file array to 2 files
> file     48824354 file b0003928 "4ktest.6.0" added at 0
> file     48824354 dup files: 1
> file     48824354 add file 4ktest.5.0
> file     48824354 resize file array to 2 files
> file     48824354 file b0003ba8 "4ktest.5.0" added at 0
> file     48824354 dup files: 1
> file     48824354 add file 4ktest.4.0
> file     48824354 resize file array to 2 files
> file     48824354 file b0003e28 "4ktest.4.0" added at 0
> file     48824354 dup files: 1
> file     48824354 add file 4ktest.3.0
> file     48824354 resize file array to 2 files
> file     48824354 file b00040a8 "4ktest.3.0" added at 0
> file     48824354 dup files: 1
> file     48824354 add file 4ktest.2.0
> file     48824354 resize file array to 2 files
> file     48824354 file b0004328 "4ktest.2.0" added at 0
> file     48824354 dup files: 1
> file     48824354 add file 4ktest.1.0
> file     48824354 resize file array to 2 files
> file     48824354 file b00045a8 "4ktest.1.0" added at 0
> ...
> fio-2.1.7
> Starting 16 processes
> file     48824354 setup files
> file     48824354 get file size for b0002028/0/b0002148
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file     48824354 layout unlink 4ktest.0.0
> file     48824354 open file 4ktest.0.0, flags 101
> file     48824354 posix_fallocate file 4ktest.0.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file     48824354 setup files
> file     48824354 get file size for b00022a8/0/b00023c8
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file     48824354 layout unlink 4ktest.15.0
> file     48824354 open file 4ktest.15.0, flags 101
> file     48824354 posix_fallocate file 4ktest.15.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file     48824354 setup files
> file     48824354 get file size for b0002528/0/b0002648
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file     48824354 layout unlink 4ktest.14.0
> file     48824354 open file 4ktest.14.0, flags 101
> file     48824354 posix_fallocate file 4ktest.14.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file     48824354 setup files
> file     48824354 get file size for b00027a8/0/b00028c8
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file     48824354 layout unlink 4ktest.13.0
> file     48824354 open file 4ktest.13.0, flags 101
> file     48824354 posix_fallocate file 4ktest.13.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file     48824354 setup files
> file     48824354 get file size for b0002a28/0/b0002b48
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file     48824354 layout unlink 4ktest.12.0
> file     48824354 open file 4ktest.12.0, flags 101
> file     48824354 posix_fallocate file 4ktest.12.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file     48824354 setup files
> file     48824354 get file size for b0002ca8/0/b0002dc8
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file     48824354 layout unlink 4ktest.11.0
> file     48824354 open file 4ktest.11.0, flags 101
> file     48824354 posix_fallocate file 4ktest.11.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file     48824354 setup files
> file     48824354 get file size for b0002f28/0/b0003048
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file     48824354 layout unlink 4ktest.10.0
> file     48824354 open file 4ktest.10.0, flags 101
> file     48824354 posix_fallocate file 4ktest.10.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file     48824354 setup files
> file     48824354 get file size for b00031a8/0/b00032c8
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file     48824354 layout unlink 4ktest.9.0
> file     48824354 open file 4ktest.9.0, flags 101
> file     48824354 posix_fallocate file 4ktest.9.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file     48824354 setup files
> file     48824354 get file size for b0003428/0/b0003548
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file     48824354 layout unlink 4ktest.8.0
> file     48824354 open file 4ktest.8.0, flags 101
> file     48824354 posix_fallocate file 4ktest.8.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file     48824354 setup files
> file     48824354 get file size for b00036a8/0/b00037c8
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file     48824354 layout unlink 4ktest.7.0
> file     48824354 open file 4ktest.7.0, flags 101
> file     48824354 posix_fallocate file 4ktest.7.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file     48824354 setup files
> file     48824354 get file size for b0003928/0/b0003a48
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file     48824354 layout unlink 4ktest.6.0
> file     48824354 open file 4ktest.6.0, flags 101
> file     48824354 posix_fallocate file 4ktest.6.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file     48824354 setup files
> file     48824354 get file size for b0003ba8/0/b0003cc8
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file     48824354 layout unlink 4ktest.5.0
> file     48824354 open file 4ktest.5.0, flags 101
> file     48824354 posix_fallocate file 4ktest.5.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file     48824354 setup files
> file     48824354 get file size for b0003e28/0/b0003f48
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file     48824354 layout unlink 4ktest.4.0
> file     48824354 open file 4ktest.4.0, flags 101
> file     48824354 posix_fallocate file 4ktest.4.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file     48824354 setup files
> file     48824354 get file size for b00040a8/0/b00041c8
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file     48824354 layout unlink 4ktest.3.0
> file     48824354 open file 4ktest.3.0, flags 101
> file     48824354 posix_fallocate file 4ktest.3.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file     48824354 setup files
> file     48824354 get file size for b0004328/0/b0004448
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file     48824354 layout unlink 4ktest.2.0
> file     48824354 open file 4ktest.2.0, flags 101
> file     48824354 posix_fallocate file 4ktest.2.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file     48824354 setup files
> file     48824354 get file size for b00045a8/0/b00046c8
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file     48824354 layout unlink 4ktest.1.0
> file     48824354 open file 4ktest.1.0, flags 101
> file     48824354 posix_fallocate file 4ktest.1.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, 
> error=Invalid argument
>
>
> Run status group 0 (all jobs):

That's very weird, I wonder why fio exits. Can you try --debug=all instead and send that to me? Basically fallocate failing should not matter at all, the writes will extend the file. Perhaps sparse files don't work in AIX on your file system? In that case, you probably want
overwrite=1 to have fio lay out the file manually for you.


--
Jens Axboe

Attachment: fiodebug.out
Description: fiodebug.out


[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux