[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Is there a faster way to restore Virtual machine status in Xen?



Dear XEN expert

            We meet some problem in our project: In our previous project, we use KVM, and we do some job like this:

 

We create KVM snapshot by “virsh snapshot-create $DomainName $SnapshotXml”, then do following job:

While(1)

{

Run “virsh snapshot-revert $DomainName  $Snapshot --running --force”

Do some job in 30 secends

}

           

           

            Now our project is move to Xen, so we need to do same thing like in KVM, but we found that there is no “Snapshot” in xen , so we change the job like this in xen:

            While(1)

{

                        Run “xl destroy win7_checkpointFile”

                        Run “xl restore  win7_checkpointFile”

                        Do some job in 30 secends

}

 

            We found that” xl destroy “and “xl restore” spend 10 times longer than “virsh snapshot-revert”,  it is unacceptable in our project

 

            So our question is that: Is there a faster way to restore Virtual machine status in Xen?

           

         

                Our environment:

            CPU: intel xeon E52620 2.40GHz with 24 core, 

memory : 256G,

SSD hard disk.

Host machine: suse12

xen_version: 4.8.2

The VM is Win7 OS with 2G memory

 

Best regards

 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.