From: Andreas Dilger <adilger@sun.com>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] Oleg/Mike Work on Apps Metrics - FW: Mike Booth week ending 2009.03.15
Date: Tue, 07 Apr 2009 00:54:03 -0700 [thread overview]
Message-ID: <20090407075403.GO3204@webber.adilger.int> (raw)
In-Reply-To: <49DA7E4E.2080401@sun.com>
On Apr 06, 2009 18:12 -0400, di wang wrote:
> I am not sure the current IO is "async" enough, since it still includes
> some sync "process", for example, locks, read for partial page, some
> other stack overhead in commit_write, sometimes you can not ignore
> these overhead. For example, even without hit the dirty max limit, you
> might get quite different write time for writing same data. I guess
> some of the reason might be the VM is just "out of control".
>
> With AIO,
>
> 1) The application can skip these "sync" process? For example by
> creating an daemon to do the those routine process.
> 2) We can control the write_page(sent to OST) ourselves, instead of rely
> on VM.
> 3) These aio pages do not need comply the dirty max limit in the
> submit_io(AIO) process, So user application do "real" memory for writing.
>
> Yes, AIO will be indeed complex for the application, but not that much,
There was just a discussion about Linux AIO today (from former Linux AIO
maintainer, as it is currently unmaintained) and his statements were that
AIO is not really async at all, as it will block for local filesystems
on any file allocation, or any buffered IO. Only preallocated files and
O_DIRECT even have a chance at AIO, and even that will not always work.
Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.
next prev parent reply other threads:[~2009-04-07 7:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <D691F7E6-6030-4EB9-896C-77201445D865@Sun.COM>
[not found] ` <C5E2A328.36EE0%Daniel.Ferber@Sun.Com>
[not found] ` <015c01c9a5a7$cb2f83a0$618e8ae0$@com>
[not found] ` <52E982EB-3ADE-46FA-A7BC-D1645961DF0B@Sun.COM>
[not found] ` <018101c9a5b6$25dbc300$71934900$@com>
[not found] ` <48A6CF99-F630-4581-9FFC-05E3AFF66FA0@Sun.COM>
2009-03-16 12:56 ` [Lustre-devel] Oleg/Mike Work on Apps Metrics - FW: Mike Booth week ending 2009.03.15 Eric Barton
2009-03-18 20:31 ` Oleg Drokin
2009-03-31 18:51 ` Andreas Dilger
2009-03-31 20:58 ` Oleg Drokin
2009-04-01 3:35 ` di wang
2009-04-01 3:55 ` Michael Booth
2009-04-01 4:34 ` Oleg Drokin
2009-04-01 11:41 ` Michael Booth
2009-04-02 22:43 ` Andreas Dilger
2009-04-03 18:27 ` Michael Booth
2009-04-06 22:12 ` di wang
2009-04-07 7:54 ` Andreas Dilger [this message]
2009-04-01 5:01 ` Eric Barton
2009-04-01 5:08 ` Mike Booth
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=20090407075403.GO3204@webber.adilger.int \
--to=adilger@sun.com \
--cc=lustre-devel@lists.lustre.org \
/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 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.