From: Eric Blake <eblake@redhat.com>
To: He Junyan <junyan.he@intel.com>,
qemu-devel@nongnu.org, John Snow <jsnow@redhat.com>,
qemu block <qemu-block@nongnu.org>
Subject: Re: [Qemu-devel] Some question about savem/qcow2 incremental snapshot
Date: Tue, 8 May 2018 09:41:40 -0500 [thread overview]
Message-ID: <6e792b9f-2281-e8db-0410-c4c3468ffc90@redhat.com> (raw)
In-Reply-To: <1514187226.13662.28.camel@intel.com>
On 12/25/2017 01:33 AM, He Junyan wrote:
> hi all:
>
> I am now focusing on snapshot optimization for Intel NVDimm kind
> memory. Different from the normal memory, the NVDimm may be 128G, 256G
> or even more for just one guest, and its speed is slower than the
> normal memory. So sometimes it may take several minutes to complete
> just one snapshot saving. Even with compression enabled, the snapshot
> point may consume more than 30G disk space.
> We decide to add incremental kind snapshot saving to resolve this. Just
> store difference between snapshot points to save time and disk space.
> But the current snapshot/save_vm framework seems not to support this.
> We need to add snapshot dependency and extra operations when we LOAD
> and DELETE the snapshot point.
> Is that possible to modify the savevm framework and add some
> incremental snapshot support to QCOW2 format?
In general, the list has tended to focus on external snapshots rather
than internal; where persistent bitmaps have been the proposed mechanism
for tracking incremental differences between snapshots. But yes, it is
certainly feasible that patches to improve internal snapshots to take
advantage of incremental relationships may prove useful. You will need
to document all enhancements to the qcow2 file format and get that
approved first, as interoperability demands that others reading the same
spec would be able to interpret the image you create that is utilizing
an internal snapshot with an incremental diff.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
next prev parent reply other threads:[~2018-05-08 14:42 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-25 7:33 [Qemu-devel] Some question about savem/qcow2 incremental snapshot He Junyan
2018-05-08 14:41 ` Eric Blake [this message]
2018-05-08 15:03 ` [Qemu-devel] [Qemu-block] " Kevin Wolf
2018-05-09 10:16 ` Stefan Hajnoczi
2018-05-09 17:54 ` Max Reitz
2018-05-10 8:26 ` Stefan Hajnoczi
2018-05-11 17:25 ` Kevin Wolf
2018-05-14 13:48 ` Stefan Hajnoczi
2018-05-28 7:01 ` He, Junyan
2018-05-30 14:44 ` Stefan Hajnoczi
2018-05-30 16:07 ` Kevin Wolf
2018-05-31 10:48 ` Stefan Hajnoczi
2018-06-08 5:02 ` He, Junyan
2018-06-08 7:59 ` Pankaj Gupta
2018-06-08 15:58 ` Junyan He
2018-06-08 16:38 ` Pankaj Gupta
2018-06-08 16:49 ` Pankaj Gupta
2018-06-08 13:29 ` Stefan Hajnoczi
-- strict thread matches above, loose matches on Subject: below --
2017-12-25 7:54 [Qemu-devel] " He, Junyan
2018-01-09 15:35 ` Stefan Hajnoczi
2018-01-09 19:55 ` Dr. David Alan Gilbert
2018-01-10 19:16 ` Stefan Hajnoczi
2018-01-10 20:15 ` Dr. David Alan Gilbert
2018-01-10 20:17 ` Stefan Hajnoczi
2018-01-16 7:14 ` He Junyan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6e792b9f-2281-e8db-0410-c4c3468ffc90@redhat.com \
--to=eblake@redhat.com \
--cc=jsnow@redhat.com \
--cc=junyan.he@intel.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).