* Why not abort when posix_fallocate() failed?
@ 2013-08-12 7:23 xan.peng
2013-08-13 14:43 ` Jens Axboe
0 siblings, 1 reply; 6+ messages in thread
From: xan.peng @ 2013-08-12 7:23 UTC (permalink / raw)
To: fio
Hi all,
I'm recently reading fio source code and running it for test purpose.
A case bothered me which is fio keep going after posix_fallocate()
failed, I'm wondering why, shouldn't it abort immediately?
Information may be useful followed:
==part of the output==
fio: set debug option file
libaio.dat: (g=0): rw=randrw, bs=8K-8K/8K-8K/8K-8K, ioengine=libaio, iodepth=16
libaio.dat: Laying out IO file(s) (1 file(s) / 2048MB)
fio: posix_fallocate fails: No space left on device
fio: ENOSPC on laying out file, stopping
fio: io_u error on file /mnt/nfs/libaio.dat.1.0: No space left on device
write offset=1398325248, buflen=8192
fio: io_u error on file /mnt/nfs/libaio.dat.1.0: No space left on device
write offset=1994014720, buflen=8192
fio: pid=7152, err=28/file:io_u.c:1377, func=io_u error, error=No
space left on device
==reproduce==
dd if=/dev/zero of=/tmp/1gdisk bs=1M count=1024
losetup /dev/loop0 /tmp/1gdisk
mkfs.ext4 /dev/loop0
mount /dev/loop0 /mnt/loopfs
cat aio-bench # simplified here
// [global] ioengine=libaio,direct=1,rw=randrw,bs=8k,directory=/mnt/loopfs,time_based,runtime=10
// [libaio.dat] size=2g,iodepth=16
fio aio-bench
--
- Thanks.
- xan.peng
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Why not abort when posix_fallocate() failed?
2013-08-12 7:23 Why not abort when posix_fallocate() failed? xan.peng
@ 2013-08-13 14:43 ` Jens Axboe
2013-08-14 1:48 ` xan.peng
0 siblings, 1 reply; 6+ messages in thread
From: Jens Axboe @ 2013-08-13 14:43 UTC (permalink / raw)
To: xan.peng; +Cc: fio
On Mon, Aug 12 2013, xan.peng wrote:
> Hi all,
>
> I'm recently reading fio source code and running it for test purpose.
> A case bothered me which is fio keep going after posix_fallocate()
> failed, I'm wondering why, shouldn't it abort immediately?
Fio treats it as advisory, like fadvise. Back in the day, fallocate
would often not be available. So it would be hard to treat it as a full
error.
--
Jens Axboe
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Why not abort when posix_fallocate() failed?
2013-08-13 14:43 ` Jens Axboe
@ 2013-08-14 1:48 ` xan.peng
2013-08-16 5:38 ` FIO-2.1.2 Windows Binaries Availability Ritchie Babaylan
2013-08-16 5:44 ` Encountered Mix Access R/W Problem Ritchie Babaylan
0 siblings, 2 replies; 6+ messages in thread
From: xan.peng @ 2013-08-14 1:48 UTC (permalink / raw)
To: Jens Axboe; +Cc: fio
On Tue, Aug 13, 2013 at 10:43 PM, Jens Axboe <axboe@kernel.dk> wrote:
>> I'm recently reading fio source code and running it for test purpose.
>> A case bothered me which is fio keep going after posix_fallocate()
>> failed, I'm wondering why, shouldn't it abort immediately?
>
> Fio treats it as advisory, like fadvise. Back in the day, fallocate
> would often not be available. So it would be hard to treat it as a full
> error.
Thanks. This sounds very reasonable to me.
--
- Thanks.
- xan.peng
^ permalink raw reply [flat|nested] 6+ messages in thread
* FIO-2.1.2 Windows Binaries Availability
2013-08-14 1:48 ` xan.peng
@ 2013-08-16 5:38 ` Ritchie Babaylan
2013-08-16 5:44 ` Encountered Mix Access R/W Problem Ritchie Babaylan
1 sibling, 0 replies; 6+ messages in thread
From: Ritchie Babaylan @ 2013-08-16 5:38 UTC (permalink / raw)
To: fio@vger.kernel.org
Hi,
I'd like to know if someone already made a Windows binaries for x32 and x64 platform for FIO-2.1.2. I check http://www.bluestop.org/fio/, they don't have yet.
�
Thanks,
�
Ritchie Babaylan
Advance CORE Engineering
BiTMICRO Networks, Inc.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Encountered Mix Access R/W Problem
2013-08-14 1:48 ` xan.peng
2013-08-16 5:38 ` FIO-2.1.2 Windows Binaries Availability Ritchie Babaylan
@ 2013-08-16 5:44 ` Ritchie Babaylan
2013-08-19 1:24 ` xan.peng
1 sibling, 1 reply; 6+ messages in thread
From: Ritchie Babaylan @ 2013-08-16 5:44 UTC (permalink / raw)
To: fio@vger.kernel.org
Hi,
I use FIO-2.1.1 in one of my system running a simple workload with the following details.
64KB; 60% Sequential 60% Read; 1-Depth / 1-Job
64KB; 30% Sequential 60% Read; 1-Depth / 1-Job
The result of the metrics for Read/Write access are zero as reflected on the command line in Windows 7 32-bit. I'd like to seek help why I am getting a zero metrics on Read/Write access.
�
Thanks,
�
Ritchie Babaylan
Advance CORE Engineering
BiTMICRO Networks, Inc.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Encountered Mix Access R/W Problem
2013-08-16 5:44 ` Encountered Mix Access R/W Problem Ritchie Babaylan
@ 2013-08-19 1:24 ` xan.peng
0 siblings, 0 replies; 6+ messages in thread
From: xan.peng @ 2013-08-19 1:24 UTC (permalink / raw)
To: Ritchie Babaylan; +Cc: fio@vger.kernel.org
On Fri, Aug 16, 2013 at 1:44 PM, Ritchie Babaylan
<Ritchie.Babaylan@bitmicro.com> wrote:
> Hi,
>
> I use FIO-2.1.1 in one of my system running a simple workload with the following details.
> 64KB; 60% Sequential 60% Read; 1-Depth / 1-Job
> 64KB; 30% Sequential 60% Read; 1-Depth / 1-Job
>
> The result of the metrics for Read/Write access are zero as reflected on the command line in Windows 7 32-bit. I'd like to seek help why I am getting a zero metrics on Read/Write access.
I'm a rookie to fio :). And I have seen zero metics when I used loop
device on Ubuntu. Did you use a pseudo-device?
Can you post the whole fio script content?
--
-Thanks.
- xan.peng
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-08-19 1:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-12 7:23 Why not abort when posix_fallocate() failed? xan.peng
2013-08-13 14:43 ` Jens Axboe
2013-08-14 1:48 ` xan.peng
2013-08-16 5:38 ` FIO-2.1.2 Windows Binaries Availability Ritchie Babaylan
2013-08-16 5:44 ` Encountered Mix Access R/W Problem Ritchie Babaylan
2013-08-19 1:24 ` xan.peng
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.