WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Xen save takes a long time

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Xen save takes a long time
From: "Jonathan Tripathy" <jonnyt@xxxxxxxxxxx>
Date: Mon, 28 Jun 2010 08:30:12 +0100
Cc:
Delivery-date: Mon, 28 Jun 2010 00:33:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4C27C744.8000409@xxxxxxxxxxx> <AANLkTimrmB0t17Gm6dkhAbBIHRSzGxWy581Q0XcGxxq9@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcsWWs2dDoaJ4fNPTtmXRS0nWVGGTAAOPEtf
Thread-topic: [Xen-users] Xen save takes a long time


 

On Mon, Jun 28, 2010 at 4:48 AM, Jonathan Tripathy <jonnyt@xxxxxxxxxxx> wrote:
> Hi Everyone,
>
> By default, when I shutdown my Xen host, the system will try and save every
> DomU. I currently only have one DomU in my Xen host, however this takes
> about 7 minutes to save. Since this system will eventually go in a colo
> facility, and will host tens of customer VMs, waiting that kind of time
> isn't an option.
>
> Can some please:
>
> a) Explain why the DomU takes so long to save? Is this normal? The DomU has
> just a small 3G LVM disk which has hardly been used

How much memory does it have? 4G? "xm save" involves saving domU's
memory to dom0's disk. You could monitor disk activity on dom0 using
"iostat -mx 3" (or whatever tool you like). If it shows 100% disk
utilization during domU save, then the bottleneck is your disk.

>
> b) Is it safe, in a hosting environment, to disable guest "saving" on Dom0
> shutdown, and just resort do guest "shutdown"?

That's what I do on my production systems.

--
Fajar

----------------------------------------------------------------------------------------------------------------------------------------
Hi Fajar, Thanks for your email.
 
The Guest that was trying to be saved only had 256MB of RAM, and a 3G hard disk (via LVM)


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>