* linux io_submit syscall duration
@ 2006-11-15 7:39 Raz Ben-Jehuda(caro)
2006-11-15 7:47 ` Jens Axboe
0 siblings, 1 reply; 3+ messages in thread
From: Raz Ben-Jehuda(caro) @ 2006-11-15 7:39 UTC (permalink / raw)
To: linux-aio, Linux Kernel; +Cc: bcrl, zach.brown
Bnejamin hello.
My name is raz and i have encountered a problem with io_submit.
The maximum duration of a single io_submit operation when
heavily stressing the system with large number of big (1MB) ios,
reaches several hundereds ms.
I have been profiling it and it seems that the problem is the
file->f_op->aio_read operation,
a call that is made in fs/aio.c when coming from:
sys_io_submit -->
io_submit_one -->
aio_run_iocb -->
*retry
The test is initiating several hundered 1MB IOs over a single block device.
I understand that the assumption made was aio_read is asynchronous and no
delay will occure, but isn't possible to do it in the workqueue context ?
would appreciate your help.
thank you
raz
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux io_submit syscall duration
2006-11-15 7:39 linux io_submit syscall duration Raz Ben-Jehuda(caro)
@ 2006-11-15 7:47 ` Jens Axboe
[not found] ` <5d96567b0611150143n1a7cc16dgea39fba748a2de7f@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Jens Axboe @ 2006-11-15 7:47 UTC (permalink / raw)
To: Raz Ben-Jehuda(caro); +Cc: linux-aio, Linux Kernel, bcrl, zach.brown
On Wed, Nov 15 2006, Raz Ben-Jehuda(caro) wrote:
> Bnejamin hello.
>
> My name is raz and i have encountered a problem with io_submit.
> The maximum duration of a single io_submit operation when
> heavily stressing the system with large number of big (1MB) ios,
> reaches several hundereds ms.
>
> I have been profiling it and it seems that the problem is the
> file->f_op->aio_read operation,
> a call that is made in fs/aio.c when coming from:
> sys_io_submit -->
> io_submit_one -->
> aio_run_iocb -->
> *retry
>
>
> The test is initiating several hundered 1MB IOs over a single block device.
>
> I understand that the assumption made was aio_read is asynchronous and no
> delay will occure, but isn't possible to do it in the workqueue context ?
This was discussed no more than a week ago on this list, please search the
archives for the thread.
--
Jens Axboe
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-15 9:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-15 7:39 linux io_submit syscall duration Raz Ben-Jehuda(caro)
2006-11-15 7:47 ` Jens Axboe
[not found] ` <5d96567b0611150143n1a7cc16dgea39fba748a2de7f@mail.gmail.com>
2006-11-15 9:47 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox