[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during n
From: |
Jamie Lokier |
Subject: |
Re: [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during non-blocking op |
Date: |
Thu, 11 Sep 2008 12:59:56 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Avi Kivity wrote:
> Jamie Lokier wrote:
> > Avi Kivity wrote:
> >
> >> (logically we would copy all of the data of all block devices, but
> >> that's not very practical, so we assume shared storage).
> >>
> >
> > Speaking of that, if the guest RAM were a memory-mapped file, couldn't
> > that use shared storage too?
>
> You would need a clustered filesystem that supports coherent mmap()s.
Yes, something like GFS.
> > You'd have to be careful: it would need a distributed filesystem with
> > coherent mappings (i.e. not NFS), but they do exist.
> >
> > I'm guessing that the bulk of time spent in migration/checkpointing is
> > saving the RAM image. Using a memory-mapped file on shared storage
> > for RAM might make that faster. (Or slower!).
> >
> The memory needs to be transferred anyway, so total time would not
> change. You could start running on the target sooner, though.
Actually the memory doesn't need to be tranferred. Only actively used
pages need to be. If you have an 8GB guest, 7.75GB of which is the
guest's filesystem cache from something you did earlier and is no
longer used, you just need to transfer 250MB and it can continue
running on the target.
-- Jamie
- Re: [Qemu-devel] [PATCH 3/10] Add bdrv_flush_all(), (continued)
- [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during non-blocking op, Anthony Liguori, 2008/09/09
- Re: [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during non-blocking op, Avi Kivity, 2008/09/10
- Re: [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during non-blocking op, Daniel P. Berrange, 2008/09/10
- Re: [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during non-blocking op, Avi Kivity, 2008/09/10
- Re: [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during non-blocking op, Daniel P. Berrange, 2008/09/10
- Re: [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during non-blocking op, Avi Kivity, 2008/09/10
- Re: [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during non-blocking op, Anthony Liguori, 2008/09/10
- Re: [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during non-blocking op, Jamie Lokier, 2008/09/10
- Re: [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during non-blocking op, Avi Kivity, 2008/09/11
- Re: [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during non-blocking op,
Jamie Lokier <=
- Re: [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during non-blocking op, Anthony Liguori, 2008/09/10
- Re: [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during non-blocking op, Chris Lalancette, 2008/09/10
Re: [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during non-blocking op, Daniel P. Berrange, 2008/09/10
[Qemu-devel] [PATCH 10/10] TCP based live migration, Anthony Liguori, 2008/09/09
[Qemu-devel] [PATCH 8/10] Introduce a buffered QEMUFile wrapper, Anthony Liguori, 2008/09/09
[Qemu-devel] [PATCH 9/10] Introduce the UI components for live migration, Anthony Liguori, 2008/09/09