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 18:14:07 +0800
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 21 Sep 2009 03:14:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C6DD0E7B.15340%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: <C6DD0E7B.15340%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".
    

And this is the exact same behaviour you see in a PAE Linux HVM guest with
PV drivers also? It's weird, seems like maybe for some reason the balloon
driver thinks the guest has 3083M and therefore doesn't balloon down until
it sees a target lower than that, and even then only by the difference
between 3083M and the target.

I suggest you add tracing to your PV drivers and see what the balloon driver
thinks is going on. This configuration really should work, so hopefully only
something simple and stupid is going wroing.
Sorry the false alarm.
The linux template el5u2 i use can not manage memory larger than 4G even if i set the
6G memory and PAE mode in vm configure file, because CONFIG_HIGHMEM4G is set
when compiling the OS kernel.

I did more test on el4u8 with CONFIG_HIGHMEM64G enabled, balloon works correctly.

I will check the windows pv driver again.

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