From: Peter Braam <Peter.Braam@Sun.COM>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] Commit on share
Date: Wed, 04 Jun 2008 10:11:11 +0900 [thread overview]
Message-ID: <C46C1ABF.573C%peter.braam@sun.com> (raw)
In-Reply-To: <20080603185010.GB2961@webber.adilger.int>
Yes - this is like a commit scheduler. Don't jump too quickly to an
implementation plan.
It might be necessary to have good control over what gets committed in what
order, and the dependency issues may only get more difficult and not easier.
But currently the focus should be on COS. Can COS have a design that
mirrors that of REP-ACKs? I'm not against committing one RPC later, but I
doubt it really helps in relevant use cases (see my questions about getting
to the bottom of it).
Peter
On 6/4/08 3:50 AM, "Andreas Dilger" <adilger@sun.com> wrote:
> On Jun 02, 2008 12:42 +0400, Alex Zhuravlev wrote:
>> there was an idea to control recovery postponing replies.
>> can we use this idea for COS? instead of immediate sync
>> we execute request, but put reply on a special queue. then
>> reply is sent from the queue when all previous transno
>> are committed (for COS w/o VBR). if there is no requests to
>> be handled, but reply queue isn't empty server does sync.
>
> Yes, this was proposed for the DMU OST, so that it can export
> synchronous IO semantics to clients that do not know how to do
> bulk IO recovery (i.e. all of them right now) without forcing
> the DMU to limit the transaction group size too much.
>
> My proposal was that the OST service threads would perform the IO
> in the normal manner until they were ready with the reply, but
> instead of waiting in the thread context for the commit the RPC
> request (with attached reply) would be put as private data into
> a commit callback. Once the commit callbacks are run (whether
> because of transaction size, age, or explicit sync operation)
> the RPC requests are put into a queue and sent by one or more
> threads to the waiting clients.
>
> This ties in fairly nicely with the network request scheduler, as
> it can batch requests from the same or multiple clients in different
> ways, and then "unplug" the device (sync the transaction).
>
> Cheers, Andreas
> --
> Andreas Dilger
> Sr. Staff Engineer, Lustre Group
> Sun Microsystems of Canada, Inc.
>
next prev parent reply other threads:[~2008-06-04 1:11 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-27 10:44 [Lustre-devel] Commit on share Peter Braam
2008-05-27 15:43 ` Mikhail Pershin
2008-06-01 5:00 ` Peter Braam
2008-05-29 17:42 ` Mikhail Pershin
2008-05-31 2:45 ` Andreas Dilger
2008-05-31 9:37 ` Alex Zhuravlev
2008-06-01 7:03 ` Mikhail Pershin
2008-06-03 18:41 ` Andreas Dilger
2008-06-03 18:56 ` Alex Zhuravlev
2008-06-01 16:54 ` Alex Zhuravlev
2008-06-02 8:42 ` Alex Zhuravlev
2008-06-03 18:50 ` Andreas Dilger
2008-06-04 1:11 ` Peter Braam [this message]
2008-06-04 10:50 ` Nikita Danilov
2008-06-11 14:21 ` Alexander Zarochentsev
2008-06-11 14:35 ` Alex Zhuravlev
2008-06-11 15:26 ` Peter Braam
2008-06-11 16:27 ` Alex Zhuravlev
2008-06-11 16:28 ` Peter Braam
2008-06-11 16:46 ` Alexander Zarochentsev
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=C46C1ABF.573C%peter.braam@sun.com \
--to=peter.braam@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.