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

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

  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, <Xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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.


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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.