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] Memory allocation going seriously wonky on 4.1.1

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Memory allocation going seriously wonky on 4.1.1
From: Anthony Wright <anthony@xxxxxxxxxxxxxxx>
Date: Fri, 30 Sep 2011 16:07:06 +0100
Delivery-date: Fri, 30 Sep 2011 08:09:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2
I have a machine with 16GB of RAM running 32 bit xen 4.1.1 with Dom0
running a 3.0.4 linux kernel and 23 paravirtualized DomUs.

As the free ram gets to 2391 MB free the system behaves as if it's got
no more ram, and starts grabbing ram from Dom0, before getting even more
confused and failing to start DomUs and eventually crashing the whole
machine. I have attached a tarball with the output of xl dmesg, xl info
& xl list at various points.

Stage 1
Everything is fine, Dom0 has 2000MB according to xl list, and 'xl info'
says there is 2405MB free.

Stage 2
I have increased the memory for the DomU labelled 10-4 from 700MB to
1000MB, Dom0 has 1713MB and 'xl info' says there is 2391MB free.

Stage 3
I have tried to increase the memory for the DomU labelled 13-4 from
700MB to 1000MB, but it failed on the 'xl create' displaying the message
'failed to free memory for the domain'. Dom0 has 1413MB and 'xl info'
says there is 3391MB free.

State 4
I tried to create the 13-4 DomU again, and this time it succeeds. Dom0
has 1413MB and 'xl info' says there is 2391MB free.

If I repeatedly stop and start DomUs at this point, particularly if I
request more ram, the machine locks up. This may be due to lack of Dom0 ram.

Attachment: vm-memory-logs.tar.bz2
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Memory allocation going seriously wonky on 4.1.1, Anthony Wright <=