From: "Raz Ben-Jehuda(caro)" <raziebe@gmail.com>
To: linux-aio@kvack.org, "Linux Kernel" <linux-kernel@vger.kernel.org>
Cc: bcrl@kvack.org, zach.brown@oracle.com
Subject: linux io_submit syscall duration
Date: Wed, 15 Nov 2006 09:39:14 +0200 [thread overview]
Message-ID: <5d96567b0611142339k23e78cc6u19b64052be5cd360@mail.gmail.com> (raw)
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
next reply other threads:[~2006-11-15 7:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-15 7:39 Raz Ben-Jehuda(caro) [this message]
2006-11-15 7:47 ` Jens Axboe
[not found] ` <5d96567b0611150143n1a7cc16dgea39fba748a2de7f@mail.gmail.com>
2006-11-15 9:47 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5d96567b0611142339k23e78cc6u19b64052be5cd360@mail.gmail.com \
--to=raziebe@gmail.com \
--cc=bcrl@kvack.org \
--cc=linux-aio@kvack.org \
--cc=linux-kernel@vger.kernel.org \
--cc=zach.brown@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®