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


[Xen-users] HVM - where is domU memory assigned from?

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] HVM - where is domU memory assigned from?
From: James Dingwall <james.dingwall@xxxxxxxxxx>
Date: Thu, 12 May 2011 20:13:01 +0300
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Thu, 12 May 2011 10:14:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcwQx9lqCvhfarhuSne0lqh5e2hzuQ==
Thread-topic: HVM - where is domU memory assigned from?

I have noticed that when I start a domU HVM I seem to be losing memory from the 
dom0 _and_ from Xen free_memory pool.  For example if I start an HVM domU with 
1024Mb (memory = 1024, maxmem=1024) then I get a qemu process in the dom0 of 
around 1112 Mb reported in top and the free_memory reported by xm info also 
decreases.  If I shutdown the domU then the qemu process ends and the xm info 
output shows an increase.  Is the memory for the domU being allocated twice on 
the system or does the dom0 allocation somehow map on to the memory controlled 
by Xen?  I'm pretty sure the memory is being allocated from dom0 because 
starting a number of similar HVM instances leads to a lot of swap activity.

This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] HVM - where is domU memory assigned from?, James Dingwall <=