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/
Home Products Support Community News


RE: [Xen-devel] out-of-memory problem whenrestoringballooneddomains

To: "Lars Rasmusson" <Lars.Rasmusson@xxxxxx>
Subject: RE: [Xen-devel] out-of-memory problem whenrestoringballooneddomains
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 10 Mar 2005 23:52:52 -0000
Cc: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, "xen-devel" <Xen-devel@xxxxxxxxxxxxxxxxxxxxx>, "Mark Williamson" <Mark.Williamson@xxxxxxxxxxxx>, <ian.pratt@xxxxxxxxxxxx>, <ian.pratt@xxxxxxxxxxxx>
Delivery-date: Fri, 11 Mar 2005 01:20:52 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcUlydIvDpQJIYG9SpW8X5cuz/RW8gAARrdg
Thread-topic: [Xen-devel] out-of-memory problem whenrestoringballooneddomains
> I think the relevant part from the log is this.
> xc_linux_restore start
> Could not create domain. pfns=460800, 1843200KB
> Could not create domain. pfns=460800, 1843200KB
> 4526 [INF] XFRD> Xfr service err=1

Hmm, yes. On restore we allocate the maximum amount of memory the domain
is allowed to have, and then balloon it down once the memory image has
been restored.

For a save/restore this is pretty easy to fix, but it's a little bit
awkward for migration where the domain keeps running, and could
potentially be expanding its memory requirements during the migration. 

I think we'll have to modify xc_resume to lazily allocate memory on
demand rather than the current conservative approach.

We'll look into fixing this in the unstable tree.


SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [Xen-devel] out-of-memory problem whenrestoringballooneddomains, Ian Pratt <=