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-devel

[Xen-devel] Re: [Pkg-xen-devel] Strange behavior when doing xm mem-set D

To: pkg-xen-devel@xxxxxxxxxxxxxxxxxxxxxxx, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [Pkg-xen-devel] Strange behavior when doing xm mem-set Domain-0 (was: Abnormal memory usage of dom0 under Squeeze leading to crash)
From: Thomas Goirand <thomas@xxxxxxxxxx>
Date: Wed, 23 Feb 2011 15:26:51 +0800
Cc:
Delivery-date: Tue, 22 Feb 2011 23:27:59 -0800
Dkim-signature: v=1; a=rsa-sha1; c=simple; d=goirand.fr; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; s=postfix; bh=G2G0qHuTu yu77rjhMzD43kMM1y0=; b=uRjTrlp9xX+Fdjp7rRIJHDYJZ1qjSKg8tz7eQ8y4V 9eySMqk0eULxfEeGMKvdecfPj/Ld4Ucrn2pl8uwSKP424b3XN6Py1SlxaQPiH3tk Ai+JjGrFlqGVr7Wl7W8wNRr32cOzAJ3ytqYeiCVuAtuJEoE8PbfJJMajuP91yuJQ 1w=
Domainkey-signature: a=rsa-sha1; c=simple; d=goirand.fr; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=postfix; b=mzl NTbTY7vyiuRvpQOFjx7huC0GsXNSA/Sv+RRKWeYeL862B5iiEC7OlFhjiymWwpIM 7LWgT8V24q1stFVqqQ6eIuashf0RnHpBcP6dCk3vy0QGX27lBHNXKlPpdB5RlHUv hAuE+1LN14fqYEhoOeZ76CwbbU30Jdm/oGIIJ+Gc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110203102935.GA28521@xxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Openpgp: id=98EF9A49
Organization: GPLHost
References: <4D4A3F0C.6040607@xxxxxxxxxx> <20110203083413.GA19326@xxxxxxxxxxxxxxxxxxxxxxx> <4D4A753E.7010106@xxxxxxxxxx> <20110203102935.GA28521@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Icedove/3.0.11
On 02/03/2011 06:29 PM, Bastian Blank wrote:
> On Thu, Feb 03, 2011 at 05:28:30PM +0800, Thomas Goirand wrote:
>> On 02/03/2011 04:34 PM, Bastian Blank wrote:
>>> Please provide all informations. xm dmesg, the kernel log, xm info.
>> How, if the server reboots when I do it?
> 
> Well, then remove the call and gather the information before breaking
> the system. For anything else, use a serial console.

With the same server, when I put:
GRUB_CMDLINE_XEN_DEFAULT="dom0_mem=512M"
in my /etc/default/grub, the dom0 is fine, running on 501 MB of RAM. If
I don't put this option, then shrink from something like 8 GB (the
server has 12 GB total) to bellow 800, it crashes, with no memory to
release. That's strange, because with 512 MB to the dom0, only 180M is
used, while when I give above 1GB, there's about 800MB of "used RAM",
and it can't be freed.

Any idea why it's ok to boot with 512MB on the dom0, but not ok to
mem-set Domain-0 to it? To me, it seems more a Linux issue than a Xen one...

Thomas

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