From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Wilbur Subject: Cloning a VM and copy-on-write deduplicating memory using CoW page sharing in Xen 4+ Date: Thu, 2 Feb 2012 14:14:27 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3805093157115238287==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: andres@lagarcavilla.org List-Id: xen-devel@lists.xenproject.org --===============3805093157115238287== Content-Type: multipart/alternative; boundary=00032555a60a71d49004b80002e8 --00032555a60a71d49004b80002e8 Content-Type: text/plain; charset=ISO-8859-1 Hey all, Hey Andres, I'm looking to clone a VM into several extremely-similar VMs, and I'm hoping to also make use of your lovely new CoW page sharing capabilities in Xen 4. >>From my understanding of a previous thread where Andres described the process of sharing/coalescing memory between VMs, it sounds like I will need to "manually" coalesce each page using a homebrew tool of mine. The issue I have with doing this is it seems like I'd need to pause, save mem, load mem in a new VM, coalesce, and resume two VMs, which seems painful and wasteful of a process for cloning! Is there an easier way to do this, or should we add a new feature for CoW cloning of VMs in Xen via a userspace tool? Thanks, Pat Wilbur & team -- Patrick F. Wilbur Researcher, Consultant, Educator, Computer Science Graduate at Clarkson University DONE RIGHT THE FIRST TIME: Consulting and hiring information: http://pdub.net/consulting/ & http://pdub.net/hiring/ patrick.wilbur@gmail.com wilburpf@clarkson.edu Check out our book: http://runningxen.com My website: http://pdub.net --00032555a60a71d49004b80002e8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hey all,
Hey Andres,

I'm looking to clone = a VM into several extremely-similar VMs, and I'm hoping to also make us= e of your lovely new CoW page sharing capabilities in Xen 4. =A0

From my understanding of a previous thread where Andres desc= ribed the process of sharing/coalescing memory between VMs, it sounds like = I will need to "manually" coalesce each page using a homebrew too= l of mine. =A0The issue I have with doing this is it seems like I'd nee= d to pause, save mem, load mem in a new VM, coalesce, and resume two VMs, w= hich seems painful and wasteful of a process for cloning!

Is there an easier way to do this, or should we add a n= ew feature for CoW cloning of VMs in Xen via a userspace tool?
Thanks,
Pat Wilbur & team


--
Patrick F. Wilbur
Researcher, Consultant, Educator,
Comput= er Science Graduate at=A0Clarkson University

DONE RIGHT = THE FIRST TIME: Consulting and hiring information: http://pdub.net/consulting/=A0&= =A0http://pdub.net/hi= ring/

patrick.w= ilbur@gmail.com
wilburpf@clarkson.edu

Check out our book: http://runningxen.com
My website: http://pdub.= net



--00032555a60a71d49004b80002e8-- --===============3805093157115238287== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============3805093157115238287==--