From: di wang <di.wang@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: Mon, 06 Apr 2009 18:12:30 -0400 [thread overview]
Message-ID: <49DA7E4E.2080401@sun.com> (raw)
In-Reply-To: <20090402224310.GM3199@webber.adilger.int>
Hello,
Andreas Dilger wrote:
> I'm not sure what you mean. Implementing AIO is _more_ complex for the
> application, and in essence the current IO is mostly async except when
> the client hits the max dirty limit. The client will still flush the
> dirty data in the background (despite Michaels experiment), it just takes
> the VM some time to catch up.
>
> Linux VM /proc tunables can be tweaked on the client to have it be more
> aggressive about pushing out dirty data. I suspect they are currently
> tuned for desktop workloads more than IO-intensive workloads.
>
>
>
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,
IMHO.
Thanks
Wangdi
>
>
next prev parent reply other threads:[~2009-04-06 22:12 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 [this message]
2009-04-07 7:54 ` Andreas Dilger
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=49DA7E4E.2080401@sun.com \
--to=di.wang@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.