[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] migration: optimize the downtime
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [Qemu-devel] [PATCH] migration: optimize the downtime |
Date: |
Mon, 31 Jul 2017 14:33:54 +0100 |
User-agent: |
Mutt/1.8.3 (2017-05-23) |
* Jay Zhou (address@hidden) wrote:
> Hi Dave,
>
> On 2017/7/25 18:34, Dr. David Alan Gilbert wrote:
> > > After checking the codes of the newest libvirt, I think it is the same
> > > in the qemuMigrationWaitForCompletion function, which is used to poll
> > > qemu every 50ms.
> >
> > Checking with Jiri Denemark (added to cc), newer libvirt should use
> > events when available - but that polling code is there to cope with
> > older qemu's. So with a newer qemu, i think it should spot the
> > COMPLETED event.
> >
>
> I do tests on the newest libvirt(v3.6.0) + newest qemu(v2.9.90,
> v2.10.0-rc0-29-ga588c49-dirty). The log added indicates that the source
> side libvirt spots the COMPLETE event after the cleanup of the source side
> qemu, i.e. 300ms still exists.
OK, thanks for trying it.
I don't quite understand why in this case - migration_completion sets
the state to COMPLETE and I think that's done outside the lock and that
happens a bit before the retaking of the lock and then the call
to the savevm_state_cleanup; so yes, thanks for doing the test.
> BTW, I'm not very familiar with libvirt, if there is something special to
> configure or I'm missing something, please let me know.
I don't think you should need to.
Dave
> Thanks,
> Jay
>
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK
- Re: [Qemu-devel] [PATCH] migration: optimize the downtime, (continued)
- Re: [Qemu-devel] [PATCH] migration: optimize the downtime, Paolo Bonzini, 2017/07/24
- Re: [Qemu-devel] [PATCH] migration: optimize the downtime, Dr. David Alan Gilbert, 2017/07/24
- Re: [Qemu-devel] [PATCH] migration: optimize the downtime, Paolo Bonzini, 2017/07/24
- Re: [Qemu-devel] [PATCH] migration: optimize the downtime, Dr. David Alan Gilbert, 2017/07/25
- Re: [Qemu-devel] [PATCH] migration: optimize the downtime, Paolo Bonzini, 2017/07/27
- Re: [Qemu-devel] [PATCH] migration: optimize the downtime, Jay Zhou, 2017/07/25
- Re: [Qemu-devel] [PATCH] migration: optimize the downtime, Paolo Bonzini, 2017/07/25
- Re: [Qemu-devel] [PATCH] migration: optimize the downtime, Jay Zhou, 2017/07/25
- Re: [Qemu-devel] [PATCH] migration: optimize the downtime, Dr. David Alan Gilbert, 2017/07/25
- Re: [Qemu-devel] [PATCH] migration: optimize the downtime, Jay Zhou, 2017/07/31
- Re: [Qemu-devel] [PATCH] migration: optimize the downtime,
Dr. David Alan Gilbert <=