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

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



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
E:chenjia09@xxxxxxxxxx
产品与解决方案-安全基础平台开发部
Products & Solutions-Security Base Platform Development Dept

发件人: George Dunlap
收件人: Chenjia (C)<chenjia09@xxxxxxxxxx>
抄送: xen-devel<xen-devel@xxxxxxxxxxxxxxxxxxxx>;wangxu (R)<wangxu0@xxxxxxxxxx>;Shentao (Terry)<shentao8@xxxxxxxxxx>;zhaobingjian<zhaobingjian@xxxxxxxxxx>
主题: 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) <chenjia09@xxxxxxxxxx> 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
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®.