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

Re: [Xen-devel] Balloon down memory failed in x86 PAE mode when memory s

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Balloon down memory failed in x86 PAE mode when memory size>4G
From: ANNIE LI <annie.li@xxxxxxxxxx>
Date: Mon, 21 Sep 2009 17:15:32 +0800
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 21 Sep 2009 02:18:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C6DCFEC6.AE19%keir.fraser@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/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>
Organization: Oracle Corporation
References: <C6DCFEC6.AE19%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)
My xen version is Xen3.4.0, and i use el5u2 pvhvm to have test.
The memory size is 6114.  "xm info" dose not show any change on free_memory after command "xm mem-set domid 4096". It seems free_memory will change after i set memory size less than 3083M,  such as: free memory will increase 1 after command "xm mem-set domid 3082".

The vm configure file is following:

name = "OVM_EL5U2_X86_PVHVM_4GB"
builder = "hvm"
memory = "6114"
disk = [ 'file:/mnt/running_pool/OVM_EL5U2_X86_PVHVM_4GB/System.img,hda,w', ]
vif = [ 'type=netfront', ]
device_model = "/usr/lib/xen/bin/qemu-dm"
kernel = "/usr/lib/xen/boot/hvmloader"
vnc=1
vncunused=1
vnclisten = '0.0.0.0'
timer_mode=0
apic=1
acpi=1
pae=1
vcpus=1
serial = "pty" # enable serial console
on_reboot   = 'restart'
on_crash    = 'restart'

Thanks
Annie.

Keir Fraser wrote:
We'd expect it to work. Please provide more details.

 -- Keir

On 21/09/2009 07:42, "ANNIE LI" <annie.li@xxxxxxxxxx> wrote:

  
Hi

I implemented balloon in windows pv driver, it works normally on x86 and
x64 OS.
However, i hit problem to balloon down memory on x86 PAE mode VM when
it's memory
size is larger than 4G.

Furthermore, i tested linux PVHVM too. Balloon driver also failed to
take effect
at the same situation.

So, is there anything missed in windows or linux PV driver when
ballooning down
memory on x86 PAE VM(memory>4G)? or is there a limitation in Xen for PAE
mode?

Thanks
Annie.

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



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