All of lore.kernel.org
 help / color / mirror / Atom feed
From: ANNIE LI <annie.li@oracle.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: Xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Balloon down memory failed in x86 PAE mode when memory size>4G
Date: Mon, 21 Sep 2009 18:14:07 +0800	[thread overview]
Message-ID: <4AB751EF.4070108@oracle.com> (raw)
In-Reply-To: <C6DD0E7B.15340%keir.fraser@eu.citrix.com>


[-- Attachment #1.1: Type: text/plain, Size: 1258 bytes --]


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

[-- Attachment #1.2: Type: text/html, Size: 1690 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

  reply	other threads:[~2009-09-21 10:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-21  6:42 Balloon down memory failed in x86 PAE mode when memory size>4G ANNIE LI
2009-09-21  8:58 ` Keir Fraser
2009-09-21  9:15   ` ANNIE LI
2009-09-21  9:25     ` Paul Durrant
2009-09-21  9:41       ` ANNIE LI
2009-09-21  9:58         ` Paul Durrant
2009-09-21 10:05     ` Keir Fraser
2009-09-21 10:14       ` ANNIE LI [this message]
2009-09-22  3:25         ` ANNIE LI

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AB751EF.4070108@oracle.com \
    --to=annie.li@oracle.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.