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

Re: [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.


Xen-users mailing list



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