[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 00/30] Migration thread 20121017 edition
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 00/30] Migration thread 20121017 edition |
Date: |
Thu, 18 Oct 2012 11:00:28 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121009 Thunderbird/16.0 |
Il 18/10/2012 09:29, Juan Quintela ha scritto:
> v3:
>
> This is work in progress on top of the previous migration series just sent.
>
> - Introduces a thread for migration instead of using a timer and callback
> - remove the writting to the fd from the iothread lock
> - make the writes synchronous
> - Introduce a new pending method that returns how many bytes are pending for
> one save live section
> - last patch just shows printfs to see where the time is being spent
> on the migration complete phase.
> (yes it pollutes all uses of stop on the monitor)
>
> So far I have found that we spent a lot of time on bdrv_flush_all() It
> can take from 1ms to 600ms (yes, it is not a typo). That dwarfs the
> migration default downtime time (30ms).
>
> Stop all vcpus:
>
> - it works now (after the changes on qemu_cpu_is_vcpu on the previous
> series) caveat is that the time that brdv_flush_all() takes is
> "unpredictable". Any silver bullets?
You could reuse the "block" live migration item. In block_save_pending,
start a bdrv_aio_flush() on all block devices that have already
completed the previous one.
But that's not a regression in the migration thread, isn't it?
Paolo
- [Qemu-devel] [PATCH 25/30] ram: Add last_sent_block, (continued)
- [Qemu-devel] [PATCH 25/30] ram: Add last_sent_block, Juan Quintela, 2012/10/18
- [Qemu-devel] [PATCH 26/30] memory: introduce memory_region_test_and_clear_dirty, Juan Quintela, 2012/10/18
- [Qemu-devel] [PATCH 28/30] fix memory.c, Juan Quintela, 2012/10/18
- [Qemu-devel] [PATCH 30/30] ram: optimize migration bitmap walking, Juan Quintela, 2012/10/18
- Re: [Qemu-devel] [PATCH 30/30] ram: optimize migration bitmap walking, Orit Wasserman, 2012/10/21
- Re: [Qemu-devel] [PATCH 30/30] ram: optimize migration bitmap walking, Juan Quintela, 2012/10/26
- Re: [Qemu-devel] [PATCH 30/30] ram: optimize migration bitmap walking, Orit Wasserman, 2012/10/28
- Re: [Qemu-devel] [PATCH 30/30] ram: optimize migration bitmap walking, Orit Wasserman, 2012/10/30
- Re: [Qemu-devel] [PATCH 30/30] ram: optimize migration bitmap walking, Juan Quintela, 2012/10/30
Re: [Qemu-devel] [PATCH 00/30] Migration thread 20121017 edition,
Paolo Bonzini <=
Re: [Qemu-devel] [PATCH 00/30] Migration thread 20121017 edition, Paolo Bonzini, 2012/10/26
Re: [Qemu-devel] [PATCH 00/30] Migration thread 20121017 edition, Chegu Vinod, 2012/10/24