From: Wei Liu <wei.liu2@citrix.com>
To: "Chenjia (C)" <chenjia09@huawei.com>
Cc: HUANG SHENGQIANG <huang.shengqiang@huawei.com>,
Yaoshaomin <yaoshaomin@huawei.com>,
"wei.liu2@citrix.com" <wei.liu2@citrix.com>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Subject: Re: 答复: Re: Help:Can xen restore several snapshots more faster at same time?
Date: Mon, 13 Nov 2017 09:50:55 +0000 [thread overview]
Message-ID: <20171113095055.jktfbecv4kw2mche@citrix.com> (raw)
In-Reply-To: <193BC0700AA2F44A8843B8D1C1E6B618D511B862@nkgeml514-mbs.china.huawei.com>
Please avoid top-posting.
On Mon, Nov 13, 2017 at 08:25:16AM +0000, Chenjia (C) wrote:
> 1. is there some way to improve the xenstored process performance?
>
The latest version of Cxenstored and Oxenstored have improved
transaction handling. Not sure which version you're using.
> 2. We also try the virsh tool to restore several xen at same
> time ,we fount the virsh can restore 40+ snapshot(1G per snapshot) at
> same time, the performance is good when snapshot is all in ramdisk.
> But we can’t let all the snapshot is always in ramdisk for it is too
> big. Is there some way to reduce these virsh snapshots space?(these
> snapshot is same: same OS, same config, but need with different IP
> address)
For libvirt question you need to ask on libvirt list.
>
> Would you please offer us some feedback? Thanks.
> By the way, can we talk with Chinese if possible?
Sorry but communication on mailing list needs to be in English so other
people can join the discussion and / or provide suggestions.
>
> 发件人: HUANG SHENGQIANG
> 发送时间: 2017年11月6日 18:32
> 收件人: Chenjia (C) <chenjia09@huawei.com<mailto:chenjia09@huawei.com>>
> 主题: FW: Re: [Xen-devel] Help:Can xen restore several snapshots more faster at same time?
>
> --------------------------------------------------
> HUANG SHENGQIANG HUANG SHENGQIANG
> M: +86-18201587800<tel:+86-18201587800>(优先)/+1-6046180423<tel:+1-6046180423>(海外出差)
> E: huang.shengqiang@huawei.com<mailto:huang.shengqiang@huawei.com>
> 产品与解决方案-交换机与企业网关解决方案架构与设计部
> Products & Solutions-Switch & Enterprise Gateway Solution Architecture & Design Dept
> From:Wei Liu
> To:HUANG SHENGQIANG,
> Cc:xen-devel@lists.xenproject.org,Wangjianbing,Wei Liu,
> Date:2017-11-06 18:28:58
> Subject:Re: [Xen-devel] Help:Can xen restore several snapshots more faster at same time?
>
> On Mon, Nov 06, 2017 at 04:38:51AM +0000, HUANG SHENGQIANG wrote:
> > Dear XEN expert,
> >
> > I find a blocker issue in my project. Would you please offer us some feedback?
> >
> > The description from my development team:
> > we need restore as much as xen snapshot at same times, but we found ‘xl restore’ command is work linearly, if we want to restore a new xen snapshot, we need to wait for the previous snapshot finish it’s work. We try to debug the xl source ,we found the follow information:
> > [cid:image001.png@01D356F6.B8EE87E0]
> >
>
> Please don't send pictures.
>
> > When an snapshot is being restore, we can see another process is blocked. We trying to delete the acquire_lock from the source code , then we see all the snapshots are being restore at same time, but restore is still very slow, one snapshot needs about 25 seconds to finish restore(our environment is cpu E52620, 256G memory, SSD hard disk. The snapshot is Win7 OS with 2G memory).
> >
>
> There is a lock in xl as you can see in the stack trace.
>
> > So , does xen have the way to restore more faster when several snapshot is restore at same time? Why KVM can restore several snapshot fast at same time? (We try the same experiment in KVM, we got we can restore about 50+ snapshot in 20S. )
> >
>
> Part of the toolstack needs to be reworked. You can start by removing
> the lock in xl to see what breaks.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-11-13 9:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-06 4:38 Help:Can xen restore several snapshots more faster at same time? HUANG SHENGQIANG
2017-11-06 10:28 ` Wei Liu
2017-11-13 8:25 ` 答复: " Chenjia (C)
2017-11-13 9:50 ` Wei Liu [this message]
2017-11-27 12:35 ` 答复: " Chenjia (C)
2017-11-27 12:39 ` Wei Liu
2017-11-28 1:38 ` 答复: " Chenjia (C)
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=20171113095055.jktfbecv4kw2mche@citrix.com \
--to=wei.liu2@citrix.com \
--cc=chenjia09@huawei.com \
--cc=huang.shengqiang@huawei.com \
--cc=xen-devel@lists.xenproject.org \
--cc=yaoshaomin@huawei.com \
/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).