[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 00/46] Postcopy implementation
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [Qemu-devel] [PATCH 00/46] Postcopy implementation |
Date: |
Mon, 7 Jul 2014 16:58:26 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
* Paolo Bonzini (address@hidden) wrote:
> Il 07/07/2014 16:02, Dr. David Alan Gilbert ha scritto:
> >>> Could you have instead a "migrate_start_postcopy" command, and leave the
> >>> policy to management instead?
> >Hmm; yes that is probably possible - although with the
> >migration_set_parameter
> >configuration you get the best of both worlds:
> > 1) You can set the parameter to say a few seconds and let QEMU handle it
> > 2) You can set the parameter really large, but (I need to check) you could
> > drop the parameter later and then cause it to kick in.
> >
> >I also did it this way because it was similar to the way the auto-throttling
> >mechanism.
>
> Auto-throttling doesn't let you configure when it kicks in (it doesn't even
> need support from the destination side). For postcopy you would still have
> a capability, like auto-throttling, just not the argument.
But auto-throttling is handled automatically by qemu rather than management;
and it seems right that it should be a configurable threshold.
> The reason why I prefer a manual step from management, is because postcopy
> is a one-way street. Suppose a newer version of management software has
> started migration with postcopy configured, and then an older version is
> started. It is probably an invalid thing to do, but the confusion in the
> older version could be fatal and it's nice if there's an easy way to prevent
> it.
Hmm, the way the setup at the moment is setup the new-version would have
had to start the VMs down the one way street, I'm not sure what the old
software would do bad to it.
Having said that, I can see some advantages - in particular knowing when
it's safe to cancel.
Dave
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK
- [Qemu-devel] [PATCH 19/46] migrate_init: Call from savevm, (continued)
- [Qemu-devel] [PATCH 19/46] migrate_init: Call from savevm, Dr. David Alan Gilbert (git), 2014/07/04
- [Qemu-devel] [PATCH 20/46] Allow savevm handlers to state whether they could go into postcopy, Dr. David Alan Gilbert (git), 2014/07/04
- [Qemu-devel] [PATCH 41/46] Handle userfault requests (although userfaultfd not done yet), Dr. David Alan Gilbert (git), 2014/07/04
- [Qemu-devel] [PATCH 13/46] qemu_loadvm debug, Dr. David Alan Gilbert (git), 2014/07/04
- [Qemu-devel] [PATCH 14/46] ram_debug_dump_bitmap: Dump a migration bitmap as text, Dr. David Alan Gilbert (git), 2014/07/04
- [Qemu-devel] [PATCH 18/46] QEMU_VM_CMD_PACKAGED: Send a packaged chunk of migration stream, Dr. David Alan Gilbert (git), 2014/07/04
- [Qemu-devel] [PATCH 42/46] Start up a postcopy/listener thread ready for incoming page data, Dr. David Alan Gilbert (git), 2014/07/04
- Re: [Qemu-devel] [PATCH 00/46] Postcopy implementation, Paolo Bonzini, 2014/07/05
- Re: [Qemu-devel] [PATCH 00/46] Postcopy implementation, Dr. David Alan Gilbert, 2014/07/07
- Re: [Qemu-devel] [PATCH 00/46] Postcopy implementation, Paolo Bonzini, 2014/07/07
- Re: [Qemu-devel] [PATCH 00/46] Postcopy implementation,
Dr. David Alan Gilbert <=
- Re: [Qemu-devel] [PATCH 00/46] Postcopy implementation, Dr. David Alan Gilbert, 2014/07/10
- Re: [Qemu-devel] [PATCH 00/46] Postcopy implementation, Eric Blake, 2014/07/10
- Re: [Qemu-devel] [PATCH 00/46] Postcopy implementation, Dr. David Alan Gilbert, 2014/07/10
- Re: [Qemu-devel] [PATCH 00/46] Postcopy implementation, Andrea Arcangeli, 2014/07/10
- Re: [Qemu-devel] [PATCH 00/46] Postcopy implementation, Dr. David Alan Gilbert, 2014/07/10
- Re: [Qemu-devel] [PATCH 00/46] Postcopy implementation, Sanidhya Kashyap, 2014/07/11