* [Qemu-devel] FW: about the bdrv_invalidate_cache_all()
@ 2015-08-05 15:21 Li, Liang Z
2015-08-05 17:45 ` Paolo Bonzini
0 siblings, 1 reply; 2+ messages in thread
From: Li, Liang Z @ 2015-08-05 15:21 UTC (permalink / raw)
To: qemu-devel, 'Kevin Wolf', 'Juan Quintela'; +Cc: Zhang, Yang Z
Hi Kevin & Juan,
I found the function bdrv_invalidate_cache_all() in the process_incoming_migration_co() takes more the 10ms when doing live migration with shared storage, which prolong the service down time.
The bdrv_invalidate_cache_all() is needed when doing the live migration with '-b' option. For live migration with share storage, such as nfs, is it still needed? If so, could please tell me why? If not, I think we can do some optimization.
Liang
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] FW: about the bdrv_invalidate_cache_all()
2015-08-05 15:21 [Qemu-devel] FW: about the bdrv_invalidate_cache_all() Li, Liang Z
@ 2015-08-05 17:45 ` Paolo Bonzini
0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2015-08-05 17:45 UTC (permalink / raw)
To: Li, Liang Z, qemu-devel, 'Kevin Wolf', 'Juan Quintela'
Cc: Zhang, Yang Z
On 05/08/2015 17:21, Li, Liang Z wrote:
> I found the function bdrv_invalidate_cache_all() in the
> process_incoming_migration_co() takes more the 10ms when doing live
> migration with shared storage, which prolong the service down time.
>
> The bdrv_invalidate_cache_all() is needed when doing the live
> migration with '-b' option. For live migration with share storage,
> such as nfs, is it still needed? If so, could please tell me why? If
> not, I think we can do some optimization.
IIUC it's the other way round. bdrv_invalidate_cache_all() is only
needed for live migration with shared storage.
Paolo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-05 17:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-05 15:21 [Qemu-devel] FW: about the bdrv_invalidate_cache_all() Li, Liang Z
2015-08-05 17:45 ` Paolo Bonzini
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.