Bug 800303 - libvirt running domain create snapshot take time over 7 mins
Summary: libvirt running domain create snapshot take time over 7 mins
Keywords:
Status: CLOSED DUPLICATE of bug 771626
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Eric Blake
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 799508
TreeView+ depends on / blocked
 
Reported: 2012-03-06 09:24 UTC by Huang Wenlong
Modified: 2013-10-20 21:45 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-20 14:31:14 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Huang Wenlong 2012-03-06 09:24:56 UTC
Description of problem:
 libvirt running domain create snapshot take time over 7 mins


Version-Release number of selected component (if applicable):
libvirt-0.9.7-3.el7.x86_64
qemu-kvm-0.15.1-3.2.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. start a domain and login the guest system
#virsh start rl62
2.
# time virsh snapshot-create rl62
 Domain snapshot 1331018776 created

real    7m1.991s
user    0m0.005s
sys    0m0.004s


3.

Actual results:
over 7 mins

Expected results:
in the rhel6 it is less than 1 min

Additional info:

Comment 1 Eric Blake 2012-03-20 14:31:14 UTC
This is the same problem as in bug 771626.  You are executing a system checkpoint internal snapshot, which includes RAM state, requires a convergence algorithm, and which requires lots of disk space in the qcow2 file (which takes time, especially if the qcow2 file has to grow in size to hold that much state).  But that is not a supported RHEL feature.  You should really be using the --disk-only option when you create snapshots, as that is MUCH faster, and _is_ supported for RHEV.

*** This bug has been marked as a duplicate of bug 771626 ***


Note You need to log in before you can comment on or make changes to this bug.