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] GPLPV memory ballooning and x32

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] GPLPV memory ballooning and x32
From: Aravindh Puthiyaparambil <aravindh@xxxxxxxxxx>
Date: Sun, 23 May 2010 23:19:43 -0700
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Sun, 23 May 2010 23:20:52 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=january; d=gogrid.com; h=Received:Received:From:To:Date:Subject:Thread-Topic:Thread-Index:Message-ID:References:In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach:X-MS-TNEF-Correlator:acceptlanguage:Content-Type:Content-Transfer-Encoding:MIME-Version; b=dr1NaS9abUa1H3m8475pncoByMs4GHknY/JV0zo9OEkueA+4qrt5f3G7yXSsGQId6JKy+JP4zel59CSR+xiX1NybeIs/IS2emJaOsTWMstj6iTYtH2N2I3rQz6I78ZQ2;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01996A3C@trantor>
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>
References: <AEC6C66638C05B468B556EA548C1A77D01996A1F@trantor> <C81EB380.14F46%keir.fraser@xxxxxxxxxxxxx> <D83C13F0C853364EB226DBEE584BBE614DAB25F3AC@xxxxxxxxxxxxxxxxxxxxxxxxxx>, <AEC6C66638C05B468B556EA548C1A77D01996A3C@trantor>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acr6V92rFAkNlE8LRFKIrcdQAdP+oAAAkIS8ABKC9RAADRNRsAALIEZw
Thread-topic: [Xen-devel] GPLPV memory ballooning and x32
Yes, I was only ballooning it down to 1G as a test. I wouldn't be doing that on 
a production system. I am now planning to try the GPLPV driver with Xen 3.4 / 
4.0.

Thanks,
Aravindh
________________________________________
From: James Harper [james.harper@xxxxxxxxxxxxxxxx]
Sent: Sunday, May 23, 2010 5:33 PM
To: Aravindh Puthiyaparambil; Keir Fraser; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] GPLPV memory ballooning and x32

>
> Keir,
>
> I am running on CentOS 5.4
> xen_major              : 3
> xen_minor              : 1
> xen_extra              : .2-194.3.1.el5
>
> I have memory=8G and maxmem=8G in my HVM config file and I am trying
balloon
> up and down between 1G and 8G. This works with x64 Windows. With x32 I
see the
> change only within Windows i.e. Free memory in task manager. Xentop
does not
> reflect the change. BTW, this is with the latest PV driver from James.

GPLPV will allocate the memory from Windows and try and give it to Xen,
but as Keir has said, that doesn't work in your configuration. GPLPV
doesn't detect this though so the memory is now basically leaked.

Additionally, I assume that you are creating an 8GB domain and
ballooning down to 1GB as a test. I doubt it's a good idea to balloon
that much in a production system. Windows sizes various parts of the
system based on the amount of physical memory, and may behave badly if
you tinker with that too much.

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