[Openstack] KVM live block migration: stability, future, docs

Kiall Mac Innes kiall at managedit.ie
Wed Aug 8 10:25:31 UTC 2012


>From memory (a fuzzy memory at that!) Nova will fallback to block migration
if believes shared storage is unavailable.

This would explain the delay, but someone who's read the code recently can
confirm...

Thanks,
Kiall
On Aug 8, 2012 11:08 AM, "Daniel P. Berrange" <berrange at redhat.com> wrote:

> On Wed, Aug 08, 2012 at 09:50:20AM +0800, Huang Zhiteng wrote:
> > > But to the contrary. I tested live-migrate (without block migrate)
> > > last night using a guest with 8GB RAM (almost fully committed) and
> > > lost any access/contact with the guest for over 4 minutes - it was
> > > paused for the duration. Not something I'd want to do to a user's
> > > web-server on a regular basis...
> >
> > 4 minutes of pause (down time)?  That's way too long.  Even there was
> > crazy memory intensive workload inside the VM being migrated, the
> > worst case is KVM has to pause VM and transmit all 8 GB memory (all
> > memory are dirty, which is very rare).  If you have 1GbE link between
> > two host, that worst case pause period (down time) is less than 2
> > minutes.  My previous experience is: the down time for migrating one
> > idle (almost no memory access) 8GB VM via 1GbE is less than 1 second;
> > the down time for migrating a 8 GB VM that page got dirty really
> > quickly is <60 seconds.  FYI.
>
> KVM has a tunable setting for the maximum allowable live migration
> downtime, which IIRC defaults to something very small like 250ms.
>
> If the migration can't be completed within this downtime limit,
> KVM will simply never complete migration. Given that Nova does
> not tune this downtime setting, I don't see how you'd see 4 mins
> downtime unless it was not truely live migration, or there was
> something else broken (eg the network bridge device had a delay
> inserted by the STP protocol which made the VM /appear/ to be
> unreponsive on the network even though it was running fine).
>
> Regards,
> Daniel
> --
> |: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/:|
> |: http://libvirt.org              -o-             http://virt-manager.org:|
> |: http://autobuild.org       -o-         http://search.cpan.org/~danberr/:|
> |: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc:|
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120808/241c6822/attachment.html>


More information about the Openstack mailing list