* io_u->flags & IO_U_F_FLIGHT failed errors when using libaio
@ 2015-02-06 20:03 Lakshmi
2015-02-06 21:12 ` Andrey Kuzmin
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Lakshmi @ 2015-02-06 20:03 UTC (permalink / raw)
To: Jens Axboe, fio@vger.kernel.org
[-- Attachment #1: Type: text/plain, Size: 370 bytes --]
Hi Jens,
I have a job file that looks like below and it keeps giving errors
like attached in screen shot. I am using fio-2.2.4
cmd="$FIO --name=test --group_reporting=1 --ioengine=libaio
--invalidate=1 --iodepth=32 --bs=4K --filename=/dev/sde --rw=randread
--direct=1 --buffered=0 --time_based --runtime=300 --numjobs=64"
Any idea what is causing this?
Thanks
LD
[-- Attachment #2: IO_U_F_FLIGHT error.png --]
[-- Type: image/png, Size: 10524 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: io_u->flags & IO_U_F_FLIGHT failed errors when using libaio
2015-02-06 20:03 io_u->flags & IO_U_F_FLIGHT failed errors when using libaio Lakshmi
@ 2015-02-06 21:12 ` Andrey Kuzmin
2015-02-06 21:13 ` Jens Axboe
2015-02-07 7:02 ` Sitsofe Wheeler
2 siblings, 0 replies; 6+ messages in thread
From: Andrey Kuzmin @ 2015-02-06 21:12 UTC (permalink / raw)
To: Lakshmi; +Cc: Jens Axboe, fio@vger.kernel.org
On Fri, Feb 6, 2015 at 11:03 PM, Lakshmi <sendtold@gmail.com> wrote:
> Hi Jens,
> I have a job file that looks like below and it keeps giving errors
> like attached in screen shot. I am using fio-2.2.4
>
> cmd="$FIO --name=test --group_reporting=1 --ioengine=libaio
> --invalidate=1 --iodepth=32 --bs=4K --filename=/dev/sde --rw=randread
> --direct=1 --buffered=0 --time_based --runtime=300 --numjobs=64"
While t's perfectly legal, you're setting a rather large total io
depth for a single device (32 by 64), but otherwise the job seems fine
(and runs fine against a regular file with fio 2.2.5 here). If the bug
persists, you might want to rerun it under gdb to get a clue (such as
to print out the io_u that triggers the assert).
Regards,
Andrey
>
> Any idea what is causing this?
>
> Thanks
> LD
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: io_u->flags & IO_U_F_FLIGHT failed errors when using libaio
2015-02-06 20:03 io_u->flags & IO_U_F_FLIGHT failed errors when using libaio Lakshmi
2015-02-06 21:12 ` Andrey Kuzmin
@ 2015-02-06 21:13 ` Jens Axboe
2015-02-06 23:32 ` Of
2015-02-07 7:02 ` Sitsofe Wheeler
2 siblings, 1 reply; 6+ messages in thread
From: Jens Axboe @ 2015-02-06 21:13 UTC (permalink / raw)
To: Lakshmi, fio@vger.kernel.org
On 02/06/2015 01:03 PM, Lakshmi wrote:
> Hi Jens,
> I have a job file that looks like below and it keeps giving errors
> like attached in screen shot. I am using fio-2.2.4
>
> cmd="$FIO --name=test --group_reporting=1 --ioengine=libaio
> --invalidate=1 --iodepth=32 --bs=4K --filename=/dev/sde --rw=randread
> --direct=1 --buffered=0 --time_based --runtime=300 --numjobs=64"
>
> Any idea what is causing this?
Is this on ppc64?
--
Jens Axboe
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: io_u->flags & IO_U_F_FLIGHT failed errors when using libaio
2015-02-06 21:13 ` Jens Axboe
@ 2015-02-06 23:32 ` Of
2015-02-07 17:12 ` Jens Axboe
0 siblings, 1 reply; 6+ messages in thread
From: Of @ 2015-02-06 23:32 UTC (permalink / raw)
To: Jens Axboe; +Cc: fio@vger.kernel.org
Yes Jens it is ppc64
Sent from my iPhone
> On Feb 6, 2015, at 3:13 PM, Jens Axboe <axboe@kernel.dk> wrote:
>
>> On 02/06/2015 01:03 PM, Lakshmi wrote:
>> Hi Jens,
>> I have a job file that looks like below and it keeps giving errors
>> like attached in screen shot. I am using fio-2.2.4
>>
>> cmd="$FIO --name=test --group_reporting=1 --ioengine=libaio
>> --invalidate=1 --iodepth=32 --bs=4K --filename=/dev/sde --rw=randread
>> --direct=1 --buffered=0 --time_based --runtime=300 --numjobs=64"
>>
>> Any idea what is causing this?
>
> Is this on ppc64?
>
>
> --
> Jens Axboe
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: io_u->flags & IO_U_F_FLIGHT failed errors when using libaio
2015-02-06 20:03 io_u->flags & IO_U_F_FLIGHT failed errors when using libaio Lakshmi
2015-02-06 21:12 ` Andrey Kuzmin
2015-02-06 21:13 ` Jens Axboe
@ 2015-02-07 7:02 ` Sitsofe Wheeler
2 siblings, 0 replies; 6+ messages in thread
From: Sitsofe Wheeler @ 2015-02-07 7:02 UTC (permalink / raw)
To: Lakshmi; +Cc: Jens Axboe, fio@vger.kernel.org
On 6 February 2015 at 20:03, Lakshmi <sendtold@gmail.com> wrote:
>
> cmd="$FIO --name=test --group_reporting=1 --ioengine=libaio
> --invalidate=1 --iodepth=32 --bs=4K --filename=/dev/sde --rw=randread
> --direct=1 --buffered=0 --time_based --runtime=300 --numjobs=64"
I could be wrong but doesn't an iodepth of 32 and 64 jobs means that
you would try and queue up 2048 (32*64) 4K I/Os on the same disk at
once? Does /dev/sde really have a queue depth that high (cat
/sys/block/sde/queue/nr_requests will tell you the kernel side) and is
that your intent?
--
Sitsofe | http://sucs.org/~sits/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: io_u->flags & IO_U_F_FLIGHT failed errors when using libaio
2015-02-06 23:32 ` Of
@ 2015-02-07 17:12 ` Jens Axboe
0 siblings, 0 replies; 6+ messages in thread
From: Jens Axboe @ 2015-02-07 17:12 UTC (permalink / raw)
To: Of; +Cc: fio@vger.kernel.org
On 02/06/2015 04:32 PM, Of wrote:
> Yes Jens it is ppc64
I'm pretty sure we have some memory ordering issues, or perhaps the
barriers on ppc64 are just wrong. I'll have to check them.
The job:
>>> cmd="$FIO --name=test --group_reporting=1 --ioengine=libaio
>>> --invalidate=1 --iodepth=32 --bs=4K --filename=/dev/sde --rw=randread
>>> --direct=1 --buffered=0 --time_based --runtime=300 --numjobs=64"
does indeed have 32 * 64 potentially pending, which is huge. So there
are valid questions on whether this is really what you want. But
regardless of that, it should not pose a problem for fio.
Is this on Linux? If so, can you send the output of /proc/cpuinfo, so I
can see what CPU this is exactly.
--
Jens Axboe
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-02-07 17:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-06 20:03 io_u->flags & IO_U_F_FLIGHT failed errors when using libaio Lakshmi
2015-02-06 21:12 ` Andrey Kuzmin
2015-02-06 21:13 ` Jens Axboe
2015-02-06 23:32 ` Of
2015-02-07 17:12 ` Jens Axboe
2015-02-07 7:02 ` Sitsofe Wheeler
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.