thanks very much for your reply, could you please tell us:
1. if develop this “copy-on-write functionality”, how many lines of codes maybe 
needed?

2. if this tool is done, how many performance may be improved?

best regards




________________________________
陈甲 Chenjia
M:+86-13301235534<tel:+86-13301235534>
E:[email protected]<mailto:[email protected]>
产品与解决方案-安全基础平台开发部
Products & Solutions-Security Base Platform Development Dept

发件人: George Dunlap
收件人: Chenjia (C)<[email protected]<mailto:[email protected]>>
抄送: 
xen-devel<[email protected]<mailto:[email protected]>>;wangxu
 (R)<[email protected]<mailto:[email protected]>>;Shentao 
(Terry)<[email protected]<mailto:[email protected]>>;zhaobingjian<[email protected]<mailto:[email protected]>>
主题: Re: [Xen-devel] Is there a faster way to restore Virtual machine status in 
Xen?
时间: 2018-07-03 16:24:48

On Thu, Jun 14, 2018 at 2:26 AM, Chenjia (C) <[email protected]> wrote:
> 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?

Internally Xen has the copy-on-write functionality needed to implement
faster snapshots; but we don't have the tooling yet.  If you're keen
enough you could implement it -- but if you don't have the time /
effort to do that I'm afraid you're out of luck.

 -George
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to