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-devel] Re: [Xen-users] Re: Xen 3.1 released!

To: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-users] Re: Xen 3.1 released!
From: Tomasz Chmielewski <mangoo@xxxxxxxx>
Date: Fri, 25 May 2007 15:20:05 +0200
Cc: "Petersson, Mats" <Mats.Petersson@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 25 May 2007 06:18:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C27C9D9F.F84E%keir@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C27C9D9F.F84E%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061110 Mandriva/1.5.0.8-1mdv2007.1 (2007.1) Thunderbird/1.5.0.8 Mnenhy/0.7.4.666
Keir Fraser schrieb:


On 25/5/07 13:57, "Tomasz Chmielewski" <mangoo@xxxxxxxx> wrote:

I inspected the logs, and it was the OOM-killer. Should it ever happen
when saving a guest domain? Xen host has 256 MB RAM for dom0 (3 GB
total), Xen guest 1.7 GB.
It appears that saving of HVM somains needs more memory: in this
particular case, when I increased memory for dom0, about 350 MB RAM was
used in total during the domain save.
That's kind of surprising, but I guess totally plausible if you don't
configure a swap partition for dom0?
No - dom0 has a 2 GB swap partition.

Hmmm... That's not so explicable. Obviously something in save/restore is
causing unpageable allocations to happen. Could be pagetables for mappings
of HVM guest memory, or something like that. Needs investigating further, I
think.

Could be.

Now that I repeated the save/restore a couple of times, total RAM usage for dom0 jumps to ~700 MB sometimes during domain save (dom0 has now about 2.3 GB RAM, domU has 1.7 GB RAM; 4 GB RAM installed now in the machine).


--
Tomasz Chmielewski
http://wpkg.org

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel