From: Omer Khalid Subject: Fwd: Xen Saving VM Date: Mon, 11 May 2009 10:42:26 +0200 Message-ID: <77e5896b0905110142j421ebf45wc2deb0355ff9b6b@mail.gmail.com> References: <77e5896b0905020553i3c371bd5g27b52f934ec29a0d@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1358727912==" Return-path: In-Reply-To: <77e5896b0905020553i3c371bd5g27b52f934ec29a0d@mail.gmail.com> 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 list , xen-research list List-Id: xen-devel@lists.xenproject.org --===============1358727912== Content-Type: multipart/alternative; boundary=001485f870e238ebd704699ef5f8 --001485f870e238ebd704699ef5f8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, I am trying to understand Xen's save VM state works. I have use case where I am running 3 VM's on a 4-core/8GB server with 1core/2GB per VM. Each of the VM runs an HPC application, and most of the time 1.5GB memory is allocated to the application running in the VM. Now I am trying to do is to pause VM-1 and VM-2. Save their respective states. Reduce their memory and cap CPU to lowest possible value; then to alloacate the taken resource from VM-1 and VM-2 to VM-3 for X amount of time. Once the application in VM-3 is finished, then I reduce it's CPU/Memory to pre-start stage and re-allocate 1CPU/2GB again to VM-1 and VM-2 My question is; would the application in VM-1 or VM-2 will be able to start executing from the last saved point. Is there a way in Xen to check-point this? Thanks, Omer ************************************** CERN, Engineering Department, CH-1211 Geneva 23, Switzerland Email: Omer.Khalid@cern.ch ************************************** --001485f870e238ebd704699ef5f8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Hi,

I am trying to understand= Xen's save VM state works.

I have use case where I am running = 3 VM's on a 4-core/8GB server with 1core/2GB per VM. Each of the VM run= s an HPC application, and most of the time 1.5GB memory is allocated to the= application running in the VM.

Now I am trying to do is to pause VM-1 and VM-2. Save their respective = states. Reduce their memory and cap CPU to lowest possible value; then to a= lloacate the taken resource from VM-1 and VM-2 to VM-3 for X amount of time= . Once the application in VM-3 is finished, then I reduce it's CPU/Memo= ry to pre-start stage and re-allocate 1CPU/2GB again to VM-1 and VM-2

My question is; would the application in VM-1 or VM-2 will be able to s= tart executing from the last saved point. Is there a way in Xen to check-po= int this?

Thanks,
Omer

*********************= ***************** =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0
CERN, Engineering Department,
CH-1211 Geneva 23, Switzerland
=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
Email:=C2=A0 Omer.Khalid@cern.c= h
**************************************

--001485f870e238ebd704699ef5f8-- --===============1358727912== 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 --===============1358727912==--