From: Andrew Warfield <andrew.warfield@cl.cam.ac.uk>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: xen-devel List <xen-devel@lists.xensource.com>,
Steven Hand <steven.hand@cl.cam.ac.uk>,
Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Subject: Re: /proc/xen/xenbus supports watch?
Date: Thu, 22 Sep 2005 18:01:49 -0700 [thread overview]
Message-ID: <eacc82a405092218014268eae0@mail.gmail.com> (raw)
In-Reply-To: <1127433079.2722.24.camel@localhost.localdomain>
Rusty,
Can you explain once again why you think that migrating in-progress
transactions is the right thing to do? It seems to me that our
transactions are generally pretty small, and I don't imagine them
getting problematically bigger in the future. If client-side
transaction code is already being written to expect failures and retry
when they occur, what is the argument against blowing away in-progress
transactions when you migrate.
Given that the majority of current transaction code is to do with
device drivers and you disconnect/reconnect those on migration anyway,
why go through the extra work of adding complexity to migration?
a.
On 9/22/05, Rusty Russell <rusty@rustcorp.com.au> wrote:
> On Thu, 2005-09-22 at 10:35 +0100, Keir Fraser wrote:
> > Whatever, the client probably needs the code to realise that a bad
> > thing has happened and to take appropriate action whichever strategy we
> > go for. I suspect they are equivalent complexity for clients.
>
> I think you've summed it up well. Of these two I'm leaning towards
> EAGAIN (which the client can turn into a fake success if they want).
> But both are subtle and kinda icky.
>
> Which is why I am pondering a bundle/unbundle interface for
> transactions, so we can migrate them with the domain. Summary:
>
> 1) Easy to do at the moment: we already snapshot the entire store for
> transactions, so we can just bundle/unbundle that. We need
> globally-unique transactions IDs, but that's fairly simple.
> 2) Each domain adds roughly 5k to the store (this will increase, say
> 10k). This means migrating off a node with 100 domains means adding 1M
> to the data we have to send *per transaction*.
> 3) The store compresses extremely well (~800 bytes per domain), so we
> could trivially get it down to 160k/transaction in the 100 domain case.
>
> You know I treasure simple APIs, and this makes the store API simpler
> and so reduces subtle errors in future.
>
> But is it worth the complexity?
> Rusty.
> --
> A bad analogy is like a leaky screwdriver -- Richard Braakman
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
next prev parent reply other threads:[~2005-09-23 1:01 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-08 8:02 /proc/xen/xenbus supports watch? NAHieu
2005-09-08 10:38 ` Christian Limpach
2005-09-09 0:43 ` Rusty Russell
2005-09-13 9:42 ` Christian Limpach
2005-09-14 0:21 ` Rusty Russell
2005-09-14 8:24 ` Christian Limpach
2005-09-14 9:18 ` Rusty Russell
2005-09-14 12:55 ` Christian Limpach
2005-09-15 1:39 ` Rusty Russell
2005-09-15 10:53 ` Keir Fraser
2005-09-17 8:26 ` Rusty Russell
2005-09-17 8:33 ` Keir Fraser
2005-09-19 0:11 ` Rusty Russell
2005-09-19 8:54 ` Keir Fraser
2005-09-20 11:01 ` Rusty Russell
2005-09-21 9:35 ` Keir Fraser
2005-09-22 2:07 ` Rusty Russell
2005-09-22 9:36 ` Keir Fraser
2005-09-22 22:54 ` Rusty Russell
2005-09-23 9:17 ` Keir Fraser
2005-09-25 3:29 ` Rusty Russell
2005-09-25 11:02 ` Keir Fraser
2005-09-25 11:33 ` Keir Fraser
2005-09-25 18:55 ` Christian Limpach
2005-09-26 6:36 ` Rusty Russell
2005-09-26 7:33 ` Keir Fraser
2005-09-26 18:51 ` Christian Limpach
2005-09-26 19:30 ` Keir Fraser
2005-09-27 6:48 ` Rusty Russell
2005-09-27 7:15 ` Rusty Russell
2005-09-27 23:31 ` David Hopwood
2005-09-25 23:06 ` Rusty Russell
2005-09-21 9:39 ` Keir Fraser
2005-09-21 11:42 ` harry
2005-09-22 2:22 ` Rusty Russell
2005-09-22 9:35 ` Keir Fraser
2005-09-22 23:51 ` Rusty Russell
2005-09-23 1:01 ` Andrew Warfield [this message]
2005-09-25 0:57 ` Rusty Russell
2005-09-25 11:09 ` Keir Fraser
2005-09-25 22:52 ` Rusty Russell
2005-09-23 9:24 ` Keir Fraser
2005-09-25 1:09 ` Rusty Russell
2005-09-17 17:40 ` Christian Limpach
2005-09-19 0:19 ` Rusty Russell
2005-09-15 11:02 ` Christian Limpach
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=eacc82a405092218014268eae0@mail.gmail.com \
--to=andrew.warfield@cl.cam.ac.uk \
--cc=Christian.Limpach@cl.cam.ac.uk \
--cc=rusty@rustcorp.com.au \
--cc=steven.hand@cl.cam.ac.uk \
--cc=xen-devel@lists.xensource.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 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.